BCGControlBar Library for .NET
CommandButton Class
Members 




Inherits from CommandObject of namespace  BCGSoft.Controls.Shared. Represents a command button control that can be drawn on the command bar. The Command Bar class has a set of properties to specify the text and image on the command button.

Object Model
CommandButton Class
Syntax
'Declaration
 
Public Class CommandButton 
   Inherits CommandObject
   Implements ICommandObject 
'Usage
 
Dim instance As CommandButton
public class CommandButton : CommandObject, ICommandObject  
public __gc class CommandButton : public CommandObject, ICommandObject  
public ref class CommandButton : public CommandObject, ICommandObject  
Remarks

The property Text specifies the text string displayed on the button, property InternalImageID – the image from IMAGE_IDS enumeration to be drawn on the button. The position of the text and image relative to each other is defined by the property TextImagePosition.  The visibility of text and image indicates accordingly boolean properties ShowImage and ShowText. Property IgnoreLargeIconsMode specifies if the size of button image changes on setting large icons mode.

Inheritance Hierarchy

System.Object
   System.MarshalByRefObject
      System.ComponentModel.Component
         BCGSoft.Controls.Shared.CommandObject
            BCGSoft.Controls.Shared.CommandButton
               BCGSoft.ControlBars.GalleryCommandObject
               BCGSoft.ControlBars.GalleryScrollButton
               BCGSoft.ControlBars.ToolbarButton
               BCGSoft.Controls.BackstageView.BackstagePinButton
               BCGSoft.Controls.BackstageView.BackstageTabButton
               BCGSoft.Controls.OutlookBar.OutlookBarItem
               BCGSoft.Controls.OutlookBar.OutlookMenuItem
               BCGSoft.Controls.OutlookBar.OutlookToolbarButton
               BCGSoft.Controls.Shared.AutomaticButton
               BCGSoft.Controls.Shared.OtherButton
               BCGSoft.Controls.Shared.TrackBarButton
               BCGSoft.Controls.TasksPane.TaskItem
               BCGSoft.Controls.TasksPane.TasksGroup
               BCGSoft.Controls.TasksPane.TasksPaneToolbarButton
               BCGSoft.Controls.Toolbox.ToolboxGroup
               BCGSoft.Controls.Toolbox.ToolboxItem

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

CommandButton Members
BCGSoft.Controls.Shared Namespace

Send Feedback