System.Windows.Forms.CheckBox.AutoCheck Property

Gets or set a value indicating whether the CheckBox.Checked or CheckBox.CheckState values and the System.Windows.Forms.CheckBox's appearance are automatically changed when the System.Windows.Forms.CheckBox is clicked.

Syntax

[System.ComponentModel.DefaultValue(true)]
public bool AutoCheck { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

If CheckBox.AutoCheck is set to false, you will need to add code to update the CheckBox.Checked or CheckBox.CheckState values in the Control.Click event handler.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0