ASP.NET CheckBoxList TextAlign property
Definition and Usage
TextAlign property is used to get or set CheckBoxList item text text alignment.
grammar
<asp:CheckBoxList TextAlign="align" runat="server">
Some Content
</asp:CheckBoxList>
Some Content
</asp:CheckBoxList>
属性 | 描述 |
---|---|
align | 为列表项目规定文本的对齐方式。 可能的值:
|
Examples
The following examples set the TextAlign property CheckBoxList controls for "Left":
<form runat="server">
<asp:CheckBoxList id="rb1"
runat="server" TextAlign="Left">
Some content
</asp:CheckBoxList>
</form>
<asp:CheckBoxList id="rb1"
runat="server" TextAlign="Left">
Some content
</asp:CheckBoxList>
</form>
The demonstration >>
The CheckBoxList