Creates an instance of BimCTContextMenu.
The renderer associated with the context menu.
Gets the renderer associated with the popup menu.
The renderer.
Gets whether the menu is currently showing.
True if the menu is showing, otherwise false.
Adds a custom menu item to the default custom menu
The custom menu item to add.
Creates a bold and italic submenu.
The created submenu.
The text of the submenu.
Whether the text is internationalized.
The type of the submenu.
Creates a check menu item.
The created menu item.
The text of the menu item.
Whether the text is internationalized.
The shortcut key for the menu item.
Whether the menu item is checked.
The click event callback.
Optional
enabled: BimCTMenuEnabledCallbackCallback to check if the menu item is enabled.
Creates a menu item.
The created menu item.
The text of the menu item.
Whether the text is internationalized.
The shortcut key for the menu item.
The click event callback.
Optional
enabled: BimCTMenuEnabledCallbackCallback to check if the menu item is enabled.
The image for the menu item.
Creates a submenu.
The created submenu.
The text of the submenu.
Whether the text is internationalized.
The type of the submenu.
Optional
icon: string
Class representing a BimCT context menu.