TreeViewDragItemsStartingEventArgs Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides event data for the TreeView.DragItemsStarting event.
Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.TreeViewDragItemsStartingEventArgs (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).
public ref class TreeViewDragItemsStartingEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class TreeViewDragItemsStartingEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class TreeViewDragItemsStartingEventArgs
Public NotInheritable Class TreeViewDragItemsStartingEventArgs
- Inheritance
- 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
Cancel |
Gets or sets a value that indicates whether the item drag action should be canceled. Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.TreeViewDragItemsStartingEventArgs.Cancel (for WinUI in the Windows App SDK, see the Windows App SDK namespaces). |
Data |
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). |
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.TreeViewDragItemsStartingEventArgs.Items (for WinUI in the Windows App SDK, see the Windows App SDK namespaces). |