TreeDataGridRowsPresenter Class
Definition
Presents and manages rows in a Avalonia.Controls.TreeDataGrid control.
public class TreeDataGridRowsPresenter
Remarks
TreeDataGridRowsPresenter is responsible for creating, recycling, and arranging rows vertically in a TreeDataGrid. It handles the virtualization of rows, ensuring that only visible rows are realized in the visual tree to improve performance.
This presenter is typically used within a Avalonia.Controls.TreeDataGrid control template to display the rows for that control.
Constructors
| Name | Description |
|---|---|
| TreeDataGridRowsPresenter | No summary available. |
TreeDataGridRowsPresenter Constructor
public TreeDataGridRowsPresenter()
Properties
| Name | Description |
|---|---|
| Columns | Gets or sets the columns collection used to define the structure of rows. |
Columns Property
Gets or sets the columns collection used to define the structure of rows.
public Avalonia.Controls.Models.TreeDataGrid.IColumns Columns { get; set; }
Fields
| Name | Description |
|---|---|
| ColumnsProperty | Defines the Avalonia.Controls.Primitives.TreeDataGridRowsPresenter.Columns property. |
ColumnsProperty Field
Defines the Avalonia.Controls.Primitives.TreeDataGridRowsPresenter.Columns property.
public Avalonia.DirectProperty<Avalonia.Controls.Primitives.TreeDataGridRowsPresenter, Avalonia.Controls.Models.TreeDataGrid.IColumns> ColumnsProperty
Events
| Name | Description |
|---|---|
| ChildIndexChanged | Occurs when the index of a child element in the presenter changes. |
ChildIndexChanged Event
Occurs when the index of a child element in the presenter changes.
public event EventHandler<Avalonia.LogicalTree.ChildIndexChangedEventArgs> ChildIndexChanged
Remarks
This event is raised when rows are realized, unrealized, or when their indices change due to insertions or removals.