ListViewBase.DragItemsCompleted 事件
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
發生于包含檢視中其中一個專案的拖曳作業結束時。
// 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
。