System.Object
Eplan.EplApi.Gui.RibbonBar
System.Object
Eplan.EplApi.Gui.RibbonBar
RibbonBar ribbonBar = new RibbonBar(); ribbonBar.AddCommand("New ribbon button text", "XPartsManagementStart", new RibbonIcon(CommandIcon.Circle_0));
var newTab = new Eplan.EplApi.Gui.RibbonBar().AddTab("New API tab"); var commandGroup = newTab.AddCommandGroup("New API command group"); var command = commandGroup.AddCommand("New API command", "XPartsManagementStart");
Name | Description | |
---|---|---|
RibbonBar Constructor | Default constructor. |
Name | Description | |
---|---|---|
ActiveTab | Returns active tab | |
Icons | Returns icons of the ribbon bar | |
Tabs | Returns tabs of the ribbon bar |
Name | Description | |
---|---|---|
AddCommand | Overloaded. Adds command to the ribbon | |
AddDelayedAction | Calls an action object on the ribbon. If the ribbon doesn't exist yet, the action will be executed after the system start is finished | |
AddIcon | Adds new icon to the ribbon bar | |
AddTab | Overloaded. Adds a new tab to the ribbon | |
Dispose | Destructor for deterministic finalization of MainRibbon object. | |
GetDefaultTab | Returns default tab | |
GetTab | Overloaded. Returns tab by name, multilanguage | |
RegisterCommand | Overloaded. Adds a command to the ribbon. If the ribbon doesn't exist yet, the command will be added after the system start is finished | |
RemoveCommand | Removes command from Extensions->API group | |
RemoveIcon | Removes custom icon from the ribbon bar | |
UnregisterCommand | Overloaded. Removes a command from the ribbon. If the ribbon doesn't exist yet, the command will be removed after the system start is finished |