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

 

This constructor associates a menu group with the toolbar flyout

Visual Basic
Public Sub New(
    name As string, 
    description As string, 
    menuGroup As string, 
    searchAlias As string, 
    parent As Toolbar, 
    index As Integer
)
C#
public ToolbarFlyout(
    string name, 
    string description, 
    string menuGroup, 
    string searchAlias, 
    Toolbar parent, 
    int index
);
Parameters
Parameters 
Description 
string name 
Input the name of the flyout if different from the toolbar. The name will display as a tool tip. 
string description 
Input the description of the flyout. This will display on the status bar. 
string menuGroup 
Input the name of the menu group of the target toolbar. 
string searchAlias 
Input the alias of the target toolbar. 
Toolbar parent 
Input the parent. 
int index 
Input the index in the collection at which to insert flyout. 
Links
   Comments?