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.
Gets or sets the selected state of a toggle button.
Syntax
var selected = menuCommand.selected;
menuCommand.selected = selected;
Property value
Type: Boolean
true if the toggle button is selected; otherwise, false. This is valid only when the type is "toggle".
Requirements
Minimum WinJS version |
WinJS 1.0 |
Namespace |
WinJS.UI |
See also
Designers
Guidelines for flyouts
Guidelines for context menus