Label - CaptionAlignment Property

Position of the caption within the control

Member of Label (PRIM_MD.Label)

Data Type - Enumeration

Details

The CaptionAlignment property specifies where the text will be positioned within the control.

Allowed Values

Enum Value

Description

BottomCenter

Horizontally centered and attached to the bottom edge

BottomLeft

Left justified and attached to the bottom edge

BottomRight

Right justified and attached to the bottom edge

Center

Horizontally and vertically centered

CenterLeft

Left justified and vertically centered

CenterRight

Right justified and vertically centered

TopCenter

Horizontally centered and attached to the upper edge

TopLeft

Left justified and attached to the upper edge

TopRight

Right justified and attached to the upper edge


See also

All Component Classes

Technical Reference