Windows Dev Center

Expand Minimize

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 MDL2 Symbol font that appear as icons in the app bar.

MemberDescription
AcceptAccept
AccountsAccounts
AddAdd
AddFriendAddfriend
AdminAdmin
AlignCenterAligncenter
AlignLeftAlignleft
AlignrightAlignright
AllAppsAllapps
AttachAttach
AttachCameraAttachcamera
AudioAudio
BackBack
BackToWindowBacktowindow
BlockContactBlockcontact
BoldBold
BookmarksBookmarks
BrowsePhotosBrowsephotos
BulletedListBulletedlist
CalculatorCalculator
CalendarCalendar
CalendarDayCalendarday
CalendarReplyCalendarreply
CalendarWeekCalendarweek
CameraCamera
CancelCancel
CaptionCaption
CCCC
CellphoneCellphone
CharactersCharacters
ClearClear
ClearSelectionClearselection
ClosePaneClosepane
CloudCloud
CommentComment
ContactContact
Contact2Contact2
ContactInfoContactinfo
ContactPresenceContactpresence
CopyCopy
CropCrop
CutCut
DeleteDelete
DirectionsDirections
DisableUpdatesDisableupdates
DisconnectDriveDisconnectdrive
DislikeDislike
DockBottomDockbottom
DockLeftDockleft
DockRightDockright
DocumentDocument
DownloadDownload
EditEdit
EmojiEmoji
Emoji2Emoji2
FavoriteListFavoritelist
FavoriteStarFavoritestar
FavoriteStarFillFavoritestarfill
FilterFilter
FindLegacyFindlegacy
FlagFlag
FolderFolder
FontFont
FontcolorFontcolor
FontDecreaseFontdecrease
FontIncreaseFontincrease
FontSizeFontsize
ForwardForward
FourBarsFourbars
FullScreenFullscreen
GlobeGlobe
GoGo
GoToStartGotostart
GoToTodayGototoday
HangupHangup
HelpHelp
HideBCCHidebcc
HighlightHighlight
HomeHome
ImportImport
ImportAllImportall
ImportantImportant
ItalicItalic
KeyboardClassicKeyboardclassic
LeaveChatLeavechat
LibraryLibrary
LikeLike
LikeDislikeLikedislike
LinkLink
ListList
LocationLocation
MailMail
MailFillMailfill
MailForwardMailforward
MailReplyMailreply
MailReplyAllMailreplyall
ManageManage
MapDriveMapdrive
MappinMappin
MemoMemo
MessageMessage
MicrophoneMicrophone
MoreMore
MoveToFolderMovetofolder
MusicInfoMusicinfo
MuteMute
NewFolderNewfolder
NewWindowNewwindow
NextNext
OneBarOnebar
OpenFileOpenfile
OpenLocalOpenlocal
OpenPaneOpenpane
OpenWithOpenwith
OrientationOrientation
OtherUserOtheruser
OutlineStarLegacyOutlinestarlegacy
PagePage
PastePaste
PausePause
PeoplePeople
PermissionsPermissions
PhonePhone
PhoneBookPhonebook
PinPin
PlayPlay
PostUpdatePostupdate
PreviewPreview
PreviewLinkPreviewlink
PreviousPrevious
PriorityPriority
ProtectedDocumentProtecteddocument
ReadRead
RedoRedo
RefreshRefresh
RemoteRemote
RemoveRemove
RenameRename
RepairRepair
RepeatAllRepeatall
RepeatOneRepeatone
ReportHackedReporthacked
ReshareReshare
RotateRotate
RotateCameraRotatecamera
SaveSave
SaveLocalSavelocal
ScanScan
SelectAllSelectall
SendSend
SetLockScreenSetlockscreen
SetTileSettile
SettingsSettings
ShareShare
ShopShop
ShowBCCShowbcc
ShowResultsShowresults
ShuffleShuffle
SlideshowSlideshow
SolidStarLegacySolidstarlegacy
SortSort
StopStop
StreetStreet
SwitchSwitch
SwitchAppsSwitchapps
SyncSync
SyncFolderSyncfolder
TagTag
ThreeBarsThreebars
TouchPointerTouchpointer
TrimTrim
TwoBarsTwobars
TwoPageTwopage
UnderlineUnderline
UndoUndo
UnFavoriteUnfavorite
UnPinUnpin
UnSyncFolderUnsyncfolder
UpUp
UploadUpload
VideoChatVideochat
ViewView
ViewAllViewall
VolumeVolume
WebcamWebcam
WorldWorld
ZeroBarsZerobars
ZoomZoom
ZoomInZoomin
ZoomOutZoomout

 

Examples

This example shows 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 10

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows 10 Mobile

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

 

 

Show:
© 2015 Microsoft