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

ContentAlignment Enumeration

 

Specifies how text is aligned in a window caption.

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

public enum ContentAlignment

Member nameDescription
Center

The text is centered.

Left

The text is aligned to the left side.

Right

The text is aligned to the right side.

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

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