Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

ASP.NET Panel Direction Property

ASP.NET Panel Direction Property


Panel Control Panel control


Definition and Usage

The Direction property is used to set or return the content display direction of the Panel.

This property specifies the display direction of the controls containing text in the Panel.

Syntax

Some Content

 

property Description
direction Specifies the content display direction of the panel.

Possible values:

  • NotSet - Default. No content direction is set
  • LeftToRight - Content direction is left to right
  • RightToLeft - Content direction is right to left
  • |

    Example

    The following example changes the Direction property of a Panel control:

    Hello!

    Demo Example »


    Panel Control Panel control