Constructor MainMenuItemAttribute
MainMenuItemAttribute(bool)
Custom constructor for hiding item from the main menu
Declaration
public MainMenuItemAttribute(bool shown)
Parameters
Type | Name | Description |
---|---|---|
bool | shown |
MainMenuItemAttribute(string, string, string, Type)
Constructor
Declaration
public MainMenuItemAttribute(string name, string sectionName, string description, Type tooltipType = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Display name of this tool, action, workspace, etc. |
string | sectionName | Section to place this tool, action, workspace, etc. |
string | description | Description of this tool, action, workspace, etc. |
Type | tooltipType | (Optional) Tooltip type if a tooltip is needed |