다음을 통해 공유


WinJS.UI.AppBarIcon enumeration

Specifies the icon associated with an AppBarCommand object.

Syntax

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

Members

The AppBarIcon enumeration has these members.

Member Value Description
[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.

Member Description
Accept
Accounts
Add
AddFriend
Admin
AlignCenter
AlignLeft
Alignright
AllApps
Attach
AttachCamera
Audio
Back
BackToWindow
BlockContact
Bold
Bookmarks
BrowsePhotos
BulletedList
Calculator
Calendar
CalendarDay
CalendarReply
CalendarWeek
Camera
Cancel
Caption
CC
Cellphone
Characters
Clear
ClearSelection
ClosePane
Cloud
Comment
Contact
Contact2
ContactInfo
ContactPresence
Copy
Crop
Cut
Delete
Directions
DisableUpdates
DisconnectDrive
Dislike
DockBottom
DockLeft
DockRight
Document
Download
Edit
Emoji
Emoji2
FavoriteList
FavoriteStar
FavoriteStarFill
Filter
FindLegacy
Flag
Folder
Font
Fontcolor
FontDecrease
FontIncrease
FontSize
Forward
FourBars
FullScreen
Globe
Go
GoToStart
GoToToday
Hangup
Help
HideBCC
Highlight
Home
Import
ImportAll
Important
Italic
KeyboardClassic
LeaveChat
Library
Like
LikeDislike
Link
List
Location
Mail
MailFill
MailForward
MailReply
MailReplyAll
Manage
MapDrive
Mappin
Memo
Message
Microphone
More
MoveToFolder
MusicInfo
Mute
NewFolder
NewWindow
Next
OneBar
OpenFile
OpenLocal
OpenPane
OpenWith
Orientation
OtherUser
OutlineStarLegacy
Page
Paste
Pause
People
Permissions
Phone
PhoneBook
Pin
Play
PostUpdate
Preview
PreviewLink
Previous
Priority
ProtectedDocument
Read
Redo
Refresh
Remote
Remove
Rename
Repair
RepeatAll
RepeatOne
ReportHacked
Reshare
Rotate
RotateCamera
Save
SaveLocal
Scan
SelectAll
Send
SetLockScreen
SetTile
Settings
Share
Shop
ShowBCC
ShowResults
Shuffle
Slideshow
SolidStarLegacy
Sort
Stop
Street
Switch
SwitchApps
Sync
SyncFolder
Tag
ThreeBars
TouchPointer
Trim
TwoBars
TwoPage
Underline
Undo
UnFavorite
UnPin
UnSyncFolder
Up
Upload
VideoChat
View
ViewAll
Volume
Webcam
World
ZeroBars
Zoom
ZoomIn
ZoomOut

 

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 WinJS version

WinJS 1.0

Namespace

WinJS.UI

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