Gets or sets a value indicating whether the CheckBox will allow three check states rather than two.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
The following code example displays the values of three properties in a label. The CheckAlign alternates between the MiddleRight and MiddleLeft values of System.Drawing.ContentAlignment. This example shows how the property values change as the property changes and the control is checked. This code requires that a CheckBox, Label and Button have all been instantiated on a form and that the label is large enough to display three lines of text, as well as a reference to the System.Drawing namespace. This code should be called in the Click event handler of the control.property alternates between true and false with alternating clicks of the control and the
Available since 1.1