Bagikan melalui


Thumb.DragStarted Kejadian

Definisi

Menembak ketika kontrol Jempol menerima fokus logis dan penangkapan mouse.

// 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"/>

Jenis Acara

Berlaku untuk