I just installed MahApps.Metro from nuget (version 1.5.0.23). The tutorial on the homepage tells me to open dialogs via
this.ShowMessageAsync(...) // in MainWindow : MetroWindow
but this method (or any other ShowXYZ
method) does not exist.
How do I open my dialog? Do I have to use the DialogCoordinator
?
Update
I've overseen that this is an extension method (which forces me to use the this
qualifier, which I didn't).
As pointed out by Dirk in the comments,
ShowMessageAsync
is an extension method, sou you have to use theDialogs
namespace.Just add the using and you should be fine: