Getting rid of Back/Forward buttons in XAML

836 Views Asked by At

I have managed to run magellan's (a library which helps with navigation between pages) hello world project so far. The problem is that I don't know how to get rid of the back/forward buttons - those in the picture:

enter image description here

I think they are there by default there, regardless of the library.

For the library to work, I got to insert this line in MainWindow.xaml:

<Frame x:Name="MainFrame" />    

Is there a way to make the buttons go away?

Thank you in advance.

1

There are 1 best solutions below

0
On

Try like this:

<Frame x:Name="MainFrame" NavigationUIVisibility="Hidden" />