Skip to main content

TextColumnOptions<TModel> Class

Definition

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

Holds less commonly-used options for a Avalonia.Controls.Models.TreeDataGrid.TextColumn<T1, T2>.

public class TextColumnOptions<TModel>

Inheritance: ColumnOptions<> -> TextColumnOptions<TModel>

Constructors

NameDescription
TextColumnOptions<TModel>No summary available.

TextColumnOptions<TModel> Constructor

public TextColumnOptions<TModel>()

Properties

NameDescription
CultureCulture info used in conjunction with Avalonia.Controls.Models.TreeDataGrid.TextColumnOptions<T>.StringFormat
IsTextSearchEnabledGets or sets a value indicating whether the column takes part in text searches.
StringFormatGets or sets the format string for the cells in the column.
TextAlignmentGets or sets the text alignment mode for the cells in the column.
TextTrimmingGets or sets the text trimming mode for the cells in the column.
TextWrappingGets or sets the text wrapping mode for the cells in the column.

Culture Property

Culture info used in conjunction with Avalonia.Controls.Models.TreeDataGrid.TextColumnOptions<T>.StringFormat

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

IsTextSearchEnabled Property

Gets or sets a value indicating whether the column takes part in text searches.

public bool IsTextSearchEnabled { get; set; }

StringFormat Property

Gets or sets the format string for the cells in the column.

public string StringFormat { get; set; }

TextAlignment Property

Gets or sets the text alignment mode for the cells in the column.

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

TextTrimming Property

Gets or sets the text trimming mode for the cells in the column.

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

TextWrapping Property

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

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