Skip to main content

ITextCellOptions Interface

Definition

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

Holds less commonly-used options for a Avalonia.Controls.Models.TreeDataGrid.TextCell<T>.

public interface ITextCellOptions
Implements:ICellOptions

Properties

NameDescription
CultureGets the culture to be used in conjunction with Avalonia.Controls.Models.TreeDataGrid.ITextCellOptions.StringFormat.
StringFormatGets the format string to be used to format the cell value.
TextAlignmentGets the text alignment mode for the cell.
TextTrimmingGets the text trimming mode for the cell.
TextWrappingGets the text wrapping mode for the cells in the column.

Culture Property

Gets the culture to be used in conjunction with Avalonia.Controls.Models.TreeDataGrid.ITextCellOptions.StringFormat.

public System.Globalization.CultureInfo Culture { get; set; }

StringFormat Property

Gets the format string to be used to format the cell value.

public string StringFormat { get; set; }

TextAlignment Property

Gets the text alignment mode for the cell.

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

TextTrimming Property

Gets the text trimming mode for the cell.

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

TextWrapping Property

Gets the text wrapping mode for the cells in the column.

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