TreeDataGridRowDropPosition Enum
Definition
Specifies the position where a dragged row should be dropped relative to the target row.
public enum TreeDataGridRowDropPosition
Remarks
This enum is used during drag and drop operations in Avalonia.Controls.TreeDataGrid to indicate where a dragged row should be positioned in relation to the target row.
Fields
| Name | Description |
|---|---|
| After | The row should be dropped after (below) the target row. |
| Before | The row should be dropped before (above) the target row. |
| Inside | The row should be dropped as a child of the target row. |
| None | No drop position is specified or the drop operation is not allowed. |
After Field
The row should be dropped after (below) the target row.
public Avalonia.Controls.TreeDataGridRowDropPosition After
Before Field
The row should be dropped before (above) the target row.
public Avalonia.Controls.TreeDataGridRowDropPosition Before
Inside Field
The row should be dropped as a child of the target row.
public Avalonia.Controls.TreeDataGridRowDropPosition Inside
Remarks
This option is only meaningful for hierarchical data structures. When used, the dragged row becomes a child node of the target row.
None Field
No drop position is specified or the drop operation is not allowed.
public Avalonia.Controls.TreeDataGridRowDropPosition None