ContentAlignment Enum

Definition

Specifies how text is aligned in a window caption.

C#
public enum ContentAlignment
Inheritance
ContentAlignment

Fields

Name Value Description
Left 0

The text is aligned to the left side.

Center 1

The text is centered.

Right 2

The text is aligned to the right side.

Remarks

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

Applies to

Produit Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9