Class TreeViewItemDragStartingEventArgs
Represents the class that provides the data for the ItemDragStarting event.
Inheritance
System.Object
TreeViewItemDragStartingEventArgs
Namespace: Syncfusion.UI.Xaml.TreeView
Assembly: Syncfusion.TreeView.WinUI.dll
Syntax
public class TreeViewItemDragStartingEventArgs : EventArgs
Constructors
TreeViewItemDragStartingEventArgs()
Initializes a new instance of the TreeViewItemDragStartingEventArgs class.
Declaration
public TreeViewItemDragStartingEventArgs()
Properties
Cancel
Gets or sets a value indicating whether dragging should be canceled.
Declaration
public bool Cancel { get; set; }
Property Value
Type |
---|
System.Boolean |
Data
Gets or sets the data object that contains the data associated while dragging the items.
Declaration
public DataPackage Data { get; set; }
Property Value
Type |
---|
Windows.ApplicationModel.DataTransfer.DataPackage |
Remarks
This data has the two values named Source and Nodes. Source is the object where the dragged data is from. Nodes is the ObservableCollection TreeViewNode which are dragged.If you set the Data property, the value of DraggingNodes property will be null.
DraggingNodes
Gets the collection of TreeViewNode which are dragged.If you set the Data property, the value of DraggingNodes property will be null.
Declaration
public ObservableCollection<TreeViewNode> DraggingNodes { get; }
Property Value
Type |
---|
System.Collections.ObjectModel.ObservableCollection<TreeViewNode> |