ASP.NET Panel Direction property
Definition and Usage
Direction property sets or returns the content Panel display direction.
This attribute is used to specify the display direction Panel contains the text of the control.
grammar
<asp:Panel Direction="direction" runat="server">
Some Content
</asp:Panel>
Some Content
</asp:Panel>
属性 | 描述 |
---|---|
direction | 规定 panel 的内容显示方向。 可能的值:
|
Examples
The following example changes the Direction property Panel control:
<form runat="server">
<asp:Panel id="pan1" runat="server" Direction="RightToLeft">
Hello!
</asp:Panel>
</form>
<asp:Panel id="pan1" runat="server" Direction="RightToLeft">
Hello!
</asp:Panel>
</form>
The demonstration >>
Control Panel