Skip to main content

TreeDataGridCheckBoxCell Class

Definition

Assembly:Avalonia.Controls.TreeDataGrid
Package:Avalonia.Controls.TreeDataGrid

A control in a Avalonia.Controls.TreeDataGrid that displays a cell which allows editing of boolean values using a checkbox.

public class TreeDataGridCheckBoxCell

Inheritance: TemplatedControl -> TreeDataGridCell -> 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

NameDescription
TreeDataGridCheckBoxCellNo summary available.

TreeDataGridCheckBoxCell Constructor

public TreeDataGridCheckBoxCell()

Properties

NameDescription
IsReadOnlyGets or sets a value indicating whether the checkbox is read-only.
IsThreeStateGets or sets a value indicating whether the checkbox supports three states.
ValueGets or sets the current value of the checkbox.
ColumnIndexGets the index of the column that this cell belongs to. Inherited from TreeDataGridCell.
IsEditingGets a value indicating whether the cell is in edit mode. Inherited from TreeDataGridCell.
IsEffectivelySelectedGets a value indicating whether the cell is effectively selected, either directly or because its containing row is selected. Inherited from TreeDataGridCell.
IsSelectedGets a value indicating whether the cell is selected. Inherited from TreeDataGridCell.
ModelGets the data model for the cell. Inherited from TreeDataGridCell.
RowIndexGets 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

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