System Accent Color Uwp at Color

System Accent Color Uwp. However, you can also customize your app's accent color to reflect your brand. Accessing the light/dark mode setting is a little less.

Strange title bar buttons color in UWP App & weird Accent color Microsoft Community
Strange title bar buttons color in UWP App & weird Accent color Microsoft Community from answers.microsoft.com

When needed, use variable (color datatype) instead of 'color.red' for changing the current accent color to a different color in runtime. //or color accentcolor = (color)resources[systemaccentcolor]; Gets or sets the accent color value.

Strange title bar buttons color in UWP App & weird Accent color Microsoft Community

Overriding the accent color to change your app's accent color, place the following code in app.xaml. Overwriting just the color is not possible, not even in uwp. Overriding the accent color to change your app's accent color, place the following code in app.xaml. By default, the system accent color is the windows theme color chosen by end user.