HierarchicalExpanderColumnCreateOptions<TModel> Class
Definition
Holds options for a hierarchical expander column created via Avalonia.Controls.TreeDataGridSourceExtensions.WithHierarchicalExpanderColumn<T>(Avalonia.Controls.HierarchicalTreeDataGridSource{<>},object,Avalonia.Controls.TreeDataGridColumn,System.Linq.Expressions.Expression{Func{<>,System.Collections.Generic.IEnumerable{<>}}},Action{Avalonia.Controls.HierarchicalExpanderColumnCreateOptions{<>}}).
public class HierarchicalExpanderColumnCreateOptions<TModel>
Constructors
| Name | Description |
|---|---|
| HierarchicalExpanderColumnCreateOptions<TModel> | No summary available. |
HierarchicalExpanderColumnCreateOptions<TModel> Constructor
public HierarchicalExpanderColumnCreateOptions<TModel>()
Properties
| Name | Description |
|---|---|
| HasChildren | Gets or sets an expression returning whether a model instance has children. |
| IsExpanded | Gets or sets an expression returning whether a model instance is expanded. |
| AllowTriStateSorting | Gets or sets whether the user can cycle through ascending, descending, and unsorted states when clicking the column header. Inherited from ColumnCreateOptions. |
| BeginEditGestures | Gets or sets the gesture(s) that will cause a cell to enter edit mode. Inherited from ColumnCreateOptions. |
| CanUserResize | Gets or sets a value indicating whether the user can resize a column by dragging. Inherited from ColumnCreateOptions. |
| CanUserSortColumn | Gets or sets a value indicating whether the user can sort a column by clicking. Inherited from ColumnCreateOptions. |
| CompareAscending | Gets or sets a custom comparison for ascending ordered columns. Inherited from ColumnCreateOptions. |
| CompareDescending | Gets or sets a custom comparison for descending ordered columns. Inherited from ColumnCreateOptions. |
| MaxWidth | Gets or sets the maximum width for a column. Inherited from ColumnCreateOptions. |
| MinWidth | Gets or sets the minimum width for a column. Inherited from ColumnCreateOptions. |
| Width | Gets 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; }