VerticalAlignment 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 for visual style elements with a fixed size.

Namespace:   System.Windows.Forms.VisualStyles
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public enum VerticalAlignment

Member nameDescription
Bottom

The element is aligned to the bottom.

Center

The element is centered vertically.

Top

The element is aligned to the top.

The VerticalAlignment values represent the return values of the VisualStyleRenderer.GetEnumValue method when it is called with an argument value of EnumProperty.VerticalAlignment.

.NET Framework
Available since 2.0
Return to top
Show: