Type Property

Gets or sets the type of this TimelineMarker.

XAML
<object Type="string" .../>
Scripting
value = object.Type
object.Type = value

Property Value

string

A string that describes the type of this TimelineMarker.

This property is read/write. The default value is an empty string.

Remarks

When this TimelineMarker represents a Windows Media marker, this property is set to "Name." When this TimelineMarker represents a script command, this property contains the value of its "Type" field.

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

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

Applies To

TimelineMarker

See Also

Media Overview
MediaElement