Composite WPF (Prism) module resource data templates

后端 未结 3 526
余生分开走
余生分开走 2020-12-08 03:11

Given that I have a shell application and a couple of separate module projects using Microsoft CompoisteWPF (Prism v2)...

On receiving a command, a module creates a

3条回答
  •  孤街浪徒
    2020-12-08 03:51

    That all seems like a lot of work!

    Personally, I just declare a resource dictionary in my view's UserControl.Resources section like this...

    
        
    
    

    That merged dictionary then points to any resources I need to include.

    
    
        
        
    
    

    You'd declare your data templates in there I guess.

    HTH.

提交回复
热议问题