System.Web.UI.WebControls.CheckBox.Checked Property

Gets or sets a value indicating whether the System.Web.UI.WebControls.CheckBox control is checked.

Syntax

[System.Web.UI.Themeable(false)]
[System.ComponentModel.Bindable(true, System.ComponentModel.BindingDirection.TwoWay)]
[System.ComponentModel.DefaultValue(false)]
public virtual bool Checked { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use this property to determine whether the System.Web.UI.WebControls.CheckBox control is checked. This property can also be used to programmatically set the state of the System.Web.UI.WebControls.CheckBox control.

This property cannot be set by themes or style sheet themes. For more information, see System.Web.UI.ThemeableAttribute and ASP.NET Themes Overview.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0