Freigeben über


TreeView.DragItemsCompleted Ereignis

Definition

Tritt auf, wenn ein Ziehvorgang, der eines der Elemente in der Ansicht umfasst, beendet wird.

// Register
event_token DragItemsCompleted(TypedEventHandler<TreeView, TreeViewDragItemsCompletedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
TreeView::DragItemsCompleted_revoker DragItemsCompleted(auto_revoke_t, TypedEventHandler<TreeView, TreeViewDragItemsCompletedEventArgs const&> const& handler) const;
public event TypedEventHandler<TreeView,TreeViewDragItemsCompletedEventArgs> DragItemsCompleted;
function onDragItemsCompleted(eventArgs) { /* Your code */ }
treeView.addEventListener("dragitemscompleted", onDragItemsCompleted);
treeView.removeEventListener("dragitemscompleted", onDragItemsCompleted);
- or -
treeView.ondragitemscompleted = onDragItemsCompleted;
Public Custom Event DragItemsCompleted As TypedEventHandler(Of TreeView, TreeViewDragItemsCompletedEventArgs) 
<TreeView DragItemsCompleted="eventhandler"/>

Ereignistyp

Hinweise

Um dieses Ereignis zu empfangen, legen Sie die CanDragItems-Eigenschaft auf true fest.

Gilt für: