MediaTimelineController.Duration Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value indicating the duration of the timeline. After the specified time span has elapsed, the timeline clock will no longer progress.
public:
property IReference<TimeSpan> ^ Duration { IReference<TimeSpan> ^ get(); void set(IReference<TimeSpan> ^ value); };
IReference<TimeSpan> Duration();
void Duration(IReference<TimeSpan> value);
public System.Nullable<System.TimeSpan> Duration { get; set; }
var iReference = mediaTimelineController.duration;
mediaTimelineController.duration = iReference;
Public Property Duration As Nullable(Of TimeSpan)
Property Value
A value indicating the duration of the timeline.
Windows requirements
Device family |
Windows 10 Creators Update (introduced in 10.0.15063.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v4.0)
|
Remarks
The Ended event is raised when the timeline controller reaches the end of the Duration time window.