I am currently working on a WPF app. I've noticed that the new windows update brought some cool features, one of them is dark mode. When I set my PC to dark mode, Google Chrome and Firefox became dark as well. I'd like to know how it actually happens and how can I find the current mode via C#.
Asked
Active
Viewed 1,839 times
1 Answers
0
Light/dark are themes. You could check the registry Get Windows theme?
If that isn't an option.
You could get the colour of a wpf system brush and check it's value.

Andy
- 11,864
- 2
- 17
- 20
-
Thanks man! I've decided to check the registry. – OrganicDeveloper May 07 '19 at 15:58