Autodesk.AutoCAD.Customization Namespace > ToolbarButton Class > ToolbarButton Constructor > ToolbarButton(Toolbar, int) Constructor
ToolbarButton.ToolbarButton(Toolbar, int) Constructor
Description

 

This constructor sets a parent and index position.

Visual Basic
Public Sub New(
    parent As Toolbar, 
    index As Integer
)
C#
public ToolbarButton(
    Toolbar parent, 
    int index
);
Parameters
Parameters 
Description 
Toolbar parent 
Input the parent. 
int index 
Input the index at which to inserts the button into the parent toolbar. 
Links
   Comments?