VerticalAlign Enumeration
TOC
Collapse the table of content
Expand the table of content

VerticalAlign Enumeration

 

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

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public enum VerticalAlign

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.

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

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft