PlugInToolBarConnection Class

Definition

Namespace: Color_Goup
Assembly: PCBI_ColorGroups (in PCBI_ColorGroups.dll) Version: 17.0.0.0 (17.0.0.0)
C#
public class PlugInToolBarConnection : IPluginRibbonCommand, 
	IPlugin
Inheritance
Object    PlugInToolBarConnection
Implements
IPlugin, IPluginRibbonCommand

Constructors

PlugInToolBarConnectionInitializes a new instance of the PlugInToolBarConnection class

Properties

Methods

InitEvents This method is called from the PCB-I after adding the PlugIn.
IsActionAllowed The PCB-I checks for existing of the id to execute actions or key-combination.

Explicit Interface Implementations

IPluginRibbonCommandOnCommandExecute Will be called with each command to execute.
IPluginRibbonCommandRegisterCommand Register your own commands here like this: int MyCmdID = Parent.UIAction.RegisterID(new PCBI.Plugin.Interfaces.IRegisterItem() { Text = PCB_Investigator.Localization.PCBILocalization.TranslateToCurrentLanguage("CommandName"), MetroStyleIcon = icon, ToolTip = "...", RegisterType = RegisterItemType.BUTTON, GUID = "ID_MY_COMMAND", Category = "PlugIn", EnableOn = Availability.Always });

See Also