TreeDataGridCheckBoxColumn Class
Definition
A column in an Avalonia.Controls.TreeDataGridSource which displays a check box.
public class TreeDataGridCheckBoxColumn
Remarks
The Avalonia.Controls.TreeDataGridCheckBoxColumn class provides a column that displays boolean values as checkboxes in a TreeDataGrid. It supports both two-state (checked/unchecked) and three-state (checked/unchecked/indeterminate) checkbox behavior.
Constructors
| Name | Description |
|---|---|
| TreeDataGridCheckBoxColumn | Initializes a new instance of the Avalonia.Controls.TreeDataGridCheckBoxColumn class. |
TreeDataGridCheckBoxColumn Constructor
Initializes a new instance of the Avalonia.Controls.TreeDataGridCheckBoxColumn class.
public TreeDataGridCheckBoxColumn()
Properties
| Name | Description |
|---|---|
| IsThreeState | Gets or sets a value indicating whether the column displays a three-state checkbox. |
| Binding | Gets or sets the binding which selects the column value from the model. Inherited from TreeDataGridBoundColumn. |
| IsReadOnly | Gets or sets a value indicating whether the column is readonly. Inherited from TreeDataGridBoundColumn. |
| ActualWidth | Gets the actual width of the column after measurement. Inherited from TreeDataGridColumn. |
| AllowTriStateSorting | Gets or sets whether the user can cycle through ascending, descending, and unsorted states when clicking the column header. Inherited from TreeDataGridColumn. |
| BeginEditGestures | Gets or sets the gesture(s) that will cause a cell to enter edit mode. Inherited from TreeDataGridColumn. |
| CanUserResize | Gets or sets a value indicating whether the user can resize the column by dragging. Inherited from TreeDataGridColumn. |
| CanUserSortColumn | Gets or sets a value indicating whether the user can sort the column by clicking. Inherited from TreeDataGridColumn. |
| CompareAscending | Gets or sets a custom comparison for ascending sort order. Inherited from TreeDataGridColumn. |
| CompareDescending | Gets or sets a custom comparison for descending sort order. Inherited from TreeDataGridColumn. |
| Header | Gets or sets the column header. Inherited from TreeDataGridColumn. |
| IsVisible | Gets or sets a value indicating whether the column is visible. Inherited from TreeDataGridColumn. |
| MaxWidth | Gets or sets the maximum width for the column. Inherited from TreeDataGridColumn. |
| MinWidth | Gets or sets the minimum width for the column. Inherited from TreeDataGridColumn. |
| SortDirection | Gets or sets the sort direction indicator that will be displayed on the column. Inherited from TreeDataGridColumn. |
| Tag | Gets or sets a user-defined object attached to the column. Inherited from TreeDataGridColumn. |
| Width | Gets or sets the width of the column. Inherited from TreeDataGridColumn. |
IsThreeState Property
Gets or sets a value indicating whether the column displays a three-state checkbox.
public bool IsThreeState { get; set; }
Fields
IsThreeStateProperty Field
Defines the Avalonia.Controls.TreeDataGridCheckBoxColumn.IsThreeState property.
public Avalonia.StyledProperty<bool> IsThreeStateProperty