MenuCommand.disabled property
Gets or sets a value that indicates whether the MenuCommand is disabled.
Syntax
<div data-win-control="WinJS.UI.MenuCommand" data-win-options="{ disabled : value}" />
var disabled = menuCommand.disabled;
menuCommand.disabled = disabled;
Property value
Type: Boolean
true if the MenuCommand is disabled; otherwise, false.
Requirements
Minimum WinJS version |
WinJS 1.0 |
Namespace |
WinJS.UI |
See also
Designers
Guidelines for flyouts
Guidelines for context menus