Thumb.DragCompleted 事件

定义

当 Thumb 控件失去鼠标捕获时触发。

// Register
event_token DragCompleted(DragCompletedEventHandler const& handler) const;

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

// Revoke with event_revoker
Thumb::DragCompleted_revoker DragCompleted(auto_revoke_t, DragCompletedEventHandler const& handler) const;
public event DragCompletedEventHandler DragCompleted;
function onDragCompleted(eventArgs) { /* Your code */ }
thumb.addEventListener("dragcompleted", onDragCompleted);
thumb.removeEventListener("dragcompleted", onDragCompleted);
- or -
thumb.ondragcompleted = onDragCompleted;
Public Custom Event DragCompleted As DragCompletedEventHandler 
<Thumb DragCompleted="eventhandler"/>

事件类型

适用于