Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
ShowMessageAnsync() causes exception #2835
What steps will reproduce this issue?
Following exception is thrown in ShowMessageAsync() after update from MahApps.Metro V1.3.0 to V1.4.2:
The ShowMessageAsync() has to be shown in a sub MetroWindow. The sub window is running within his own thread and Dispatcher context:
So the access to the applications main window (System.Windows.Application.get_MainWindow()) is problematic. My code is working with V1.3.0 of MahApps flawless.
Same behaviour like in previous major version 1.3.0 => no exception
Thank you very much for your amazing and absolutely impressiv GUI framework, which is gives the right touch to the standard WPF GUI._