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