System.Web.UI.WebControls.PanelStyle.Direction Property

Gets or sets the direction in which to display controls that include text in a panel control.

Syntax

public virtual ContentDirection Direction { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The PanelStyle.Direction property specifies the direction in which to display controls that include text in a panel control.

The PanelStyle.Direction property is set using one of the System.Web.UI.WebControls.ContentDirection values. The following table lists the possible values.

NotSet

The content direction is not set.

LeftToRight

Child controls that include text are displayed from left to right.

RightToLeft

Child controls that include text are displayed from right to left.

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

Requirements

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