Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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 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