WPF - How do I expose namespaces throughout a project
        Posted  
        
            by Mark Pearl
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Mark Pearl
        
        
        
        Published on 2010-04-23T11:29:00Z
        Indexed on 
            2010/04/23
            11:33 UTC
        
        
        Read the original article
        Hit count: 298
        
wpf
Sorry... I hope this isnt a really dumb question... but I couldnt find the answer anywhere. I have a WPF application, in each of my usercontrols / windows I am currently putting the following code in xaml in the header...
xmlns:properties="clr-namespace:MaxCut2.Properties"
This particular properties namespace I use in every window / usercontrol in my project and I would have thought that if I had put the code in my App.xaml, it would have been exposed to all the child windows/uc's - but it doesn't seem to work.
Is there a way that I can expose this without having to declare it in every file in XAML?
© Stack Overflow or respective owner