Closed VaslD closed 4 years ago
@VaslD Could you try the latest stable versions please?
If you still get the exception, please post the full stack trace.
For me what did the trick was uninstalling the preview 3.0 version of MaterialDesignThemes. On 2.6 this is all working fine.
I think this issue is only a non working combination of pre-releases introducing breaking changes.
Issue
I tried to prettify a regular WPF Window to
MaterialWindow
but encountered this error at startup:This was the XAML used, very straightforward:
The code-behind had nothing other than
InitializeComponent();
And I have merged the following dictionaries in App.xaml:
It would've worked without using
MaterialWindow
, i.e. using WPF window themed by MaterialDesignToolkit alone, although not fancy enough.Installed NuGets:
All on latest preview.