Added support for IsColorPrevalence background system accent color

This commit is contained in:
Daniel Clark
2021-02-08 23:20:06 +00:00
parent ec847fd6a5
commit e1b3b1e6c9
5 changed files with 94 additions and 40 deletions
@@ -2,13 +2,17 @@
namespace NotificationFlyout.Wpf.UI.Helpers
{
public class ThemeChangedEventArgs : EventArgs
public class SystemPersonalisationChangedEventArgs : EventArgs
{
internal ThemeChangedEventArgs(SystemTheme theme)
internal SystemPersonalisationChangedEventArgs(SystemTheme theme, bool isColorPrevalence)
{
Theme = theme;
IsColorPrevalence = isColorPrevalence;
}
public SystemTheme Theme { get; private set; }
public bool IsColorPrevalence { get; private set; }
}
}