Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
.png)
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