VerticalAlign Enumeration

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: