Share via


Text Property (TimelineMarker)

Gets or sets the text value of this TimelineMarker.

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

Property Value

string

The text value 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 contains the value of its "Name" field. When this TimelineMarker represents a script command, this property contains the value of its "Param" field.

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