65.9K
CodeProject is changing. Read more.
Home

Top and Bottom Appbar in XAML

starIconstarIconstarIconstarIcon
emptyStarIcon
starIcon

4.96/5 (12 votes)

Jul 10, 2014

CPOL
viewsIcon

21732

downloadIcon

370

Top and Bottom Appbar in XAML

Introduction

This tip shows you how to use app bars to show navigation, commands, and tools that can be hidden away when they aren't needed. You can put an app bar at the top of the page, at the bottom of the page, or both.

  1. Create a new blank App name AppBar:

  2. Right click on Common Folder and add new existing item Add the Style.xaml:

  3. Browse your XAML File and add it your Common Folder:

  4. Add this file as Resource Dictionary in App.xaml:

  5. Add two basic pages in Your App:

  6. Create Your First Top AppBar:

  7. For add style, choose style from properties in which choose local resource and any one style.

  8. Create your Bottom AppBar it has only one button.

  9. It’s a click event of button.

  10. Output of your App TopAppBar and BottomAppBar.

Top and Bottom Appbar in XAML - CodeProject