I have a DataTemplate
defined in a xaml file that I want to access via C# code.
Can anyone please tell me how can I access it?
I added a new ResourceDicti
Any of the above approaches work getting the resource based on the location, if you are following MVVMm I would recommend doing it this way: