Windows Phone 8.1 and Windows Runtime Apps How to #19 – Specify the Minimized mode for BottomAppBar.

The Application Bar in Windows Phone 8 and Windows Phone 8.1 (Silverlight template) has the property Mode=”Minimized” which lets you to specify whether icon buttons are displayed when the app bar is not completely open.

How to specify Minimized Mode for BottomAppBar in Windows Phone 8.1 (Windows Runtime Apps) ?

When the Page BottomBar is added to the screen , by default the appbar button will shown along with the ellipse button.

SNAGHTML2d86339

We can modify this behaviour by minimizing the CommandBar by default so that the AppBarButtons are not shown by default. Set the ClosedDisplayMode property of the CommandBar to minimal.

<Page.BottomAppBar>
   <CommandBar ClosedDisplayMode="Minimal">
      <AppBarButton Icon="Like"/>
   </CommandBar>
</Page.BottomAppBar>

When you run the application , the app AppBarButtons will be hidden when the App Bar is not completely open.

SNAGHTML2dcf8ce

Leave A Reply

Your email address will not be published. Required fields are marked *

You May Also Like

In this post, you’ll learn about the Win32 Error “0x000019E5 – ERROR_COULD_NOT_RESIZE_LOG” that you get when debugging system erors in...
In this post, you’ll learn about the error “CO_E_DBERROR 0x8004E02B” that is returned when working with COM based APIs or...
In this post, you’ll learn about the Win32 Error “0x000019D0 – ERROR_LOG_BLOCK_VERSION” that you get when debugging system erors in...