共用方式為


SplitViewCommand.label property

Gets or sets the SplitViewCommand label.

Syntax

<div 
    data-win-control="WinJS.UI.SplitViewCommand" 
    data-win-options="{ label : 'value'}">
</div>
var label = splitViewCommand.label;
splitViewCommand.label = label;

Property value

Type: String

The label associated with the SplitViewCommand.

Requirements

Minimum WinJS version

WinJS 4.2

Namespace

WinJS.UI

See also

SplitViewCommand

Designers

Command patterns

Navigation patterns