HorizontalAlign Enumeration
TOC
Collapse the table of content
Expand the table of content

HorizontalAlign Enumeration

 

Specifies the horizontal 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 HorizontalAlign

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.

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

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft