ASP.NET TextAlign Property
Complete RadioButtonList Control Reference
Definition and Usage
The TextAlign property is used to get or set the text alignment for the text
of the RadioButtonList items.
Syntax
<asp:RadioButtonList TextAlign="align" runat="server">
some content
</asp:RadioButtonList >
|
| Attribute |
Description |
| align |
Specifies the alignment of the text for the list item
Possible values:
|
Example
The following example sets the TextAlign property to "Left" in a RadioButtonList control:
<form runat="server">
<asp:RadioButtonList id="rb1"
runat="server" TextAlign="Left">
Some content
</asp:RadioButtonList>
</form>
|
Try-It-Yourself Demos
Set the
TextAlign property of a RadioButtonList control
Complete RadioButtonList Control Reference
Whether you're new to XML or already an advanced user, the user-friendly views
and powerful entry helpers, wizards, and debuggers in XMLSpy are designed to
meet your XML and Web services development needs from start to finish.
- XML editor
- Graphical XML Schema / DTD editors
- XSLT 1.0/2.0 editor, debugger, profiler
- XQuery editor, debugger, profiler
- Support for Office Open XML (OOXML)
- Graphical WSDL editor & SOAP debugger
- Java, C#, C++ code generation
- And much more!
Download a free 30-day trial today!
|