System.Windows.Forms.CheckBox.Checked Property

Gets or set a value indicating whether the System.Windows.Forms.CheckBox is in the checked state.

Syntax

[System.ComponentModel.SettingsBindable(true)]
[System.ComponentModel.DefaultValue(false)]
[System.ComponentModel.RefreshProperties(System.ComponentModel.RefreshProperties.All)]
[System.ComponentModel.Bindable(true)]
public bool Checked { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

When the value is true, the System.Windows.Forms.CheckBox portion of the control displays a check mark. If the CheckBox.Appearance property is set to Button, the control will appear sunken when CheckBox.Checked is true and raised like a standard button when false.

Requirements

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