System.Web.UI.WebControls.TableStyle.HorizontalAlign Property

Gets or sets the horizontal alignment of the table within its container.

Syntax

[System.ComponentModel.DefaultValue(System.Web.UI.WebControls.HorizontalAlign.NotSet)]
[System.ComponentModel.NotifyParentProperty(true)]
public virtual HorizontalAlign HorizontalAlign { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the TableStyle.HorizontalAlign property to specify the horizontal alignment of the data list control within its container. This property is set with one of the System.Web.UI.WebControls.HorizontalAlign enumeration values. The following table lists the possible values.

HorizontalAlign.NotSet

The horizontal alignment is not set.

HorizontalAlign.Left

The table is left justified within its container.

HorizontalAlign.Center

The table is centered within its container.

HorizontalAlign.Right

The table is right justified within its container.

The value of this property is stored in view state.

Requirements

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