Dela via


MediaPlayer.TimelineController Property

Definition

Gets or sets the MediaTimelineController associated with the MediaPlayer. Use this property to manipulate multiple MediaPlayer instances with a single timeline control.

public:
 property MediaTimelineController ^ TimelineController { MediaTimelineController ^ get(); void set(MediaTimelineController ^ value); };
MediaTimelineController TimelineController();

void TimelineController(MediaTimelineController value);
public MediaTimelineController TimelineController { get; set; }
var mediaTimelineController = mediaPlayer.timelineController;
mediaPlayer.timelineController = mediaTimelineController;
Public Property TimelineController As MediaTimelineController

Property Value

The MediaTimelineController associated with the MediaPlayer.

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Applies to