Skip to main content

TdxCustomLayoutControl.OnGetCustomizationMenuItems Event

Enables you to customize context menu contents in customization mode.

Declaration

property OnGetCustomizationMenuItems: TdxLayoutGetCustomizationMenuItemsEvent read; write;

Remarks

This event is fired before any of the following customization context menus are shown.

Sender specifies the layout control that shows the context menu.

ASelectedItems provides a list of selected layout elements.

AMenuItems specifies which items are visible in the menu. This parameter is initialized with an option set assigned via the layout control’s MenuItems property. Customize the AMenuItems parameter value to switch the visibility of specific menu items.

See Also