This documentation is archived and is not being maintained.

VerticalAlign Enumeration

Specifies the vertical alignment of an object or text in a control.

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

Remarks

The VerticalAlign enumeration represents the different vertical alignment options for an object or text in a control.

Members

Member name Description
Bottom Text or object is aligned with the bottom of the enclosing control.
Middle Text or object is aligned with the center of the enclosing control.
NotSet Vertical alignment is not set.
Top Text or object is aligned with the top of the enclosing control.

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 | TableCell.VerticalAlign | TableItemStyle.VerticalAlign | TableRow.VerticalAlign

Show: