Delen via


MediaTimelineController.Position Property

Definition

Gets or sets the current position of the MediaTimelineController.

public:
 property TimeSpan Position { TimeSpan get(); void set(TimeSpan value); };
TimeSpan Position();

void Position(TimeSpan value);
public System.TimeSpan Position { get; set; }
var timeSpan = mediaTimelineController.position;
mediaTimelineController.position = timeSpan;
Public Property Position As TimeSpan

Property Value

The current position of the MediaTimelineController.

Remarks

To receive periodic notifications when the timeline controller's position changes, handle the PositionChanged event.

Applies to