ShoeLace1291
ShoeLace1291

Reputation: 4698

How do I remove the navigation bar from a frame in WPF?

I have a frame in my WPF application that will hold the content of different pages. The problem is that by default it has this ugly navigation bar at the top of the frame. I don't want this nav bar to appear at all. How do I remove this?

enter image description here

Upvotes: 2

Views: 5205

Answers (1)

mm8
mm8

Reputation: 169280

Set the NavigationUIVisibility property of the Frame to Hidden:

<Frame NavigationUIVisibility="Hidden" Source="Page1.xaml"/>

Upvotes: 10

Related Questions