System.Web.UI.WebControls.Panel.Direction Property

Gets or sets the direction in which to display controls that include text in a System.Web.UI.WebControls.Panel control.

Syntax

public virtual ContentDirection Direction { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the Panel.Direction property to specify the display direction for controls that include text in a System.Web.UI.WebControls.Panel control. This property is set using one of the System.Web.UI.WebControls.ContentDirection enumeration values. The following table lists the possible values.

NotSet

The content direction is not set.

LeftToRight

The content direction is left to right.

RightToLeft

The content direction is right to left.

If you specify LeftToRight, child controls that include text display from left to right. If you specify RightToLeft, child controls that include text display right to left. Use RightToLeft to display text for languages that are written from right to left, such as Arabic or Hebrew.

Note:

This property is supported only on browsers that support HTML 4.0 or later.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0