System.Web.UI.WebControls.CheckBox.LabelAttributes Property

Gets a reference to the collection of attributes for the rendered LABEL element of the System.Web.UI.WebControls.CheckBox control.

Syntax

[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.ComponentModel.Browsable(false)]
public System.Web.UI.AttributeCollection LabelAttributes { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The CheckBox.Text property of a System.Web.UI.WebControls.CheckBox control is rendered and displayed using an HTML LABEL element. You can add additional attributes to the rendered LABEL element using the System.Web.UI.AttributeCollection.Add(string, string) method on the CheckBox.LabelAttributes property.

Requirements

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