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

TcxPopupMenuLayout Class

Stores context menu layout settings for an unbound or data-aware image editor.

#Declaration

Delphi
TcxPopupMenuLayout = class(
    TPersistent
)

#Remarks

Users can invoke the following context menu to activate built-in image editor commands:

VCL Editors Library: The Default Context Menu

#Main API Members

The list below outlines key members of the TcxPopupMenuLayout class that allow you to customize the context menu in image editors.

MenuItems

Allows you to remove individual predefined menu items or add a custom item at the bottom of the menu.

You can handle the image editor’s Properties.OnCustomClick event to respond to clicks on the custom menu item.

CustomMenuItemCaption | CustomMenuItemGlyph
Specify caption and glyph for a custom menu item.

#Direct TcxPopupMenuLayout Class Reference

The TcxCustomImageProperties.PopupMenuLayout property references a TcxPopupMenuLayout object.

#Inheritance

TObject
TPersistent
TcxPopupMenuLayout
See Also