Time

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets the time at which a TimelineMarker is reached.

<object Time="TimeSpan"  .../>
value = object.Time
object.Time = value

Property Value

Type: TimeSpan

The time at which the TimelineMarker is reached.

This property is read/write. The default value is null.

Managed Equivalent

Time

Remarks

The string format for specifying a TimeSpan is [days.]hours:minutes:seconds[.fractionalSeconds].

The XAML syntax for TimelineMarker is mainly relevant only for a CreateFromXaml scenario. Populating the initial .Markers collection in XAML is permitted by the parser, but it has no effect because the .Markers collection is specific to a media source instead of a MediaElement. For details, see TimelineMarker.

Applies To

TimelineMarker

See Also

Reference