Using Mahapps.metro, and stumbling into a problem.
I want to page paged content, all controlled via a frame within metro window.
There are two things I cannot figure out how to do, which was easy enough whilst working all within one window without the pages.
First off, I want to use their dialogs. The following line worked previousely whilst used directly within the window:
await this.ShowMessageAsync("This is the title", "User Setting: " + x);
However, it now gives the following error:
Instance argument: cannot convert from 'GameWindow.MainMenu' to 'MahApps.Metro.Controls.MetroWindow'
I have tried searching for an answer, as well as trying things such as
await this.Parent.ShowMessageAsync("This is the title", "User Setting: " + x);
but all to no avail.
Secondly, I have a flyout configured in my window, which I need to access from a page within the frame also. I cannot for the life of me figure this one out either...