Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCustomCheckComboBox.States Property

Specifies check states for individual check boxes.

#Declaration

Delphi
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