Hi. TryFindResource always return null!
Your solution not solve my problem.
I have resolved my problem changing from StaticResource to DynamicRecource.
See the Git repository for solution.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi.
In my WPF test project I tried to make the style dynamically changeable through a combobox. Everything works except the background color of the windows.
I have tried with StaticResource, with SolidColorBrush, with the same name, with different name of static resource but it does not work!
Can you help me?
The source code is here.
https://github.com/reddevlab/WpfCambioStile
Thank you!
Hi. TryFindResource always return null!
Your solution not solve my problem.
I have resolved my problem changing from StaticResource to DynamicRecource.
See the Git repository for solution.