I have some custom icon which I already converted into XAML. Now in a control template I need to declare that icon.
How to import that?
I prefer to put the XAML as a DrawingImage
in a resource file/dictionary:
And then use it as such:
C# devs
null reference exceptions