AppBar represents the container control that holds app UI components for commanding and experiences.

Step 1: Open a blank app and copy the following XAML code into your page which have a AppBar and Corresponding icons.

  1. <Page.BottomAppBar>  
  2.     <AppBar>  
  3.         <StackPanel Orientation="Horizontal">  
  4.             <AppBarToggleButton Icon="Shuffle" Label="Shuffle" />  
  5.             <AppBarToggleButton Icon="RepeatAll" Label="Repeat" />  
  6.             <AppBarSeparator/>  
  7.             <AppBarButton Icon="Back" Label="Back" />  
  8.             <AppBarButton Icon="Stop" Label="Stop" />  
  9.             <AppBarButton Icon="Play" Label="Play" />  
  10.             <AppBarButton Icon="Forward" Label="Forward" />  
  11.         </StackPanel>  
  12.     </AppBar>  
  13. </Page.BottomAppBar>   

An app bar is a UI element that's typically used to present commands and tools to the user, but can also be used for navigation. An app bar can appear at the top of the page, at the bottom of the page, or both. By default, its shown in a minimal state. Its content is shown or hidden when the user presses the ellipsis [•••], or performs a right-click that is not otherwise handled by the app.

You Can assign individual Click event for each icon.

Step 2: Run your application and test yourself.