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

TcxCustomButton.PopupAlignment Property

Specifies the manner in which the dropdown menu is aligned relative to the button.

#Declaration

Delphi
property PopupAlignment: TPopupAlignment read; write; default paLeft;

#Property Value

Type Default
TPopupAlignment paLeft

#Remarks

Use the PopupAlignment property to specify the horizontal placement of the dropdown menu specified via the DropDownMenu property relative to the button. The dropdown menu can be aligned either to its left edge, right edge or centered. See the TPopupAlignment type description in Delphi (C++Builder) documentation for more information on the available values. The table below shows how property values affect the appearance of the dropdown menu for the TcxButton control. The button’s Kind property is set to cxbkDropDown, cxbkDropDownButton, or cxbkOfficeDropDown.

Value Dropdown Menu Appearance
paLeft
paRight
paCenter

The default value of the PopupAlignment property is paLeft.

See Also