I want to get the accent color the user has selected for their PC and use it for my application, much like how Microsoft makes the start button, menus, window colors, etc. match it. How can I do this?
I'm talking about this color, by the way:
I want to get the accent color the user has selected for their PC and use it for my application, much like how Microsoft makes the start button, menus, window colors, etc. match it. How can I do this?
I'm talking about this color, by the way:
Try this, worked for me on a Windows 10 VM:
var color = (Color)this.Resources["SystemAccentColor"];
Here´s the source.