Skip to main content

DragInfo Class

Definition

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

Holds information about an automatic row drag/drop operation carried out by Avalonia.Controls.TreeDataGrid.AutoDragDropRows.

public class DragInfo

Inheritance: object -> DragInfo

Constructors

NameDescription
DragInfoNo summary available.

DragInfo Constructor

public DragInfo(Avalonia.Controls.ITreeDataGridSource source, System.Collections.Generic.IEnumerable<Avalonia.Controls.IndexPath> indexes)

Parameters

source Avalonia.Controls.ITreeDataGridSource

indexes System.Collections.Generic.IEnumerable<Avalonia.Controls.IndexPath>

Properties

NameDescription
IndexesGets or sets the model indexes of the rows being dragged.
SourceGets the Avalonia.Controls.ITreeDataGridSource that rows are being dragged from.

Indexes Property

Gets or sets the model indexes of the rows being dragged.

public System.Collections.Generic.IEnumerable<Avalonia.Controls.IndexPath> Indexes { get; set; }

Source Property

Gets the Avalonia.Controls.ITreeDataGridSource that rows are being dragged from.

public Avalonia.Controls.ITreeDataGridSource Source { get; set; }

Fields

NameDescription
DataFormatDefines the data format in an Avalonia.Input.IDataObject.

DataFormat Field

Defines the data format in an Avalonia.Input.IDataObject.

public string DataFormat