System.Web.UI.WebControls.TextAlign Enumeration

Specifies whether the text associated with a check box or radio button control appears to the left or to the right of the control.

Syntax

public enum TextAlign

Remarks

The System.Web.UI.WebControls.TextAlign enumeration represents the different text alignment options for check box and radio button controls.

Members

Member NameDescription
Left

Text associated with a check box or radio button control appears to the left of the control.

Right

Text associated with a check box or radio button control appears to the right of the control.

Requirements

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