VerticalAlignment Enumeration

 

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: