System.Web.UI.WebControls.PanelStyle.HorizontalAlign Property

Gets or sets the horizontal alignment of the contents within a panel control.

Syntax

public virtual HorizontalAlign HorizontalAlign { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The PanelStyle.HorizontalAlign property specifies the horizontal alignment of the contents within a panel control.

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

NotSet

The horizontal alignment is not set.

Left

The contents of the panel are left-aligned.

Center

The contents of the panel are centered.

Right

The contents of the panel are right-aligned.

Note:

. If the PanelStyle.HorizontalAlign property is set to HorizontalAlign.NotSet but the property is set in the control that contains the panel control, the setting is inherited from the containing control.

Requirements

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