WPF Global Resources in App.xaml
- by Ryan
I have created a custom Treeview control and am trying to access the HierarchicalDataTemplate resource of this control from another window in the same project.
I have placed <ResourceDictionary Source="/Controls/TreeView/Themes/Generic.xaml"/> into my App.xaml file.
Everytime I run, I get an error saying that it can not find the resource key "scene" - the name of the HierarchicalDataTemplate from my custom control.
How can I access this template?
Thanks