ASP.NET RadioButtonList TextAlignProperty
RadioButtonList Control
Definition and Usage
The TextAlign property is used to get or set the text alignment of the text of RadioButtonList items.
Syntax
<asp:RadioButtonList TextAlign="align" runat="server">
Some Content
</asp:RadioButtonList >
Some Content
</asp:RadioButtonList >
| Property | Description |
|---|---|
| align | Specifies the text alignment of list items. Possible values:
|
Example
The following example sets the TextAlign property in the RadioButtonList control to "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>
Show example »
RadioButtonList Control Other extensions