In This Article

Hiding Pane Buttons

The NavigationBar control can optionally hide its pane buttons, allowing it to be used as a simple headered container with the styles that match a "normal" looking NavigationBar.

Screenshot

A NavigationBar control in the Luna normal-color theme containing a single pane, and with pane buttons hidden

To achieve this effect, set the ArePanesVisible to false. Be sure to set IsMinimizable to false as well.

If you are using Office 2010 themes, also set the BorderThickness propery to 1 (since there is no border by default in those themes) and IsHeaderContentVisible to true (since header content is not displayed by default in those themes).

Note

The appearance of the NavigationBar in this mode depends on the theme that is currently active.