i have a WPF Window, and on pressing Button A i want to display some content in a certain area of my window.
when pressing "Button B" the content shall disappear and other content shall appear on that place instead.
What I have tried:
i tried to use the Frame control for that:
i defined 2 WPF Pages (one for content of Button A and one for content of Button B), and on pressing the button the frame.Content was set to the desired page.
But unfortunately as soon as i reset the content to something else i get the navigation bar.
is there a way how i can remove that navigation pane? i only want the contents of the page visible and no navigation and only one page at a time not multiple page with navigation panel