MediaPlayer.TimelineController 属性

定义

获取或设置与 MediaPlayer 关联的 MediaTimelineController。 使用此属性可以使用单个时间线控件操作多个 MediaPlayer 实例。

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

属性值

MediaPlayer 关联的 MediaTimelineController

Windows 要求

设备系列
Windows 10 Anniversary Edition (在 10.0.14393.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v3.0 中引入)

适用于