-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The ShowMessageAsync of MahApps.Metro won't show the message dialog #41
Comments
Another strange thing is that if I try it in my own project using the latest nuget packages (MahApps.Metro 1.1.3-ALPHA152, MaterialDesignThemes 0.0.0.92, MaterialDesignColors 1.0.0) instead of the source code, I get a null exception, the cause is that MahApps.Metro complains theme is null, how does this happen? Maybe I should use the latest source code instead of the latest nuget package? |
OK...because when you open a MahApps dialog, it looks up the MahApps theme, but there is no MahApps theme, as the App.xaml is configured a bit differently for Material Design Toolkit. Bang. ...looking into a solution... |
Thanks, looking forward to the solution |
Raised a PR with MahApps: MahApps/MahApps.Metro#2087 , which should resolve the issue. |
Wooo! That was fast! Thanks for the quick response! |
⚡ 😉 |
Keep your eye on the MashUp demo project, because I'm making some other changes so we can pass Material Themeing through to MahApss for the dialogs. Currently, even when the fix is in it shows Metro styling. |
Cool. Will do just that. |
In bizness. You'll need to update to the latest alphas of both MahApps and Material. You can see the above example in the MahMaterialDragablzMashUp demo app. You need to pass a few options into the dialog, but it's pretty easy:
|
@ButchersBoy it's like chocolate or a praline :-P |
Ha, we should do some Photoshop image of a box of chocolates with the different flavours 😄 |
When I tried the MahApps sample, I wanted to show a message dialog, so I followed the documentation and called ShowMessageAsync to do that. But unfortunately this doesn't work, the window will dim out, but the message will not show up. Can you help me with this?
The text was updated successfully, but these errors were encountered: