These are chat archives for punker76/MahApps.Metro.SimpleChildWindow

11th
Apr 2016
Ashwin Sidhalinganahalli
@ashwinrs
Apr 11 2016 20:43
I am trying to call ShowChildWindowAsync from Metrowindows child this way - ` var metroWindow = (MetroWindow)Application.Current.MainWindow;
        await metroWindow.ShowChildWindowAsync(new AboutWindow(),RootGrid);`. Its saying Metrowindow does not contain ShowChildWindowAsync. Am I missing something here? I have installed mahapps child window library from nuget.
The code is- ` var metroWindow = (MetroWindow)Application.Current.MainWindow;
        await metroWindow.ShowChildWindowAsync(new AboutWindow(),RootGrid);`
The error I am getting is - Metrowindow does not contain ShowChildWindowAsync. Am I missing something here? I have installed mahapps child window library from nuget.
Ashwin Sidhalinganahalli
@ashwinrs
Apr 11 2016 21:14
Figured it out. I was missing "using MahApps.Metro.SimpleChildWindow;" from my page