Skip to main content

TreeDataGridRowDropPosition Enum

Definition

Assembly:Avalonia.Controls.TreeDataGrid
Package:Avalonia.Controls.TreeDataGrid

Specifies the position where a dragged row should be dropped relative to the target row.

public enum TreeDataGridRowDropPosition

Inheritance: 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

NameDescription
AfterThe row should be dropped after (below) the target row.
BeforeThe row should be dropped before (above) the target row.
InsideThe row should be dropped as a child of the target row.
NoneNo 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