Question Adding item from a ResourceDirectory

gchq

Well-known member
Joined
Dec 14, 2007
Messages
168
Programming Experience
10+
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

VB.NET:
           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
 
Back
Top