ICheckBoxControl Interface

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Defines the property and event a control implements to act as a check box.

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

type ICheckBoxControl = interface end

NameDescription
System_CAPS_pubpropertyChecked

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

NameDescription
System_CAPS_pubeventCheckedChanged

Occurs when the value of the Checked property changes between posts to the server.

The ICheckBoxControl interface defines the property and event that must be implemented for a control to act as a check box on a Web page. The Checked property can be used to determine whether the check box is selected or to set the property programmatically. The CheckedChanged event is raised when the Checked value changes between posts to the server.

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: