DragDropRows(ITreeDataGridSource, IEnumerable, IndexPath, TreeDataGridRowDropPosition, DragDropEffects) Method

Definition

Assembly Avalonia.Controls.TreeDataGrid.dll

Executes a row drag/drop operation.

void DragDropRows(ITreeDataGridSource source, IEnumerable<IndexPath> indexes, IndexPath targetIndex, TreeDataGridRowDropPosition position, DragDropEffects effects)

Parameters

source
ITreeDataGridSource

The source of the dragged rows.

indexes
IEnumerable<IndexPath>

The model indexes of the rows being dragged.

targetIndex
IndexPath

The model index of the drop target.

position
TreeDataGridRowDropPosition

The position relative to the drop target.

effects
Avalonia.Input.DragDropEffects

The requested drop effects.