WinJS.UI.AppBarIcon enumeration

13 out of 19 rated this helpful - Rate this topic

Specifies an icon that appears in an AppBarCommand object.

The members of this enumeration are the possible values that the AppBarCommand.icon property can take. The members represent characters in the Segoe UI Symbol font that appear as icons in the app bar. You can see the corresponding icons in the Members table later in this topic.

Important  In your code, always refer to the icon by its member name as shown in the following example. Never use the member values themselves; they are not listed in this document and are not guaranteed to remain constant in the future or among different Unicode code points.

Example

This example shows how to set the icon of an AppBarCommand by using JavaScript.


var cmd = document.getElementById("command1").winControl;
cmd.icon = 'pause';


Syntax


var WinJS.UI.AppBarIcon = {
  [see remarks] : [see remarks]
}

Members

The AppBarIcon enumeration has these members.

MemberValueDescription
[see remarks][see remarks]

See Remarks section for complete list.

Remarks

The following shows the members and icons for this enumeration.

previousprevious
nextnext
playplay
pausepause
editedit
savesave
clearclear
deletedelete
removeremove
addadd
cancelcancel
acceptaccept
moremore
redoredo
undoundo
homehome
upup
forwardforward
rightright
backback
leftleft
favoritefavorite
cameracamera
settingssettings
videovideo
syncsync
downloaddownload
mailmail
findfind
helphelp
uploadupload
emojiemoji
twopagetwopage
leavechatleavechat
mailforwardmailforward
clockclock
sendsend
cropcrop
rotatecamerarotatecamera
peoplepeople
closepaneclosepane
openpaneopenpane
worldworld
flagflag
previewlinkpreviewlink
globeglobe
trimtrim
attachcameraattachcamera
zoominzoomin
bookmarksbookmarks
documentdocument
protecteddocumentprotecteddocument
pagepage
bulletsbullets
commentcomment
mail2mail2
contactinfocontactinfo
hanguphangup
viewallviewall
mappinmappin
phonephone
videochatvideochat
switchswitch
contactcontact
renamerename
pinpin
musicinfomusicinfo
gogo
keyboardkeyboard
dockleftdockleft
dockrightdockright
dockbottomdockbottom
remoteremote
refreshrefresh
rotaterotate
shuffleshuffle
listlist
shopshop
selectallselectall
orientationorientation
importimport
importallimportall
browsephotosbrowsephotos
webcamwebcam
picturespictures
savelocalsavelocal
captioncaption
stopstop
showresultsshowresults
volumevolume
repairrepair
messagemessage
page2page2
calendardaycalendarday
calendarweekcalendarweek
calendarcalendar
characterscharacters
mailreplyallmailreplyall
readread
linklink
accountsaccounts
showbccshowbcc
hidebcchidebcc
cutcut
attachattach
pastepaste
filterfilter
copycopy
emoji2emoji2
importantimportant
mailreplymailreply
slideshowslideshow
sortsort
managemanage
allappsallapps
disconnectdrivedisconnectdrive
mapdrivemapdrive
newwindownewwindow
openwithopenwith
contactpresencecontactpresence
prioritypriority
uploadskydriveuploadskydrive
gototodaygototoday
fontfont
fontcolorfontcolor
contact2contact2
folderfolder
audioaudio
placeholderplaceholder
viewview
setlockscreensetlockscreen
settilesettile
cccc
stopslideshowstopslideshow
permissionspermissions
highlighthighlight
disableupdatesdisableupdates
unfavoriteunfavorite
unpinunpin
openlocalopenlocal
mutemute
italicitalic
underlineunderline
bold bold
movetofoldermovetofolder
likedislikelikedislike
dislikedislike
likelike
alignrightalignright
aligncenteraligncenter
alignleftalignleft
zoomzoom
zoomoutzoomout
openfileopenfile
otheruserotheruser
adminadmin
adminadmin
streetstreet
mapmap
clearselectionclearselection
fontdecreasefontdecrease
fontincreasefontincrease
fontsizefontsize
cellphonecellphone
resharereshare
tagtag
repeatonerepeatone
repeatallrepeatall
outlinestaroutlinestar
solidstarsolidstar
calculatorcalculator
directionsdirections
targettarget
librarylibrary>
phonebookphonebook
memomemo
microphonemicrophone
postupdatepostupdate
backtowindowbacktowindow
fullscreenfullscreen
newfoldernewfolder
calendarreplycalendarreply
unsyncfolderunsyncfolder
reporthackedreporthacked
syncfoldersyncfolder
blockcontactblockcontact
switchappsswitchapps
addfriendaddfriend
touchpointertouchpointer
gotostartgotostart
zerobarszerobars
onebaronebar
twobarstwobars
threebarsthreebars
fourbarsfourbars

 

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Namespace

WinJS.UI

Library

Ui.js

See also

WinJS.UI.AppBarCommand
App bar sample

 

 

Build date: 12/5/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.