Load WPF styles (static resources) from an external assembly

Posted by Shimmy on Stack Overflow See other posts from Stack Overflow or by Shimmy
Published on 2009-04-01T18:02:37Z Indexed on 2010/12/21 9:54 UTC
Read the original article Hit count: 312

I have a few WPF applications and I want all my styles to be in a shared assembly instead of declaring them in each application separately.

I am looking for a way so I don't have to change all my Style="{StaticResource BlahBlah}" in the existing applications; I just want to add the reference to this style assembly, and delete it from the current application, so it's taken from the assembly.

Is there any way?

© Stack Overflow or respective owner

Related posts about wpf

Related posts about xaml