Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在后台任务中知道当前系统的强调色?
我的瓷砖需要这个颜色值。
谢谢~
尝试:
var color = App.Current.Resources["PhoneAccentBrush"] as SolidColorBrush;