TimelineMarkerCollection Object

Represents a collection of TimelineMarker objects.

XAML
Cannot be used in XAML
Scripting
See Remarks.

Properties

Count, Name

Methods

Add, Clear, Equals, FindName, GetHost, GetItem, GetValue, Insert, Remove, RemoveAt, SetValue

Remarks

You cannot set the TimelineMarkerCollection in initial XAML, or with the XAML used for CreateFromXAML. Instead, you either embed the timeline markers in the media itself, or add them with script after the media is opened, as described in Media Overview.

Changing the collection with script does not affect the embedded markers that exist in the media file, it only adjusts the current MediaElement representation of the collection of timeline markers.

See Also

Media Overview
MediaElement
TimelineMarker