ColumnCreateOptions Class
Definition
Holds options for configuring a Avalonia.Controls.TreeDataGridColumn via the fluent API.
public class ColumnCreateOptions
Constructors
| Name | Description |
|---|---|
| ColumnCreateOptions | No summary available. |
ColumnCreateOptions Constructor
public ColumnCreateOptions()
Properties
| Name | Description |
|---|---|
| AllowTriStateSorting | Gets or sets whether the user can cycle through ascending, descending, and unsorted states when clicking the column header. |
| BeginEditGestures | Gets or sets the gesture(s) that will cause a cell to enter edit mode. |
| CanUserResize | Gets or sets a value indicating whether the user can resize a column by dragging. |
| CanUserSortColumn | Gets or sets a value indicating whether the user can sort a column by clicking. |
| CompareAscending | Gets or sets a custom comparison for ascending ordered columns. |
| CompareDescending | Gets or sets a custom comparison for descending ordered columns. |
| MaxWidth | Gets or sets the maximum width for a column. |
| MinWidth | Gets or sets the minimum width for a column. |
| Width | Gets or sets the column width. |
AllowTriStateSorting Property
Gets or sets whether the user can cycle through ascending, descending, and unsorted states when clicking the column header.
public Nullable<bool> AllowTriStateSorting { get; set; }
Remarks
Only applies if Avalonia.Controls.ColumnCreateOptions.CanUserSortColumn is true. If null, the owner Avalonia.Controls.TreeDataGrid.AllowTriStateSorting property value will apply.
BeginEditGestures Property
Gets or sets the gesture(s) that will cause a cell to enter edit mode.
public Avalonia.Controls.BeginEditGestures BeginEditGestures { get; set; }
CanUserResize Property
Gets or sets a value indicating whether the user can resize a column by dragging.
public Nullable<bool> CanUserResize { get; set; }
Remarks
If null, the owner Avalonia.Controls.TreeDataGrid.CanUserResizeColumns property value will apply.
CanUserSortColumn Property
Gets or sets a value indicating whether the user can sort a column by clicking.
public Nullable<bool> CanUserSortColumn { get; set; }
Remarks
If null, the owner Avalonia.Controls.TreeDataGrid.CanUserSortColumns property value will apply.
CompareAscending Property
Gets or sets a custom comparison for ascending ordered columns.
public Comparison<object> CompareAscending { get; set; }
CompareDescending Property
Gets or sets a custom comparison for descending ordered columns.
public Comparison<object> CompareDescending { get; set; }
MaxWidth Property
Gets or sets the maximum width for a column.
public Nullable<Avalonia.Controls.GridLength> MaxWidth { get; set; }
MinWidth Property
Gets or sets the minimum width for a column.
public Avalonia.Controls.GridLength MinWidth { get; set; }
Width Property
Gets or sets the column width.
public Nullable<Avalonia.Controls.GridLength> Width { get; set; }