GefContextMenu.MenuItems (read-only property)

Represents the collection of menu items in the menu.
Syntax: Set GefContextMenuItems = object.MenuItems
Description: The MenuItems property returns a collection which contains the menu items that are contained in the context menu.

Example:

Sub OnPreContextMenu(oContextMenu As GefContextMenu)
    
  oContextMenu.MenuItems.Item(0).Enabled = False
    
End Sub