Skip to main content

ITextCell Interface

Definition

Assembly:Avalonia.Controls.TreeDataGrid
Package:Avalonia.Controls.TreeDataGrid

Represents a text cell in an Avalonia.Controls.ITreeDataGridSource.

public interface ITextCell
Implements:ICell

Remarks

The interface provides a non-generic view over a Avalonia.Controls.Models.TreeDataGrid.TextCell<T>.

Properties

NameDescription
TextGets or sets the cell's value as a string.
TextAlignmentGets the cell's text alignment mode.
TextTrimmingGets the cell's text trimming mode.
TextWrappingGets the cell's text wrapping mode.

Text Property

Gets or sets the cell's value as a string.

public string Text { get; set; }

TextAlignment Property

Gets the cell's text alignment mode.

public Avalonia.Media.TextAlignment TextAlignment { get; set; }

TextTrimming Property

Gets the cell's text trimming mode.

public Avalonia.Media.TextTrimming TextTrimming { get; set; }

TextWrapping Property

Gets the cell's text wrapping mode.

public Avalonia.Media.TextWrapping TextWrapping { get; set; }