Skip to main content

TcxCustomButton.PopupAlignment Property

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

Declaration

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