MS Israel Community

Building a community
Welcome to MS Israel Community Sign in | Join | Help
in Search

Ariel's Remote Data Center

Reflections of my life.

Browse by Tags

All Tags » prism (RSS)
  • Managing WPF resources contained in external assemblies

    Here is a small how-to solution to a very common question. Suppose I have separated my client application to multiple projects, and each project contains his own WPF resource dictionary, how do I use it? Bottom line, you need to merge your resource dictionary to the application main resource, let’s see how to do that. private static void RegisterResources() { ResourceDictionary dictionary = new ResourceDictionary(); dictionary.Source = new Uri( "pack://application:,,,/[ASSEMBLY NAME];Component...
    Posted Sep 15 2009, 02:10 PM by Ariel Ben Horesh with | with 5 comment(s)
    תגים:, ,
Powered by Community Server (Commercial Edition), by Telligent Systems