TreeDataGridTextCell Class
Definition
A control in a Avalonia.Controls.TreeDataGrid that displays cells as text.
public class TreeDataGridTextCell
Remarks
TreeDataGridTextCell is used for displaying and editing text values in a TreeDataGrid.
This cell type provides properties to control text appearance, such as text trimming, wrapping, and alignment. When in edit mode, it displays a Avalonia.Controls.TextBox that allows the user to modify the text value.
Constructors
| Name | Description |
|---|---|
| TreeDataGridTextCell | No summary available. |
TreeDataGridTextCell Constructor
public TreeDataGridTextCell()
Properties
| Name | Description |
|---|---|
| TextAlignment | Gets or sets the text alignment for the cell's text. |
| TextTrimming | Gets or sets the text trimming mode for the cell's text. |
| TextWrapping | Gets or sets the text wrapping mode for the cell's text. |
| Value | Gets or sets the text value displayed in the cell. |
| 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. |
TextAlignment Property
Gets or sets the text alignment for the cell's text.
public Avalonia.Media.TextAlignment TextAlignment { get; set; }
TextTrimming Property
Gets or sets the text trimming mode for the cell's text.
public Avalonia.Media.TextTrimming TextTrimming { get; set; }
TextWrapping Property
Gets or sets the text wrapping mode for the cell's text.
public Avalonia.Media.TextWrapping TextWrapping { get; set; }
Value Property
Gets or sets the text value displayed in the cell.
public string Value { get; set; }
Fields
| Name | Description |
|---|---|
| TextAlignmentProperty | Defines the Avalonia.Controls.Primitives.TreeDataGridTextCell.TextAlignment property. |
| TextTrimmingProperty | Defines the Avalonia.Controls.Primitives.TreeDataGridTextCell.TextTrimming property. |
| TextWrappingProperty | Defines the Avalonia.Controls.Primitives.TreeDataGridTextCell.TextWrapping property. |
| ValueProperty | Defines the Avalonia.Controls.Primitives.TreeDataGridTextCell.Value property. |
| IsSelectedProperty | Defines the Avalonia.Controls.Primitives.TreeDataGridCell.IsSelected property. Inherited from TreeDataGridCell. |
TextAlignmentProperty Field
Defines the Avalonia.Controls.Primitives.TreeDataGridTextCell.TextAlignment property.
public Avalonia.DirectProperty<Avalonia.Controls.Primitives.TreeDataGridTextCell, Avalonia.Media.TextAlignment> TextAlignmentProperty
TextTrimmingProperty Field
Defines the Avalonia.Controls.Primitives.TreeDataGridTextCell.TextTrimming property.
public Avalonia.DirectProperty<Avalonia.Controls.Primitives.TreeDataGridTextCell, Avalonia.Media.TextTrimming> TextTrimmingProperty
TextWrappingProperty Field
Defines the Avalonia.Controls.Primitives.TreeDataGridTextCell.TextWrapping property.
public Avalonia.DirectProperty<Avalonia.Controls.Primitives.TreeDataGridTextCell, Avalonia.Media.TextWrapping> TextWrappingProperty
ValueProperty Field
Defines the Avalonia.Controls.Primitives.TreeDataGridTextCell.Value property.
public Avalonia.DirectProperty<Avalonia.Controls.Primitives.TreeDataGridTextCell, string> ValueProperty