TreeDataGridExpanderCell Class
Definition
A control in a Avalonia.Controls.TreeDataGrid that displays a cell with an expander.
public class TreeDataGridExpanderCell
Remarks
TreeDataGridExpanderCell is used for displaying hierarchical data in a TreeDataGrid. It shows an expander button that allows users to expand or collapse child rows, and embeds another cell (the content cell) that displays the actual data value.
Constructors
| Name | Description |
|---|---|
| TreeDataGridExpanderCell | No summary available. |
TreeDataGridExpanderCell Constructor
public TreeDataGridExpanderCell()
Properties
| Name | Description |
|---|---|
| Indent | Gets the indentation level of the row that this cell belongs to. |
| IsExpanded | Gets or sets a value indicating whether the row is expanded to show child rows. |
| ShowExpander | Gets a value indicating whether the expander button should be visible. |
| ColumnIndex | Gets the index of the column that this cell belongs to. Inherited from TreeDataGridCell. |
| IsEditing | Gets a value indicating whether the cell is in edit mode. Inherited from TreeDataGridCell. |
| IsEffectivelySelected | Gets a value indicating whether the cell is effectively selected, either directly or because its containing row is selected. Inherited from TreeDataGridCell. |
| IsSelected | Gets a value indicating whether the cell is selected. Inherited from TreeDataGridCell. |
| Model | Gets the data model for the cell. Inherited from TreeDataGridCell. |
| RowIndex | Gets the index of the row that this cell belongs to. Inherited from TreeDataGridCell. |
Indent Property
Gets the indentation level of the row that this cell belongs to.
public int Indent { get; set; }
IsExpanded Property
Gets or sets a value indicating whether the row is expanded to show child rows.
public bool IsExpanded { get; set; }
ShowExpander Property
Gets a value indicating whether the expander button should be visible.
public bool ShowExpander { get; set; }
Fields
| Name | Description |
|---|---|
| IndentProperty | Defines the Avalonia.Controls.Primitives.TreeDataGridExpanderCell.Indent property. |
| IsExpandedProperty | Defines the Avalonia.Controls.Primitives.TreeDataGridExpanderCell.IsExpanded property. |
| ShowExpanderProperty | Defines the Avalonia.Controls.Primitives.TreeDataGridExpanderCell.ShowExpander property. |
| IsSelectedProperty | Defines the Avalonia.Controls.Primitives.TreeDataGridCell.IsSelected property. Inherited from TreeDataGridCell. |
IndentProperty Field
Defines the Avalonia.Controls.Primitives.TreeDataGridExpanderCell.Indent property.
public Avalonia.DirectProperty<Avalonia.Controls.Primitives.TreeDataGridExpanderCell, int> IndentProperty
IsExpandedProperty Field
Defines the Avalonia.Controls.Primitives.TreeDataGridExpanderCell.IsExpanded property.
public Avalonia.DirectProperty<Avalonia.Controls.Primitives.TreeDataGridExpanderCell, bool> IsExpandedProperty
ShowExpanderProperty Field
Defines the Avalonia.Controls.Primitives.TreeDataGridExpanderCell.ShowExpander property.
public Avalonia.DirectProperty<Avalonia.Controls.Primitives.TreeDataGridExpanderCell, bool> ShowExpanderProperty