Skip to main content

HierarchicalExpanderColumnCreateOptions<TModel> Class

Definition

Assembly:Avalonia.Controls.TreeDataGrid
Package:Avalonia.Controls.TreeDataGrid
public class HierarchicalExpanderColumnCreateOptions<TModel>

Inheritance: object -> ColumnCreateOptions -> HierarchicalExpanderColumnCreateOptions<TModel>

Constructors

NameDescription
HierarchicalExpanderColumnCreateOptions<TModel>No summary available.

HierarchicalExpanderColumnCreateOptions<TModel> Constructor

public HierarchicalExpanderColumnCreateOptions<TModel>()

Properties

NameDescription
HasChildrenGets or sets an expression returning whether a model instance has children.
IsExpandedGets or sets an expression returning whether a model instance is expanded.
AllowTriStateSortingGets or sets whether the user can cycle through ascending, descending, and unsorted states when clicking the column header. Inherited from ColumnCreateOptions.
BeginEditGesturesGets or sets the gesture(s) that will cause a cell to enter edit mode. Inherited from ColumnCreateOptions.
CanUserResizeGets or sets a value indicating whether the user can resize a column by dragging. Inherited from ColumnCreateOptions.
CanUserSortColumnGets or sets a value indicating whether the user can sort a column by clicking. Inherited from ColumnCreateOptions.
CompareAscendingGets or sets a custom comparison for ascending ordered columns. Inherited from ColumnCreateOptions.
CompareDescendingGets or sets a custom comparison for descending ordered columns. Inherited from ColumnCreateOptions.
MaxWidthGets or sets the maximum width for a column. Inherited from ColumnCreateOptions.
MinWidthGets or sets the minimum width for a column. Inherited from ColumnCreateOptions.
WidthGets or sets the column width. Inherited from ColumnCreateOptions.

HasChildren Property

Gets or sets an expression returning whether a model instance has children.

public System.Linq.Expressions.Expression<Func<TModel,bool>> HasChildren { get; set; }

IsExpanded Property

Gets or sets an expression returning whether a model instance is expanded.

public System.Linq.Expressions.Expression<Func<TModel,bool>> IsExpanded { get; set; }