MenuItem Class
Autodesk.DataManagement.Client.Framework.Forms›Autodesk.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
| Name | Description |
|---|---|
| MenuItem |
Properties
| Name | Description |
|---|---|
| BeginGroup | Gets 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 |
| ID | Gets or sets an ID that uniquely identifies this menu item |
| Image | Gets or sets the image that should be displayed in the menu item. This can be null. |
| OnExecute | Gets or sets a function that is called when the menu item is clicked on |
| OnUpdate | Gets or sets a function that will be called to compute whether the menu should be shown, or enabled, or checked before it is displayed |
| SubMenuItems | Gets or sets a list of optional child menu items |
| Tag | Gets or sets optional data that can be associated with this menu item. |
| Text | Gets 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