Skip to main content

CellIndex Struct

Definition

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

Represents a cell in a Avalonia.Controls.TreeDataGrid.

public struct CellIndex

Inheritance: ValueType -> CellIndex

Implements: IEquatable<CellIndex>

Constructors

NameDescription
CellIndexRepresents a cell in a Avalonia.Controls.TreeDataGrid.

CellIndex Constructor

Represents a cell in a Avalonia.Controls.TreeDataGrid.

public CellIndex(int ColumnIndex, Avalonia.Controls.IndexPath RowIndex)

Parameters

ColumnIndex int

The index of the cell in the Avalonia.Controls.TreeDataGrid.Columns collection.

RowIndex Avalonia.Controls.IndexPath

The hierarchical index of the row model in the data source.

Methods

NameDescription
DeconstructNo summary available.
Equals (2 overloads)No summary available.
GetHashCodeNo summary available.
ToStringNo summary available.

Deconstruct Method

public void Deconstruct(int& ColumnIndex, Avalonia.Controls.IndexPath& RowIndex)

Parameters

ColumnIndex int&

RowIndex Avalonia.Controls.IndexPath&

Equals overloads

Equals Method

public bool Equals(Avalonia.Controls.CellIndex other)
Parameters

other Avalonia.Controls.CellIndex

Returns

bool

Equals Method

public bool Equals(object obj)
Parameters

obj object

Returns

bool

GetHashCode Method

public int GetHashCode()

Returns

int

ToString Method

public string ToString()

Returns

string

Properties

NameDescription
ColumnIndexThe index of the cell in the Avalonia.Controls.TreeDataGrid.Columns collection.
RowIndexThe hierarchical index of the row model in the data source.

ColumnIndex Property

The index of the cell in the Avalonia.Controls.TreeDataGrid.Columns collection.

public int ColumnIndex { get; set; }

RowIndex Property

The hierarchical index of the row model in the data source.

public Avalonia.Controls.IndexPath RowIndex { get; set; }