TreeDataGridElementFactory Class
Definition
Factory class responsible for creating and recycling UI elements used in the Avalonia.Controls.TreeDataGrid control.
public class TreeDataGridElementFactory
Remarks
The TreeDataGridElementFactory manages the creation of UI elements in the TreeDataGrid, including rows, cells, and column headers. It implements an element recycling strategy that improves performance by reusing existing UI elements rather than creating new ones whenever possible.
This class can be extended to customize the creation and recycling of TreeDataGrid elements by overriding the Avalonia.Controls.Primitives.TreeDataGridElementFactory.CreateElement(object), Avalonia.Controls.Primitives.TreeDataGridElementFactory.GetDataRecycleKey(object), and Avalonia.Controls.Primitives.TreeDataGridElementFactory.GetElementRecycleKey(Avalonia.Controls.Control) methods.
Constructors
| Name | Description |
|---|---|
| TreeDataGridElementFactory | No summary available. |
TreeDataGridElementFactory Constructor
public TreeDataGridElementFactory()