Thumb.DragStarted 事件

定义

Thumb 控件接收逻辑焦点和鼠标捕获时触发。

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

事件类型

适用于