✅ Navigating my window only display the next page's name instead of its contents
I hope you're all well. I got stuck on a WPF XAML problem where my pages wouldn't navigate and after a while of research, I still can't seem to figure it out. Basically, I have my Main Window page which has a button event that changes the page's content using the frame to the content of the new page ("OrdersPage.xaml")
I've written my MainWindow XAML like so:
My OrdersPage looks like this:
And in the C# behind this class is a method that handles a button press which looks like this:
From what I wrote and reading off of other articles I believe that this is written correctly, however when I run my program and click on the button it displays in the top left-corner, "OrdersPage.xaml" as a small black text. (Image here):
I am really confused on why this is happening and would appreciate any help.
4 Replies
Anyone know how to resolve this please ?
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.
Still waiting for help while attempting other solutions
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.