Autodesk Vault ProfessionalVault API

MenuItem Class

Autodesk.DataManagement.Client.Framework.FormsAutodesk.DataManagement.Client.Framework.Forms.Currency

This class represents an item that is to be displayed in a menu, either a top level menu or a context menu

Syntax

public class MenuItem 
Public Class MenuItem 

Constructors

NameDescription
MenuItem

Properties

NameDescription
BeginGroupGets or sets whether this menu item starts a new group. When set to true, there will be a horizontal divider in the menu between this menu item and the one that precedes it
IDGets or sets an ID that uniquely identifies this menu item
ImageGets or sets the image that should be displayed in the menu item. This can be null.
OnExecuteGets or sets a function that is called when the menu item is clicked on
OnUpdateGets or sets a function that will be called to compute whether the menu should be shown, or enabled, or checked before it is displayed
SubMenuItemsGets or sets a list of optional child menu items
TagGets or sets optional data that can be associated with this menu item.
TextGets or sets the text that should be displayed for the menu item

Returned By

Where you get a MenuItem — members that return one.

Inheritance Hierarchy

  • System.Object
  • Autodesk.DataManagement.Client.Framework.Forms.Currency.MenuItem

See Also