Skip to main content

TreeDataGridTextColumn Class

Definition

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

A column in an Avalonia.Controls.TreeDataGridSource which displays its values as text.

public class TreeDataGridTextColumn

Inheritance: AvaloniaObject -> TreeDataGridColumn -> TreeDataGridBoundColumn -> TreeDataGridTextColumn

Implements: bd, bm

Constructors

NameDescription
TreeDataGridTextColumnInitializes a new instance of the Avalonia.Controls.TreeDataGridTextColumn class with default values for XAML instantiation.

TreeDataGridTextColumn Constructor

Initializes a new instance of the Avalonia.Controls.TreeDataGridTextColumn class with default values for XAML instantiation.

public TreeDataGridTextColumn()

Properties

NameDescription
CultureGets or sets the culture info used in conjunction with Avalonia.Controls.TreeDataGridTextColumn.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.
BindingGets or sets the binding which selects the column value from the model. Inherited from TreeDataGridBoundColumn.
IsReadOnlyGets or sets a value indicating whether the column is readonly. Inherited from TreeDataGridBoundColumn.
ActualWidthGets the actual width of the column after measurement. Inherited from TreeDataGridColumn.
AllowTriStateSortingGets or sets whether the user can cycle through ascending, descending, and unsorted states when clicking the column header. Inherited from TreeDataGridColumn.
BeginEditGesturesGets or sets the gesture(s) that will cause a cell to enter edit mode. Inherited from TreeDataGridColumn.
CanUserResizeGets or sets a value indicating whether the user can resize the column by dragging. Inherited from TreeDataGridColumn.
CanUserSortColumnGets or sets a value indicating whether the user can sort the column by clicking. Inherited from TreeDataGridColumn.
CompareAscendingGets or sets a custom comparison for ascending sort order. Inherited from TreeDataGridColumn.
CompareDescendingGets or sets a custom comparison for descending sort order. Inherited from TreeDataGridColumn.
HeaderGets or sets the column header. Inherited from TreeDataGridColumn.
IsVisibleGets or sets a value indicating whether the column is visible. Inherited from TreeDataGridColumn.
MaxWidthGets or sets the maximum width for the column. Inherited from TreeDataGridColumn.
MinWidthGets or sets the minimum width for the column. Inherited from TreeDataGridColumn.
SortDirectionGets or sets the sort direction indicator that will be displayed on the column. Inherited from TreeDataGridColumn.
TagGets or sets a user-defined object attached to the column. Inherited from TreeDataGridColumn.
WidthGets or sets the width of the column. Inherited from TreeDataGridColumn.

Culture Property

Gets or sets the culture info used in conjunction with Avalonia.Controls.TreeDataGridTextColumn.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; }

Fields

NameDescription
CulturePropertyDefines the Avalonia.Controls.TreeDataGridTextColumn.Culture property.
IsTextSearchEnabledPropertyDefines the Avalonia.Controls.TreeDataGridTextColumn.IsTextSearchEnabled property.
StringFormatPropertyDefines the Avalonia.Controls.TreeDataGridTextColumn.StringFormat property.
TextAlignmentPropertyDefines the Avalonia.Controls.TreeDataGridTextColumn.TextAlignment property.
TextTrimmingPropertyDefines the Avalonia.Controls.TreeDataGridTextColumn.TextTrimming property.
TextWrappingPropertyDefines the Avalonia.Controls.TreeDataGridTextColumn.TextWrapping property.
BindingPropertyDefines the Avalonia.Controls.TreeDataGridBoundColumn.Binding property. Inherited from TreeDataGridBoundColumn.
IsReadOnlyPropertyDefines the Avalonia.Controls.TreeDataGridBoundColumn.IsReadOnly property. Inherited from TreeDataGridBoundColumn.
ActualWidthPropertyDefines the Avalonia.Controls.TreeDataGridColumn.ActualWidth property. Inherited from TreeDataGridColumn.
AllowTriStateSortingPropertyDefines the Avalonia.Controls.TreeDataGridColumn.AllowTriStateSorting property. Inherited from TreeDataGridColumn.
BeginEditGesturesPropertyDefines the Avalonia.Controls.TreeDataGridColumn.BeginEditGestures property. Inherited from TreeDataGridColumn.
CanUserResizePropertyDefines the Avalonia.Controls.TreeDataGridColumn.CanUserResize property. Inherited from TreeDataGridColumn.
CanUserSortColumnPropertyDefines the Avalonia.Controls.TreeDataGridColumn.CanUserSortColumn property. Inherited from TreeDataGridColumn.
CompareAscendingPropertyDefines the Avalonia.Controls.TreeDataGridColumn.CompareAscending property. Inherited from TreeDataGridColumn.
CompareDescendingPropertyDefines the Avalonia.Controls.TreeDataGridColumn.CompareDescending property. Inherited from TreeDataGridColumn.
HeaderPropertyDefines the Avalonia.Controls.TreeDataGridColumn.Header property. Inherited from TreeDataGridColumn.
IsVisiblePropertyDefines the Avalonia.Controls.TreeDataGridColumn.IsVisible property. Inherited from TreeDataGridColumn.
MaxWidthPropertyDefines the Avalonia.Controls.TreeDataGridColumn.MaxWidth property. Inherited from TreeDataGridColumn.
MinWidthPropertyDefines the Avalonia.Controls.TreeDataGridColumn.MinWidth property. Inherited from TreeDataGridColumn.
SortDirectionPropertyDefines the Avalonia.Controls.TreeDataGridColumn.SortDirection property. Inherited from TreeDataGridColumn.
TagPropertyDefines the Avalonia.Controls.TreeDataGridColumn.Tag property. Inherited from TreeDataGridColumn.
WidthPropertyDefines the Avalonia.Controls.TreeDataGridColumn.Width property. Inherited from TreeDataGridColumn.

CultureProperty Field

Defines the Avalonia.Controls.TreeDataGridTextColumn.Culture property.

public Avalonia.StyledProperty<System.Globalization.CultureInfo> CultureProperty

IsTextSearchEnabledProperty Field

Defines the Avalonia.Controls.TreeDataGridTextColumn.IsTextSearchEnabled property.

public Avalonia.StyledProperty<bool> IsTextSearchEnabledProperty

StringFormatProperty Field

Defines the Avalonia.Controls.TreeDataGridTextColumn.StringFormat property.

public Avalonia.StyledProperty<string> StringFormatProperty

TextAlignmentProperty Field

Defines the Avalonia.Controls.TreeDataGridTextColumn.TextAlignment property.

public Avalonia.StyledProperty<Avalonia.Media.TextAlignment> TextAlignmentProperty

TextTrimmingProperty Field

Defines the Avalonia.Controls.TreeDataGridTextColumn.TextTrimming property.

public Avalonia.StyledProperty<Avalonia.Media.TextTrimming> TextTrimmingProperty

TextWrappingProperty Field

Defines the Avalonia.Controls.TreeDataGridTextColumn.TextWrapping property.

public Avalonia.StyledProperty<Avalonia.Media.TextWrapping> TextWrappingProperty