HtmlInputCheckBox::Checked Property
.NET Framework (current version)
Gets or sets a value indicating whether the HtmlInputCheckBox is selected.
Assembly: System.Web (in System.Web.dll)
Property Value
Type: System::Booleantrue if the HtmlInputCheckBox control is selected; otherwise, false.
Use this property to determine whether the HtmlInputCheckBox control is selected. This property can also be used to programmatically set the state of the HtmlInputCheckBox control.
The following code example demonstrates a set of responses to users selecting from a group of HtmlInputCheckBox controls.
.NET Framework
Available since 1.1
Available since 1.1
Show: