Gets or sets the current position of progress through the media's playback time.
Assembly: System.Windows (in System.Windows.dll)
Dependency property identifier field: PositionProperty
Use this property to set to a specific position within the media. This property is settable, rather than there being a specific MediaElement.Seek method.
If the media does not support seek operations (which is the case for live streaming media), setting this property will have no effect on media playback. Check the value of CanSeek before attempting to set .
If is settable, then the following run-time value constraints apply:
If is set to a negative value, the value will revert to a TimeSpan with value 0:0:0.
XAML usage for this property is not shown. You generally should not set this value in XAML, because until the media source is loaded there is no guarantee that the media can be positioned (it could be streaming, and therefore cannot be positioned). After MediaOpened is raised, check the value of CanSeek. If it is true, then the media can be positioned, and then you can set in code. XAML usage is technically possible however, and can be set using an attribute string in the format [days.]hours:minutes:seconds[.fractionalSeconds]. See BufferingTime for further guidance on the XAML grammar for timespans; a is parsed by the same methodology.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.