-api-id | -api-type | ms.custom |
---|---|---|
P:Windows.UI.Xaml.Controls.TreeViewDragItemsStartingEventArgs.Data |
winrt property |
RS5 |
Gets the data payload associated with an items drag action.
Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.TreeViewDragItemsStartingEventArgs.Data (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).
The data payload.
By default the data is empty. When you perform custom actions as the result of a drag-and-drop operation, you typically provide custom data that can later be inspected and used to perform the custom action.