ListViewBase.DragItemsCompleted Event

Definition

Occurs when a drag operation that involves one of the items in the view is ended.

Equivalent WinUI event: Microsoft.UI.Xaml.Controls.ListViewBase.DragItemsCompleted.

// Register
event_token DragItemsCompleted(TypedEventHandler<ListViewBase, DragItemsCompletedEventArgs const&> const& handler) const;

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

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

Event Type

TypedEventHandler<ListViewBase,DragItemsCompletedEventArgs>

Remarks

Important

In order to receive this event, the CanDragItems property must be set to true.

Applies to

See also