Class TreeViewItemDroppedEventArgs
Represents the class that provides the data for the ItemDropped event.
Inheritance
System.Object
TreeViewItemDroppedEventArgs
Namespace: Syncfusion.UI.Xaml.TreeView
Assembly: Syncfusion.TreeView.WinUI.dll
Syntax
public class TreeViewItemDroppedEventArgs : EventArgs
Constructors
TreeViewItemDroppedEventArgs()
Initializes a new instance of the TreeViewItemDroppedEventArgs class.
Declaration
public TreeViewItemDroppedEventArgs()
Properties
Data
Gets the data object that contains the data associated while dragging the items.
Declaration
public DataPackageView Data { get; }
Property Value
Type |
---|
Windows.ApplicationModel.DataTransfer.DataPackageView |
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.
DraggingNodes
Gets the collection of TreeViewNode which are dragged.
Declaration
public ObservableCollection<TreeViewNode> DraggingNodes { get; }
Property Value
Type |
---|
System.Collections.ObjectModel.ObservableCollection<TreeViewNode> |
DragSource
Gets the reference to the dependency object that is the source of the transferred data.
Declaration
public object DragSource { get; }
Property Value
Type |
---|
System.Object |
DropPosition
Gets a value indicating the position where dragged nodes are going to be dropped.
Declaration
public DropPosition DropPosition { get; }
Property Value
Type |
---|
DropPosition |
TargetNode
Gets the node where the dragged items are going to be dropped.
Declaration
public TreeViewNode TargetNode { get; }
Property Value
Type |
---|
TreeViewNode |