/// <summary> /// Change app theme /// </summary> /// <param name="accent">Accent</param> /// <param name="style">New theme</param> public void ChangeAppStyle(MahApps.Metro.Accent accent, ThemeStyle style) { // set the accent and theme to the window MahApps.Metro.ThemeManager.ChangeAppStyle(Application.Current, MahApps.Metro.ThemeManager.GetAccent(accent.Name), MahApps.Metro.ThemeManager.GetAppTheme(style.ToString())); }
public GridColor(Grid parent, string color, MahApps.Metro.Accent accent) : this(parent, color) { this.accent = accent; }
public StyleChangeEventArgs(MahApps.Metro.Accent accent, MahApps.Metro.AppTheme theme) { Accent = accent; Theme = theme; }