Thumb.DragStarted Event


Fires when a Thumb control receives logical focus and mouse capture.

// Register
event_token DragStarted(DragStartedEventHandler const& handler) const;

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

// Revoke with event_revoker
Thumb::DragStarted_revoker DragStarted(auto_revoke_t, DragStartedEventHandler const& handler) const;
public event DragStartedEventHandler DragStarted;
function onDragStarted(eventArgs) { /* Your code */ }
thumb.addEventListener("dragstarted", onDragStarted);
thumb.removeEventListener("dragstarted", onDragStarted);
- or -
thumb.ondragstarted = onDragStarted;
Public Custom Event DragStarted As DragStartedEventHandler 
<Thumb DragStarted="eventhandler"/>

Event Type


Applies to