This documentation is archived and is not being maintained.

HorizontalAlign Enumeration

Specifies the horizonal alignment of items within a container.

[Visual Basic]
<Serializable>
Public Enum HorizontalAlign
[C#]
[Serializable]
public enum HorizontalAlign
[C++]
[Serializable]
__value public enum HorizontalAlign
[JScript]
public
   Serializable
enum HorizontalAlign

Remarks

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

Members

Member name Description
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

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

Assembly: System.Web (in System.Web.dll)

See Also

System.Web.UI.WebControls Namespace

Show: