TcxCustomButton.DropDownMenu Property
Identifies a popup menu component to be used as a dropdown menu for the button.
Declaration
property DropDownMenu: TComponent read; write;
Property Value
Type |
---|
TComponent |
Remarks
Supported popup menu components include:
An ExpressBars popup menu;
Any TdxBarPopupMenu descendant;
A TPopupMenu component or its descendant.
To incorporate a dropdown menu, the Kind property of the button must be set to cxbkDropDown, cxbkDropDownButton, or cxbkOfficeDropDown. The specified menu appears when a user clicks the button or the dropdown button located at the right side of this button.
Handle the OnDropDownMenuPopupEx to dynamically assign a dropdown menu.
See Also