System.Web.UI.WebControls.CheckBox: Property Members

The properties of System.Web.UI.WebControls.CheckBox are listed below. For a list of all members, see the CheckBox Members list.

See Also: Inherited members from System.Web.UI.WebControls.WebControl

Public Properties

AutoPostBackbool.

Gets or sets a value indicating whether the System.Web.UI.WebControls.CheckBox state automatically posts back to the server when clicked.

CausesValidationbool.

Gets or sets a value indicating whether validation is performed when the System.Web.UI.WebControls.CheckBox control is selected.

Checkedbool.

Gets or sets a value indicating whether the System.Web.UI.WebControls.CheckBox control is checked.

[read-only]
InputAttributesSystem.Web.UI.AttributeCollection.

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

[read-only]
LabelAttributesSystem.Web.UI.AttributeCollection.

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

Textstring.

Gets or sets the text label associated with the System.Web.UI.WebControls.CheckBox.

TextAlignTextAlign.

Gets or sets the alignment of the text label associated with the System.Web.UI.WebControls.CheckBox control.

ValidationGroupstring.

Gets or sets the group of controls for which the System.Web.UI.WebControls.CheckBox control causes validation when it posts back to the server.