共用方式為


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 引進)

適用於