MaterialDesignInXamlToolkit
MaterialDesignInXamlToolkit copied to clipboard
Dialoghost incompatibility with Border (CornerRadius).
This is due to the fact that dialogs are displayed as part of a Popup control. In addition the Popup control defaults its AllowTransparency to false for a number of performance reasons. Now it is possible to fix that with the new DialogHost style, but then the nested Card that contains the popup has a fixed background that is difficult to change. I do think it is worth exploring adding some control over these properties to the DialogHost to make them more configurable.
For now here is a sample (with a little bit if tickery) that can get you the look that you want: https://github.com/Keboo/MaterialDesignInXaml.Examples/tree/master/DialogHost/DialogHost.CornerRadius
So,What is the solution?