Autodesk Vault ProfessionalVault API

CommandItem Class

Autodesk.Connectivity.Explorer.ExtensibilityAutodesk.Connectivity.Explorer.Extensibility

A CommandItem is the pull-right menu entry; CommandItems must be added to a CommandSite.

Syntax

public sealed class CommandItem 
Public NotInheritable Class CommandItem 

Constructors

NameDescription
CommandItemCreates a command item.

Properties

NameDescription
DescriptionGets or sets the descriptive text that displays for this command in a Customize dialog. It gives more detail about what the command does.
HintGets or sets the text representing the tooltip contents for the command item
IdGets the Guid for this CommandItem; each Guid must be unique
ImageGets or sets the image object to be used as the icon for this command. For best result provide a 32x32 image which still looks good when scaled down to 16x16. Having a transparent color is also suggested.
LabelGets the text displayed in the menu
MultiSelectEnabledGets or sets the value that enables multi-select. If true (the default), this command is enabled when multiple items are selected (subject to filtering by NavigationType). If false, this command is enabled only when a single item is selected.
NavigationTypesGets or sets the object types for which this command is available. If not specified, this command is always available.
ToolbarPaintStyleGets or sets the PaintStyle for this CommandItem when deployed on a toolbar.

Events

NameDescription
ExecuteThe Execute event is fired when this command is activated; usually a result of the selecting this menu item.

Returned By

Where you get a CommandItem — members that return one.

Inheritance Hierarchy

  • System.Object
  • Autodesk.Connectivity.Explorer.Extensibility.CommandItem

See Also