Back to Devexpress

TcxCustomButton.PopupAlignment Property

vcl-cxbuttons-dot-tcxcustombutton-25c15819.md

latest1.8 KB
Original Source

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

TypeDefault
TPopupAlignmentpaLeft

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.

ValueDropdown Menu Appearance
paLeft
paRight
paCenter

The default value of the PopupAlignment property is paLeft.

See Also

TcxCustomButton Class

TcxCustomButton Members

cxButtons Unit