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.
Remarks
Custom icons should be 40x40 PNG files, with a transparent background. Windows draws the ring around the icon for you, and provide a fill for the ring as needed.
Requirements
|
Minimum supported client | Windows 8 [Windows Store apps only] |
|---|---|
|
Minimum supported server | Windows Server 2012 [Windows Store apps only] |
|
Namespace |
WinJS.UI |
|
Library |
|
See also
Build date: 12/5/2012