System.Windows.Forms.VisualStyles.VerticalAlignment Enumeration

Specifies the vertical alignment for visual style elements with a fixed size.

Syntax

public enum VerticalAlignment

Remarks

The System.Windows.Forms.VisualStyles.VerticalAlignment values represent the return values of the VisualStyleRenderer.GetEnumValue(EnumProperty) method when it is called with an argument value of EnumProperty.VerticalAlignment.

Members

Member NameDescription
Bottom

The element is aligned to the bottom.

Center

The element is centered vertically.

Top

The element is aligned to the top.

Requirements

Namespace: System.Windows.Forms.VisualStyles
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0