How to hide the navigation bar in a WPF page

Geeth picture Geeth · Jun 17, 2010 · Viewed 50.8k times · Source

I want to hide the navigation bar in a page created using WPF. I have tried ShowsNavigationUI = false, but it is still displaying the control.

Answer

SiwachGaurav picture SiwachGaurav · Jan 4, 2013

just tell in Your page Container , you want navigation bar or not, using NavigationUIVisibility property.

<Frame Margin="173,41,1,28" Name="frmPageContainer" NavigationUIVisibility="Hidden" Panel.ZIndex="1" >