标签:code ase log void theme base ica hang expect
/// <summary> /// 设置App样式 /// </summary> /// <param name="accentName">窗口标题栏样式</param> /// <param name="themeName">背景样式</param> private void ChangeTheme(string accentName, string themeName) { Accent expectedAccent = ThemeManager.Accents.First(x => x.Name == accentName); //"Blue" AppTheme expectedTheme = ThemeManager.GetAppTheme(themeName); //"BaseDark" ThemeManager.ChangeAppStyle(Application.Current, expectedAccent, expectedTheme); }
标签:code ase log void theme base ica hang expect
原文地址:http://www.cnblogs.com/RedSky/p/6185226.html