TreeDataGridRowEventArgs Class
Definition
Provides data for events related to row operations in a Avalonia.Controls.TreeDataGrid control.
public class TreeDataGridRowEventArgs
Remarks
This class is used in events such as Avalonia.Controls.TreeDataGrid.RowPrepared and Avalonia.Controls.TreeDataGrid.RowClearing to provide information about the row that triggered the event.
Constructors
| Name | Description |
|---|---|
| TreeDataGridRowEventArgs | Initializes a new instance of the Avalonia.Controls.TreeDataGridRowEventArgs class with the specified row and row index. |
TreeDataGridRowEventArgs Constructor
Initializes a new instance of the Avalonia.Controls.TreeDataGridRowEventArgs class with the specified row and row index.
public TreeDataGridRowEventArgs(Avalonia.Controls.Primitives.TreeDataGridRow row, int rowIndex)
Parameters
row Avalonia.Controls.Primitives.TreeDataGridRow
The row control that triggered the event.
rowIndex int
The index of the row in the TreeDataGrid.
Properties
| Name | Description |
|---|---|
| Row | Gets the row control that triggered the event. |
| RowIndex | Gets the index of the row that triggered the event. |
Row Property
Gets the row control that triggered the event.
public Avalonia.Controls.Primitives.TreeDataGridRow Row { get; set; }
Value
A Avalonia.Controls.Primitives.TreeDataGridRow that represents the row in the TreeDataGrid.
RowIndex Property
Gets the index of the row that triggered the event.
public int RowIndex { get; set; }
Value
The zero-based index of the row in the TreeDataGrid.