ICheckBoxControl.Checked Property

 

Gets or sets the value of an ICheckBoxControl control that indicates whether the control is selected.

Namespace:   System.Web.UI
Assembly:  System.Web (in System.Web.dll)

abstract Checked : bool with get, set

Property Value

Type: System.Boolean

true if the check box is selected; otherwise, false.

Controls implementing ICheckBoxControl use Checked to determine whether the control is selected, or to set the value programmatically.

CheckBox implements ICheckBoxControl. The following code example demonstrates how to read the value of the Checked property and respond to a CheckedChanged event.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: