Class ItemDraggingEventArgs
Provides data for the ItemDragging event.
Inheritance
System.Object
ItemDraggingEventArgs
Namespace: Syncfusion.Maui.TreeView
Assembly: Syncfusion.Maui.TreeView.dll
Syntax
public class ItemDraggingEventArgs : CancelEventArgs
Constructors
ItemDraggingEventArgs()
Declaration
public ItemDraggingEventArgs()
Properties
Action
Gets the action associated with the drag operation.
Declaration
public DragAction Action { get; }
Property Value
Type |
---|
DragAction |
DraggingNodes
Gets the list of tree view nodes being dragged.
Declaration
public List<TreeViewNode> DraggingNodes { get; }
Property Value
Type |
---|
System.Collections.Generic.List<TreeViewNode> |
DropPosition
Gets the position where the dragged nodes will be dropped relative to the target node.
Declaration
public Nullable<DropPosition> DropPosition { get; }
Property Value
Type |
---|
System.Nullable<DropPosition> |
Handled
Gets or sets a value indicating whether to handle the item dragging.
Declaration
public bool Handled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | True to prevent item dragging; false to allow dragging. |
Remarks
This property applies only to the drag action Dragging. If set to true, the dragging operation will not occur.
Position
Gets the touch position when performing drag-and-drop operations, relative to the SfTreeView.
Declaration
public Point Position { get; }
Property Value
Type |
---|
Microsoft.Maui.Graphics.Point |
TargetNode
Gets the target tree view node where the dragged items will be dropped.
Declaration
public TreeViewNode TargetNode { get; }
Property Value
Type |
---|
TreeViewNode |