摘要:
在开发应用的时候需要考虑得到手机的主题是light还是dark,不同的主题需要配以不同的图标获取出题的方法:1 bool isDarkTheme = (Visibility.Visible == (Visibility)Application.Current.Resources["PhoneDarkThemeVisibility"]); //当前主体是否是dark2 bool isLightTheme = (Visibility.Visible == (Visibility)Application.Current.Resources["Phone... 阅读全文