-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Closed
Milestone
Description
What steps will reproduce this issue?
I'm using custom dialog as a message box (with Background="Transparent"
and Foreground=White
) like in the picture:
It works well with version 1.1.2, but since 1.2.0 (including the latest 1.3.0-ALPHA147) both Background
and Foreground
colors are "ignored".
Expected outcome
What I already tried:
- Set colors in xaml
- Set colors via bindings from VM
- Set colors before dialog shown
var dialog = new TestDialog(); dialog.Background = new SolidColorBrush(Colors.Red);
- Create new style
- Add custom resource to
dialog.DialogSettings.CustomResourceDictionary
None of them is working. I'm sorry if this question was already answered, but I did not find a solution neither on SO nor here.
Environment
- MahApps.Metro v1.2.0
- Windows 10 x64
- Visual Studio 2015
- .NET Framework 4.6