Skip to main content

TreeDataGridRowDragEventArgs Class

Definition

Assembly:Avalonia.Controls.TreeDataGrid
Package:Avalonia.Controls.TreeDataGrid
public class TreeDataGridRowDragEventArgs

Inheritance: EventArgs -> RoutedEventArgs -> TreeDataGridRowDragEventArgs

Constructors

NameDescription
TreeDataGridRowDragEventArgsInitializes a new instance of the Avalonia.Controls.TreeDataGridRowDragEventArgs class.

TreeDataGridRowDragEventArgs Constructor

Initializes a new instance of the Avalonia.Controls.TreeDataGridRowDragEventArgs class.

public TreeDataGridRowDragEventArgs(Avalonia.Interactivity.RoutedEvent routedEvent, Avalonia.Controls.Primitives.TreeDataGridRow row, Avalonia.Input.DragEventArgs inner)

Parameters

routedEvent Avalonia.Interactivity.RoutedEvent

The event being raised.

row Avalonia.Controls.Primitives.TreeDataGridRow

The row that is being dragged over.

inner Avalonia.Input.DragEventArgs

The inner drag event args.

Properties

NameDescription
InnerGets the Avalonia.Input.DragEventArgs that describes the drag/drop operation.
PositionGets or sets a value indicating the how the data should be dropped into the Avalonia.Controls.TreeDataGridRowDragEventArgs.TargetRow.
TargetRowGets the row being dragged over.
HandledGets or sets a value indicating whether the routed event has already been handled. Inherited from RoutedEventArgs.
RouteGets or sets the routing strategy (direct, bubbling, or tunneling) of the routed event. Inherited from RoutedEventArgs.
RoutedEventGets or sets the routed event associated with these event args. Inherited from RoutedEventArgs.
SourceGets or sets the source object that raised the routed event. Inherited from RoutedEventArgs.

Inner Property

Gets the Avalonia.Input.DragEventArgs that describes the drag/drop operation.

public Avalonia.Input.DragEventArgs Inner { get; set; }

Position Property

Gets or sets a value indicating the how the data should be dropped into the Avalonia.Controls.TreeDataGridRowDragEventArgs.TargetRow.

public Avalonia.Controls.TreeDataGridRowDropPosition Position { get; set; }

Remarks

For drag operations, the value of this property controls the adorner displayed when dragging. For drop operations, controls the final location of the drop.

TargetRow Property

Gets the row being dragged over.

public Avalonia.Controls.Primitives.TreeDataGridRow TargetRow { get; set; }