System.Web.UI.WebControls.VerticalAlign Enumeration

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

Syntax

[System.ComponentModel.TypeConverter(typeof(System.Web.UI.WebControls.VerticalAlignConverter))]
public enum VerticalAlign

Remarks

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

Members

Member NameDescription
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
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0