State: CheckBoxState;
The State property determines the selection state.
Middle state (Grayed) is accepted, only if AllowGrayed is set to True. If AllowGrayed = False (default), only two states are accepted: Selected (Checked) and Deselected (Unchecked).
See also: