ContentAlignment Enumeration
.NET Framework (current version)
Specifies how text is aligned in a window caption.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
| Member name | Description | |
|---|---|---|
| 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
Available since 2.0
Show: