System.Windows.Forms.VisualStyles.HorizontalAlign Enumeration

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

Syntax

public enum HorizontalAlign

Remarks

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

Members

Member NameDescription
Center

The element is centered horizontally.

Left

The element is aligned to the left side.

Right

The element is aligned to the right side.

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