Compartir a través de


SplitViewCommand.icon property

Gets or sets the SplitViewCommand icon.

Syntax

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

Property value

Type: String

One of the values of AppBarIcon, or a PNG file.

Remarks

Custom icons should be 40x40 PNG files with a transparent background.

Requirements

Minimum WinJS version

WinJS 4.2

Namespace

WinJS.UI

See also

SplitViewCommand

Designers

Command patterns

Navigation patterns