label property

Command.label property

Applies to Windows and Windows Phone

Gets or sets the Command label.

Syntax


<div 
  data-win-control="WinJS.UI.Command" 
  data-win-options="{ label : value}">
</div>



var label = command.label;
command.label = label;

Property value

Type: String

The label associated with the Command.

Requirements

Minimum WinJS version

WinJS 4.0

Namespace

WinJS.UI

See also

Command

 

 

Show:
© 2017 Microsoft