Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

ASP.NET CheckBoxList TextAlign Property

ASP.NET CheckBoxList TextAlign Property


CheckBoxList Control CheckBoxList control


Definition and Usage

The TextAlign property is used to get or set the text alignment of the CheckBoxList items' text.

Syntax

Some Content

property Description
align Specifies the text alignment for the list items.

Possible values:

  • Left
  • Right (default)
  • |

    Example

    The following example sets the TextAlign property in the CheckBoxList control to "Left":

    runat="server" TextAlign="Left">

    Some content

    Demo Example »


    CheckBoxList Control CheckBoxList control