BCGControlBar Library for .NET
ToolbarButton Class
Members 




Inherits BCGSoft.Controls.Shared.CommandButton. Supports  such interfaces as ISupportCmdUI, IDataObject, ICloneable, ISerializable.

ToolbarButton objects are non-Windows controls that reside on toolbars. Their behavior is similar to the regular buttons and they can be assigned an image and a text label. In addition, a toolbar button can have a command ID. This command is executed when the user clicks the button.

The ToolbarButton class can serve as a base class for more complicated toolbar button objects, like "menu button", "edit box button" or "combo box button".  Toolbar buttons are usually placed on the toolbars. When a toolbar button is clicked, it's host toolbar fires the ToolbarButtonClick event.

Usually, toolbar buttons can be customized, the user is able to drag them from one toolbar to another, copy, paste, delete, edit text labels and images.

Object Model
ToolbarButton ClassCommandBarManager ClassCommandEntry ClassCommandBar ClassToolbarButton ClassCommandBar ClassPopupMenuBar ClassToolbar Class
Syntax
Inheritance Hierarchy

System.Object
   System.MarshalByRefObject
      System.ComponentModel.Component
         BCGSoft.Controls.Shared.CommandObject
            BCGSoft.Controls.Shared.CommandButton
               BCGSoft.ControlBars.ToolbarButton
                  BCGSoft.ControlBars.Ribbon.RibbonBackstageCloseButton
                  BCGSoft.ControlBars.Ribbon.RibbonStatusBarPane
                  BCGSoft.ControlBars.Ribbon.ToolbarLaunchButton
                  BCGSoft.ControlBars.ToolbarMenuButton
                  BCGSoft.ControlBars.ToolbarSysMenuButton
                  BCGSoft.Controls.BackstageView.BackstageQATButton
                  BCGSoft.Controls.BackstageView.BackstageTabItem

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ToolbarButton Members
BCGSoft.ControlBars Namespace

Send Feedback