EN
Ce contenu n’est pas disponible dans votre langue. Voici la version anglaise.

WinJS.UI.AppBarIcon enumeration

Applies to Windows and Windows Phone

Specifies the icon associated with an AppBarCommand object.

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 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.

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
uploadskydriveuploadonedrive
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
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
scanscan
previewpreview

 

Examples

Here, we show how to set the icon of an AppBarCommand.

Note  

Always refer to the icon by its member name. 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.


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

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1

Namespace

WinJS.UI

Library

Ui.js

See also

WinJS.UI Namespace
AppBar
AppBarCommand
BackButton
NavBar
Your first app - Part 3: PageControl objects and navigation
Navigating between pages (HTML)
Adding app bars
Adding nav bars
HTML AppBar control sample
HTML NavBar control sample
Navigation and navigation history sample
Designers
Command patterns
Navigation patterns
Guidelines for Segoe UI Symbol icons
Guidelines for app bars
Bottom app bar
Top app bar

 

 

Afficher:
© 2014 Microsoft. Tous droits réservés.