ASP.NET Direction Property
Complete Panel Control Reference
Definition and Usage
The Direction property is used to set or return the ontent display
direction of the Panel.
This property is used specify the display direction for controls that include
text in the Panel.
Syntax
<asp:Panel Direction="direction" runat="server">
Some Content
</asp:Panel>
|
| Attribute |
Description |
| direction |
Specifies the content display direction of the panel
Possible values:
- NotSet - Default. The content direction is not set
- LeftToRight - The content direction is left to right
- RightToLeft - The content direction is right to left
|
Example
The following example changes the Direction property for a Panel control:
<form runat="server">
<asp:Panel id="pan1" runat="server" Direction="RightToLeft">
Hello!
</asp:Panel>
</form>
|
Try-It-Yourself Demos
Set the
Direction for a Panel control
Complete Panel 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!
|