BCGSoft.ControlBars Namespace : ToolbarButton Class |
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.
'Declaration Public Class ToolbarButton Inherits BCGSoft.Controls.Shared.CommandButton Implements BCGSoft.Controls.Shared.ICommandObject, BCGSoft.Shared.ISupportCmdUI
'Usage Dim instance As ToolbarButton
public class ToolbarButton : BCGSoft.Controls.Shared.CommandButton, BCGSoft.Controls.Shared.ICommandObject, BCGSoft.Shared.ISupportCmdUI
public __gc class ToolbarButton : public BCGSoft.Controls.Shared.CommandButton, BCGSoft.Controls.Shared.ICommandObject, BCGSoft.Shared.ISupportCmdUI
public ref class ToolbarButton : public BCGSoft.Controls.Shared.CommandButton, BCGSoft.Controls.Shared.ICommandObject, BCGSoft.Shared.ISupportCmdUI
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
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