TdxRibbonGalleryBaseOptions.PopupMenu Property
Specifies a custom popup menu for a ribbon gallery or its groups.
Declaration
property PopupMenu: TdxBarCustomPopupMenu read; write;
Property Value
Type |
---|
TdxBarCustomPopupMenu |
Remarks
This property allows you to replace the default popup menu with a custom popup that contains commands you specified.
To populate a custom popup menu with items, double-click a popup menu component and choose the “PopupMenu Editor…” item in the context menu.
The gallery or group displays the default popup menu if there is no assigned TdxBarCustomPopupMenu descendant to the PopupMenu property.
Note
A gallery does not display an empty popup menu (that is, the ItemLinks property value is 0).
See Also