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
The Altova MissionKit is a suite of intelligent XML tools, including:
XMLSpy® – industry-leading XML editor
- Support for all XML-based technologies
- Graphical editing views, powerful debuggers, code generation, & more
MapForce® – graphical data mapping tool
- Drag-and-drop data conversion with code generation
- Support for XML, DBs, EDI, Excel® 2007, text, Web services
StyleVision® – visual stylesheet designer
- Drag-and-drop stylesheet design for XML & databases
- Output to HTML, PDF, RTF, Word 2007, & more
And more…
Try before you buy with a free fully functional 30-day trial
Download today
|