According to MSDN, the FrameworkElement events Loaded and Unloaded can be triggered by user-initiated system theme changes. I've experimented with changing various theme, color and sound settings on Windows 7 without seeing either of those WPF events raised.
How do I make a user-initiated system theme change--which triggers the raising of Unloaded and Loaded--happen? (I'm interested for application testing purposes.)
Thanks,
Ben