Toggle Method (CheckBox)

Class

CheckBox.

Action

Toggles the state of the check box. If the checkbox is checked it is unchecked and vice versa. If the checkbox is in the undecided state it is left undecided.

Syntax

C#
checkBox.Toggle()
VB
checkBox.Toggle()