Method PushSubMenu
PushSubMenu(int, string, string)
Create an action menu item, add a sub-menu to the current menu, and make it the current menu.
Declaration
public MenuBuilder PushSubMenu(int actionId, string labelStr, string iconName)
Parameters
Type | Name | Description |
---|---|---|
int | actionId | A unique identifier for the action. |
string | labelStr | The label of the menu item. |
string | iconName | The icon of the menu item. |
Returns
Type | Description |
---|---|
MenuBuilder | The MenuBuilder instance. |