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 的新父级。

适用于

另请参阅