Share via


TreeViewDragItemsCompletedEventArgs Class

Definition

Provides event data for the TreeView.DragItemsCompleted event.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.TreeViewDragItemsCompletedEventArgs (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

public ref class TreeViewDragItemsCompletedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class TreeViewDragItemsCompletedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class TreeViewDragItemsCompletedEventArgs
Public NotInheritable Class TreeViewDragItemsCompletedEventArgs
Inheritance
Object Platform::Object IInspectable TreeViewDragItemsCompletedEventArgs
Attributes

Windows requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.0)

Properties

DropResult

Gets a value that indicates what operation was performed on the dragged data, and whether it was successful.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.TreeViewDragItemsCompletedEventArgs.DropResult (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

Items

Gets the loosely typed collection of objects that are selected for the item drag action.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.TreeViewDragItemsCompletedEventArgs.Items (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

Applies to

See also