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

 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?