共用方式為


TreeViewDragItemsCompletedEventArgs 類別

定義

提供 TreeView.DragItemsCompleted 事件的事件數據。

public ref class TreeViewDragItemsCompletedEventArgs sealed
/// [Microsoft.UI.Xaml.CustomAttributes.MUXContractProperty(version=7)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Version(1)]
class TreeViewDragItemsCompletedEventArgs final
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.XamlContract, 65536)]
class TreeViewDragItemsCompletedEventArgs final
[Microsoft.UI.Xaml.CustomAttributes.MUXContractProperty(version=7)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Version(1)]
public sealed class TreeViewDragItemsCompletedEventArgs
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.XamlContract), 65536)]
public sealed class TreeViewDragItemsCompletedEventArgs
Public NotInheritable Class TreeViewDragItemsCompletedEventArgs
繼承
Object Platform::Object IInspectable TreeViewDragItemsCompletedEventArgs
屬性
Microsoft.UI.Xaml.CustomAttributes.MUXContractPropertyAttribute MarshalingBehaviorAttribute VersionAttribute ContractVersionAttribute

範例

提示

如需詳細資訊、設計指引和程式代碼範例,請參閱 TreeView

WinUI 3 資源庫應用程式包含大部分 WinUI 3 控制件、特性和功能的互動式範例。 從 Microsoft Store 取得應用程式,或在 GitHub 上取得原始程式碼。

屬性

DropResult

取得值,這個值表示在拖曳的數據上執行了哪些作業,以及它是否成功。

Items

取得為專案拖曳動作選取之物件的鬆散類型集合。

NewParentItem

取得 TreeViewItem 的新父代。

適用於

另請參閱