Constructor MenuEntryAttribute
MenuEntryAttribute(string, int)
Constructor for Menu Entry Attribute to define information about the menu item for an action.
Declaration
public MenuEntryAttribute(string path = null, int priority = 9000)
Parameters
Type | Name | Description |
---|---|---|
string | path | Path to the menu. If there is a "/" in the path, it will create one (or multiple) submenu items. |
int | priority | Priority to decide where the menu will be positioned in the menu. The lower the priority, the higher the menu item will be in the context menu. |