ICustomToolBar Interface

Information for Developers

The ICustomToolBar interface lets you build a custom toolbar to be added to the Tool Strip user interface in Flare.

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 combo box to the toolbar. Returns an instance of IRibbonComboBox. See IRibbonComboBox Interface.
  • IRibbonComboBox AddCombobox(IRibbonMenuData) Adds a combo box to the toolbar. Returns an instance of IRibbonComboBox. See IRibbonComboBox Interface.
  • IRibbonMenu AddMenuButton(string, string, RibbonIconSize, string, string, string) Adds a menu button to the toolbar. Returns an instance of IRibbonMenu. See IRibbonMenu Interface.
  • IRibbonMenu AddMenuButton(IRibbonMenuData) Adds a menu button to the toolbar. Returns an instance of IRibbonMenu. See IRibbonMenu Interface.
  • voidAddSeparator() 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. See IRibbonMenu Interface.
  • IRibbonMenu AddSplitMenuButton(IRibbonMenuData) Adds a split menu button to the toolbar. Returns an instance of IRibbonMenu. See IRibbonMenu Interface.
  • 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 custom toolbar is only visible when the Flare interface is in “Tool Strip” mode.