Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

WPF App notification when Windows theme changes

$
0
0

Hi,

I have a WPF application with C# for the code behind. For the best user experience, it is recommended for the end user to close and reopen the app when there is a theme change, normal (Aero theme for example) to high contrast or vice versa.

When this happens, I want to show a message box to the user to close and reopen the app. Is there an event that I can latch onto inside my code for the theme change and show the message box in response?

Thanks,

Venkat


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>