Skip to main content

TdxBadge.Alignment Property

Specifies the badge adorner’s base position in relation to the target UI element.

Declaration

property Alignment: TcxEditAlignment read; write;

Property Value

Type
TcxEditAlignment

Remarks

Use the Alignment.Horz and Alignment.Vert properties to set one of the nine available relative positions of the badge’s center within the target element:

Alignment Values Horz = taLeftJustify Horz = taCenter Horz = taRightJustify
Vert = taTopJustify
Vert = taVCenter
Vert = taBottomJustify

Additionally, you can specify the absolute horizontal and/or vertical offset values (in pixels) from the selected base position by using the Offset property.

See Also