Showing a modern dialog clears current theme

Aug 6, 2013 at 7:40 AM
When I show a modern dialog using ModernDialog.ShowMessage().... or .ShowDialog() my theme is removed on my MainWindow, the modern dialog has my theme, and then when the modern dialog is closed, the MainWindow theme remains blank. Any ideas why?
Aug 6, 2013 at 8:14 AM
It was not having x:Shared="false" set on my WindowBackgroundContent override.
Aug 8, 2013 at 12:13 PM
me too, how to do?
Aug 8, 2013 at 1:21 PM
I was having the problem because I have created my own theme. Have you created your own theme too? Most likely you have followed the example and used the WindowBackgroundContent to show an image? If so, make sure you have x:Shared="false" set like the example does.
Aug 10, 2013 at 1:26 PM
I have created my own theme, but removed it later. I will try, thanks!
Aug 12, 2013 at 1:24 PM
'x:Shared="true" => x:Shared="false"' is OK! Thank you very much!