Skip to main content

TcxCustomCheckBox.Toggle Method

Changes the state of the check box editor.

Declaration

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