TreeDataGridCheckBoxCell Class
Definition
A control in a Avalonia.Controls.TreeDataGrid that displays a cell which allows editing of boolean values using a checkbox.
public class TreeDataGridCheckBoxCell
Remarks
TreeDataGridCheckBoxCell displays boolean values as checkboxes in a TreeDataGrid. It supports two-state (checked/unchecked) or three-state (checked/unchecked/indeterminate) behavior, and can be configured as read-only.
Constructors
| Name | Description |
|---|---|
| TreeDataGridCheckBoxCell | No summary available. |
TreeDataGridCheckBoxCell Constructor
public TreeDataGridCheckBoxCell()
Properties
| Name | Description |
|---|---|
| IsReadOnly | Gets or sets a value indicating whether the checkbox is read-only. |
| IsThreeState | Gets or sets a value indicating whether the checkbox supports three states. |
| Value | Gets or sets the current value of the checkbox. |
| ColumnIndex | Gets the index of the column that this cell belongs to. Inherited from TreeDataGridCell. |
| IsEditing | Gets a value indicating whether the cell is in edit mode. Inherited from TreeDataGridCell. |
| IsEffectivelySelected | Gets a value indicating whether the cell is effectively selected, either directly or because its containing row is selected. Inherited from TreeDataGridCell. |
| IsSelected | Gets a value indicating whether the cell is selected. Inherited from TreeDataGridCell. |
| Model | Gets the data model for the cell. Inherited from TreeDataGridCell. |
| RowIndex | Gets the index of the row that this cell belongs to. Inherited from TreeDataGridCell. |
IsReadOnly Property
Gets or sets a value indicating whether the checkbox is read-only.
public bool IsReadOnly { get; set; }
IsThreeState Property
Gets or sets a value indicating whether the checkbox supports three states.
public bool IsThreeState { get; set; }
Value Property
Gets or sets the current value of the checkbox.
public Nullable<bool> Value { get; set; }
Fields
| Name | Description |
|---|---|
| IsReadOnlyProperty | Defines the Avalonia.Controls.Primitives.TreeDataGridCheckBoxCell.IsReadOnly property. |
| IsThreeStateProperty | Defines the Avalonia.Controls.Primitives.TreeDataGridCheckBoxCell.IsThreeState property. |
| ValueProperty | Defines the Avalonia.Controls.Primitives.TreeDataGridCheckBoxCell.Value property. |
| IsSelectedProperty | Defines the Avalonia.Controls.Primitives.TreeDataGridCell.IsSelected property. Inherited from TreeDataGridCell. |
IsReadOnlyProperty Field
Defines the Avalonia.Controls.Primitives.TreeDataGridCheckBoxCell.IsReadOnly property.
public Avalonia.DirectProperty<Avalonia.Controls.Primitives.TreeDataGridCheckBoxCell, bool> IsReadOnlyProperty
IsThreeStateProperty Field
Defines the Avalonia.Controls.Primitives.TreeDataGridCheckBoxCell.IsThreeState property.
public Avalonia.DirectProperty<Avalonia.Controls.Primitives.TreeDataGridCheckBoxCell, bool> IsThreeStateProperty
ValueProperty Field
Defines the Avalonia.Controls.Primitives.TreeDataGridCheckBoxCell.Value property.
public Avalonia.DirectProperty<Avalonia.Controls.Primitives.TreeDataGridCheckBoxCell, Nullable<bool>> ValueProperty