System.Web.UI.WebControls.BaseDataList.HorizontalAlign Property

Gets or sets the horizontal alignment of a data listing control within its container.

Syntax

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

Value

Documentation for this section has not yet been entered.

Remarks

Use the BaseDataList.HorizontalAlign property to specify the horizontal alignment of a data listing 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.

NotSet

The horizontal alignment is not set.

Left

The data listing control is left-aligned within its container.

Center

The data listing control is centered within its container.

Right

The data listing control is right-aligned within its container.

Requirements

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