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

TcxCustomCheckBox.Toggle Method

In This Article

Changes the state of the check box editor.

#Declaration

Delphi
procedure Toggle; virtual;

#Remarks

The Toggle method changes the state of the check box. If the AllowGrayed member of the Properties object is set to True, the Toggle method selects the unchecked, grayed and checked states one after another. If AllowGrayed is set to False, the method switches among checked and unchecked states only. To get the check box state read the Checked or State property.

Descendants of the TcxCustomCheckBox class can override this method to provide an appropriate switch mechanism.

See Also