Skip to main content

TcxCustomCheckComboBox.States Property

Specifies check states for individual check boxes.

Declaration

property States[AIndex: Integer]: TcxCheckBoxState read; write;

Property Value

Type
TcxCheckBoxState

Remarks

Use the States property to obtain or change the check state of an individual item within the check combo box. The item whose state is to be returned or modified is specified by its index via the Index parameter. The first item’s index is zero. The last item’s index is the number of items decremented by one. Specifying an invalid item index will raise an exception.

Setting this property at design time invokes the “cxCheckComboBox – CheckStates editor“ which helps you to customize the items’ check states.

Note

Use the CalculateCheckStatesValue and CalculateCheckStates methods to calculate the editor’s edit value by the items’ check states and vice versa.

See Also