icon property

AppBarCommand.icon property

[This documentation is preliminary and is subject to change.]

Applies to: Metro style apps only

Gets or sets the icon of the AppBarCommand.

Syntax


var icon = appBarCommand.icon;
appBarCommand.icon = icon;

Property value

Type: string

The icon. This is either one of the values of AppBarIcon, or a custom PNG file.

Requirements

Minimum supported client

Windows 8 Consumer Preview

Minimum supported server

Windows Server 8 Beta

Namespace

WinJS.UI

Library

Ui.js

See also

AppBarCommand
WinJS.UI.AppBarIcon

 

 

Build date: 2/10/2012

Ajouts de la communauté

AJOUTER
Afficher:
© 2016 Microsoft