Search code examples
c#win-universal-appwindows-10-mobile

How to create the new bar?


as you can see in the picture, Windows 10 mobile is using lots of These bars at the bottom. It has Icons (in the picture: "Mailbox", the "Plus" sign etc.) in it and over it are a few Options ("Einstellungen" etc.)which appear when you click the three points. But how Looks the General form of them in C#?

I went through the whole Internet but I still can´t find out how you create These bars.

enter image description here


Solution

  • You are looking for a CommandBar class, which is placed in a Page.BottomAppBar, especially check its properties like PrimaryCommands and SecondaryCommands.

    You should use a special AppBarButton s inside a CommandBar, whuch are classic Buttons but with a special rendering, to create it you just set the Icon and Label.

    Check the guidelines for command bars.