Partager via


Type

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

Gets or sets the marker type of a TimelineMarker.

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

Property Value

Type: string

A string that describes the type of this TimelineMarker.

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

Managed Equivalent

Type

Remarks

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

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 more information, see TimelineMarker.

Applies To

TimelineMarker

See Also

Reference