You are here: Plugin API > Library Reference > IHost Interface > ICustomToolBar
ICustomToolBar
The ICustomToolBar interface allows users to build a custom toolbar to be added to the Tool Strip user interface.
Methods
- Button AddButton(string, ICommand, object, string, RibbonIconSize, string, string, string) - Adds a button to the toolbar. Returns an instance of System.Windows.Controls.Button.
- Button AddButton(IRibbonControlData) - Adds a button to the toolbar. Returns an instance of System.Windows.Controls.Button.
- IRibbonComboBox AddCombobox(string, ICommand, object, string, RibbonIconSize, string, string, string) - Adds a combobox to the toolbar. Returns an instance of IRibbonComboBox.
- IRibbonComboBox AddCombobox(IRibbonMenuData) - Adds a combobox to the toolbar. Returns an instance of IRibbonComboBox.
- IRibbonMenu AddMenuButton(string, string, RibbonIconSize, string, string, string) - Adds a menu button to the toolbar. Returns an instance of IRibbonMenu.
- IRibbonMenu AddMenuButton(IRibbonMenuData) - Adds a menu button to the toolbar. Returns an instance of IRibbonMenu.
- void AddSeparator() - Adds a separator to the toolbar.
- IRibbonMenu AddSplitMenuButton(string, ICommand, object, string, RibbonIconSize, string, string, string) - Adds a split menu button to the toolbar. Returns an instance of IRibbonMenu.
- IRibbonMenu AddSplitMenuButton(IRibbonMenuData) - Adds a split menu button to the toolbar. Returns an instance of IRibbonMenu.
- ToggleButton AddToggleButton(string, ICommand, object, string, RibbonIconSize, string, string, string) - Adds a split menu button to the toolbar. Returns an instance of System.Windows.Controls.Primitives.ToggleButton.
- ToggleButton AddToggleButton(IRibbonControlData) - Adds a split menu button to the toolbar. Returns an instance of System.Windows.Controls.Primitives.ToggleButton.
Note: The toolbar is visible only in the Tool Strip interface.