共用方式為


TreeView.DragItemsCompleted 事件

定義

發生于包含檢視中其中一個專案的拖曳作業結束時。

本檔適用于 Windows 應用程式 SDK 中適用于 WinUI 的 WinUI 2 for UWP (,請參閱Windows 應用程式 SDK命名空間) 。

// 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;
Public Custom Event DragItemsCompleted As TypedEventHandler(Of TreeView, TreeViewDragItemsCompletedEventArgs) 
<TreeView DragItemsCompleted="eventhandler"/>

事件類型

備註

若要接收此事件,請將 CanDragItems 屬性設定為 true

適用於