TreeDataGridCellEventArgs Class
Definition
Provides data for events related to cell operations in a Avalonia.Controls.TreeDataGrid control.
public class TreeDataGridCellEventArgs
Remarks
This class is used in events such as Avalonia.Controls.TreeDataGrid.CellPrepared, Avalonia.Controls.TreeDataGrid.CellClearing, and Avalonia.Controls.TreeDataGrid.CellValueChanged to provide information about the cell that triggered the event.
Constructors
| Name | Description |
|---|---|
| TreeDataGridCellEventArgs | Initializes a new instance of the Avalonia.Controls.TreeDataGridCellEventArgs class with the specified cell, column index, and row index. |
TreeDataGridCellEventArgs Constructor
Initializes a new instance of the Avalonia.Controls.TreeDataGridCellEventArgs class with the specified cell, column index, and row index.
public TreeDataGridCellEventArgs(Avalonia.Controls.Control cell, int columnIndex, int rowIndex)
Parameters
cell Avalonia.Controls.Control
The cell control that triggered the event.
columnIndex int
The index of the column that contains the cell.
rowIndex int
The index of the row that contains the cell.
Properties
| Name | Description |
|---|---|
| Cell | Gets the cell control that triggered the event. |
| ColumnIndex | Gets the index of the column that contains the cell. |
| RowIndex | Gets the index of the row that contains the cell. |
Cell Property
Gets the cell control that triggered the event.
public Avalonia.Controls.Control Cell { get; set; }
Value
A Avalonia.Controls.Control that represents the cell in the TreeDataGrid.
ColumnIndex Property
Gets the index of the column that contains the cell.
public int ColumnIndex { get; set; }
Value
The zero-based index of the column.
RowIndex Property
Gets the index of the row that contains the cell.
public int RowIndex { get; set; }
Value
The zero-based index of the row.