I have created an Addon and I need to access an image from my xaml and C# code.
I have created a folder under Documents\NinjaTrader 8\templates folder called MyResources where I have put my images.
Now from my xaml code I get an error. It is not finding the ressource.
My xaml file is located under the AddOns folder.
Here is the xaml code I use :
<Setter Property="Source" Value="MyResources/NT Button Off.png" />
What is the right path I should use ?
Thank you
Comment