Common Application Framework

MenuTool Properties

The properties of the MenuTool class are listed below. For a complete list of MenuTool class members, see the MenuTool Members topic.

Public Instance Properties

AllowTearaway Gets or sets whether the menu can be torn off
AutoUpdate Gets or sets whether the Image, Tooltip and Command are automaticaly updated.
Caption Gets or sets the tool caption
Category Gets or sets the tools category
Checked Gets or sets whether the tool is in the checked state.
Command Gets the command object which was associated with the tool when it was created.
DropDownArrowStyle Returns or sets the style of the dropdown arrow for the popup menu.
Enabled Gets or sets the enabled state of the tool.
Image Gets or sets the image displayed on the tool
IsContextMenu Gets or sets whether the menu is a context menu
IsFirstInGroup Gets or sets a flag which indicated whether an instance tool is the first in a tool group. A separator will be displayed before a tool if this property is set to true.
Key The Key of the tool in the RootToolsCollection
OptionSetKey Gets or sets the OptionSet key for the tool. Setting the key assigns the tool to the CommandBarManagers OptionSet which has this key.
PopupStyle Gets or sets the popup style of the menu (Menu or CommandBar)
Shortcut Gets or sets the shortcut associated with a tool.
Tag Gets or sets the tag property which can be used to logically attach another object or value to a tool.
Tools Gets the ToolsCollection containing the tools to display in the popup menu.
Tooltip Gets or sets the tools tooltip
Value Gets or sets the value of the tool.
Visible Gets or sets the visibility of the tool.

See Also

MenuTool Class | Aveva.ApplicationFramework.Presentation Namespace