CheckBox.InputAttributes Property


Gets a reference to the collection of attributes for the rendered input element of the CheckBox control.

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

member InputAttributes : AttributeCollection with get

Property Value

Type: System.Web.UI.AttributeCollection

The collection of attribute names and values that are added to the rendered INPUT element for the CheckBox control. The default is an empty AttributeCollection.

The CheckBox control is rendered and displayed using an HTML INPUT element. You can add additional attributes to the rendered INPUT element using the Add method on the InputAttributes property.

.NET Framework
Available since 2.0
Return to top