API Help
Eplan.EplApi.Gui Namespace / Menu Class
Members

In This Topic
    Menu Class
    In This Topic
    Class for modifying menu items. Add-ins can add new menu items to the EPLAN menu. A menu item is connected to an Eplan.EplApi.ApplicationFramework.Action.
    Inheritance Hierarchy

    System.Object
       Eplan.EplApi.Gui.Menu

    Syntax
    public class Menu 
    public ref class Menu 
    Public Constructors
     NameDescription
    Public ConstructorCreates a new object.  
    Top
    Public Methods
     NameDescription
    Public MethodOverloaded. Adds a new main menu with the first menu item.  
    Public MethodOverloaded. Adds a new menu item.  
    Public MethodAdds a new popup menu item with the first menu item.  
    Public MethodAdds a new static popup menu item with the first menu item. This menu is always restored at next start even when the dll is not yet loaded.  
    Public MethodAdds a new static menu item. This menu is always restored at next start even when the dll is not yet loaded.  
    Public MethodAdds a new static popup menu item with the first menu item. This menu is always restored at next start even when the dll is not yet loaded.  
    Public MethodDestructor for deterministic finalization of Menu object.  
    Public MethodGet a menu command id of a custom menu item, e.g. a menu point created by API.  
    Public MethodOverloaded. Gets ID of a persistent EPLAN menu item pointed by the menu path specified as an array of strings.  
    Public MethodGet the checked state of a action in a menu (or/and on a toolbar)  
    Public MethodGet the enabled/disabled state of a action in a menu (or/and on a toolbar)  
    Public MethodOverloaded. Removes a new menu item (which was added with add(Popup)MenuItem. When it was a popup, the complete popup menu is removed, including its separators  
    Public MethodRemoves a static menu item (which was added with AddStatic(Popup)MenuItem. When it was a popup, the complete popup menu is removed, including its separators The menu is also removed from settings  
    Top
    See Also