System.Web.UI.WebControls.HorizontalAlign Enumeration

Specifies the horizontal alignment of items within a container.

Syntax

[System.ComponentModel.TypeConverter(typeof(System.Web.UI.WebControls.HorizontalAlignConverter))]
public enum HorizontalAlign

Remarks

The System.Web.UI.WebControls.HorizontalAlign enumeration represents the horizontal alignment options for items within a container, such as a System.Web.UI.WebControls.TableCell.

Members

Member NameDescription
Center

The contents of a container are centered.

Justify

The contents of a container are uniformly spread out and aligned with both the left and right margins.

Left

The contents of a container are left justified.

NotSet

The horizontal alignment is not set.

Right

The contents of a container are right justified.

Requirements

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