Setting or modifying ThemeResource in code
问题 My questions is very specific to ThemeResources in a Windows 10 Store App. Unfortunately several things available in "classic" WPF are different or not available here. What I am trying to achieve for lots of ui elements: Allow the user to use the system's accent color (in XAML this would be {ThemeResource SystemAccentColor} as value.) Allow the user to use a custom/fixed color instead. (I could override the SystemAccentColor key in the resourcedictionary) Allow to switch between system accent