Question

When I apply a custom msstyle on my system (any msstyle) all WPF components change their appearance to this:

enter image description hereWhy it's happening? Any way to solve it?

Was it helpful?

Solution

According to this blog, you can do the following in App.xaml:

<Application.Resources>
    <ResourceDictionary Source="/PresentationFramework.Aero;V3.0.0.0;31bf3856ad364e35;component\themes/aero.normalcolor.xaml" />    
</Application.Resources>

I tesed it by setting my Window 7 Theme to "Windows-Classic". The controls still have the Windows 7 look.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top