BCGControlBar Library for .NET
InsertCommandButton Method




The zero-based index at which the command buttonshould be inserted.

The IMAGE_IDS image of the button to insert.
The command identifier of the button to insert.

Inserts command button into the item collection of the command panel at the specified position with specified value and command identifier.

Syntax
'Declaration
 
Public Function InsertCommandButton( _
   ByVal index As Integer, _
   ByVal value As IMAGES_IDS, _
   ByVal command As TabStripCommand _
) As CommandButton
'Usage
 
Dim instance As TabStripCommandPanel
Dim index As Integer
Dim value As IMAGES_IDS
Dim command As TabStripCommand
Dim value As CommandButton
 
value = instance.InsertCommandButton(index, value, command)
public CommandButton InsertCommandButton( 
   int index,
   IMAGES_IDS value,
   TabStripCommand command
)
public: CommandButton* InsertCommandButton( 
   int index,
   IMAGES_IDS value,
   TabStripCommand command
) 
public:
CommandButton^ InsertCommandButton( 
   int index,
   IMAGES_IDS value,
   TabStripCommand command
) 

Parameters

index

The zero-based index at which the command buttonshould be inserted.

value
The IMAGE_IDS image of the button to insert.
command
The command identifier of the button to insert.
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

TabStripCommandPanel Class
TabStripCommandPanel Members

Send Feedback