Click or drag to resize

CommandItemInfoAttribute Constructor (Boolean, Boolean, swWorkspaceTypes_e, Boolean, swCommandTabButtonTextDisplay_e)

Constructor for specifying additional information about command item

Namespace:  CodeStack.SwEx.AddIn.Attributes
Assembly:  CodeStack.SwEx.AddIn (in CodeStack.SwEx.AddIn.dll) Version: 0.8.1.0 (0.8.1.0)
Syntax
public CommandItemInfoAttribute(
	bool hasMenu,
	bool hasToolbar,
	swWorkspaceTypes_e suppWorkspaces,
	bool showInCmdTabBox,
	swCommandTabButtonTextDisplay_e textStyle = swCommandTabButtonTextDisplay_e.swCommandTabButton_TextBelow
)

Parameters

hasMenu
Type: SystemBoolean
Indicates if this command should be displayed in the menu
hasToolbar
Type: SystemBoolean
Indicates if this command should be displayed in the toolbar
suppWorkspaces
Type: CodeStack.SwEx.AddIn.EnumsswWorkspaceTypes_e
Indicates the workspaces where this command is enabled. This information is used in the default command enable handler
showInCmdTabBox
Type: SystemBoolean
Indicates that this command should be added to command tab box in command manager (ribbon)
textStyle (Optional)
Type: swCommandTabButtonTextDisplay_e
Text display type for command in command tab box as defined in swCommandTabButtonTextDisplay_e Enumeration. This option is applicable when 'showInCmdTabBox' is set to true
See Also