I'm trying to launch an event whenever the user switches to/from High Contrast Mode in Windows.
I'm currently able to accomplish this by using the SystemEvents.UserPreferenceChanged event. This however fires multiple times and is not just for high contrast. I noticed that .Net 4.5 actually has a SystemParameters.StaticPropertyChanged event but I'm using 4.0 and won't be going to 4.5 anytime soon.
I'm still learning WPF and C# for the most part and was wondering if there's a good clean way to do this?