Skip to main content

TemplateColumnOptions<TModel> Class

Definition

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

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

public class TemplateColumnOptions<TModel>

Inheritance: ColumnOptions<> -> TemplateColumnOptions<TModel>

Constructors

NameDescription
TemplateColumnOptions<TModel>No summary available.

TemplateColumnOptions<TModel> Constructor

public TemplateColumnOptions<TModel>()

Properties

NameDescription
IsTextSearchEnabledGets or sets a value indicating whether the column takes part in text searches. The default is false.
TextSearchValueSelectorGets or sets a function which selects the search text from a model.

IsTextSearchEnabled Property

Gets or sets a value indicating whether the column takes part in text searches. The default is false.

public bool IsTextSearchEnabled { get; set; }

TextSearchValueSelector Property

Gets or sets a function which selects the search text from a model.

public Func<TModel, string> TextSearchValueSelector { get; set; }