Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 1.07 KB

mediaelement_markerreached.md

File metadata and controls

33 lines (20 loc) · 1.07 KB
-api-id -api-type
E:Windows.UI.Xaml.Controls.MediaElement.MarkerReached
winrt event

Windows.UI.Xaml.Controls.MediaElement.MarkerReached

-description

Occurs when a timeline marker is encountered during media playback.

-xaml-syntax

<MediaElement MarkerReached="eventhandler"/>

-remarks

-examples

The following example creates a MediaElement object and responds to its MarkerReached event. Each time a timeline marker is reached, the example displays the timeline marker's Time, Type, and Text values.

[!code-xamlTimelineMarkerXAML]

[!code-csharpTimelineMarker]

-see-also