共用方式為


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) 

事件類型

備註

重要

若要接收此事件, CanDragItems 屬性必須設定為 true

適用於

另請參閱