Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

MediaTimelineController.PositionChanged Event

Definition

Namespace:
Windows.Media

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.

Occurs when the position of the MediaTimelineController changes.

// Register
event_token PositionChanged(TypedEventHandler<MediaTimelineController, IInspectable const&> const& handler) const;

// Revoke with event_token
void PositionChanged(event_token const* cookie) const;

// Revoke with event_revoker
MediaTimelineController::PositionChanged_revoker PositionChanged(auto_revoke_t, TypedEventHandler<MediaTimelineController, IInspectable const&> const& handler) const;
public event TypedEventHandler<MediaTimelineController,object> PositionChanged;
function onPositionChanged(eventArgs) { /* Your code */ }
mediaTimelineController.addEventListener("positionchanged", onPositionChanged);
mediaTimelineController.removeEventListener("positionchanged", onPositionChanged);
- or -
mediaTimelineController.onpositionchanged = onPositionChanged;
Public Custom Event PositionChanged As TypedEventHandler(Of MediaTimelineController, Object) 

Event Type

Remarks

This event is raised by the system several times per second while the position of the MediaTimelineController is changing.

Applies to


Feedback

Was this page helpful?