Modules not being themed

Nov 30, 2010 at 4:22 PM

I have separated my themes into separate dlls. The bootstrapper is adding them into AggregateCatalog.

When the project is loaded, the first module is using the resources from the theme, but none of my other modules are.

Is there anything special that I need to do prior to displaying or loading the modules?
Do I need to populate my theme for each module that is loaded?

I have been using the two sites below for reference, but neither site says anything about the issue I am having.
http://codingtales.com/2010/02/08/Ultimate-Theme-Support-in-WPF-MVVM-Applications-Using-MEF/
http://www.justinmchase.com/post/2009/11/05/Easy-Composable-Theming-in-WPF-(NET-4).aspx

Nov 30, 2010 at 9:20 PM

I figured it out.

My shell still had some Style tags with TargetType that I forgot to remove.

The code was working the entire time.