Menu.commands property
Sets the MenuCommand objects that appear in the menu
Syntax
menu.commands = commands;
Property value
Type: MenuCommand**
A single MenuCommand, or an array of them, to be set in the menu.
Requirements
Minimum WinJS version |
WinJS 1.0 |
Namespace |
WinJS.UI |
See also
MenuCommand
Designers
Guidelines for flyouts
Guidelines for context menus