Static Resources V.S. Dynamic Resources
Here you can find some quite useful tips for WPF performance. The thing that drew my most attention was the raw comparison between static and dynamic resources. I quoted it as following:
“Static Resources are significantly less performance heavy that Dynamic Resources, since a Static Resource is loaded at compile time and the Dynamic Resources is loaded at run time. Additionally, WPF will render the page in its entirety when you change any resource for that page. Yikes.”
Don’t use StaticResource in a data/control template, because it will result in the error of “resource can not be found” even though it can be found at running time. Instead, choose DynamicResource. This is very important to keep your project blendable.