TreeDataGridRowDragEventArgs Class
Definition
Provides data for the Avalonia.Controls.TreeDataGrid.RowDragOver and Avalonia.Controls.TreeDataGrid.RowDrop events.
public class TreeDataGridRowDragEventArgs
Constructors
| Name | Description |
|---|---|
| TreeDataGridRowDragEventArgs | Initializes 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
| Name | Description |
|---|---|
| Inner | Gets the Avalonia.Input.DragEventArgs that describes the drag/drop operation. |
| Position | Gets or sets a value indicating the how the data should be dropped into the Avalonia.Controls.TreeDataGridRowDragEventArgs.TargetRow. |
| TargetRow | Gets the row being dragged over. |
| Handled | Gets or sets a value indicating whether the routed event has already been handled. Inherited from RoutedEventArgs. |
| Route | Gets or sets the routing strategy (direct, bubbling, or tunneling) of the routed event. Inherited from RoutedEventArgs. |
| RoutedEvent | Gets or sets the routed event associated with these event args. Inherited from RoutedEventArgs. |
| Source | Gets 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; }