WPF Prism - Where to put Resources?

后端 未结 3 637
死守一世寂寞
死守一世寂寞 2021-02-01 22:15

I have a prism application and various modules. I am wondering where is the best place to locate resources such as styles, brush, controltemplates, datatemplates?

Should

3条回答
  •  遥遥无期
    2021-02-01 22:27

    I would like to share some new knowledges. I am using @chopikadze approach. And it is really cool approach. Thanks to you!

    However, if you do not want write every time for each control these piece of code:

    
            
            
                
                
                
        
    
    

    Then you can just declare in App.xaml of your Bootstrapper like that:

            
        
    
    

提交回复
热议问题