共用方式為


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

事件類型

適用於