Back to Devexpress

TdxBadge.Alignment Property

vcl-dxuiadorners-dot-tdxbadge.md

latest1.7 KB
Original Source

TdxBadge.Alignment Property

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

Declaration

delphi
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 ValuesHorz = taLeftJustifyHorz = taCenterHorz = 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

TdxBadge Class

TdxBadge Members

dxUIAdorners Unit