Quantcast
Channel: VBForums - WPF, WCF, WF
Viewing all articles
Browse latest Browse all 256

Adding item from a ResourceDirectory

$
0
0
This one is driving me bonkers... I want to add a status bar to the last row on a dynamically build grid .

I think I have found the method for accessing the Resource Directory

Code:

Dim vResource As New ResourceDictionary
            With vResource
                .Source = New Uri("/MyApp;component/ResourcesMain.xaml", UriKind.RelativeOrAbsolute)
            End With

The question is how do I get a handle on the ControlTemplate to add to the grid?

Thanks

Viewing all articles
Browse latest Browse all 256

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>