How can I set image source from DLL resource file?
<Image Source="res/png_32.png" Width="Auto" Height="Auto">
It works fine, but my image are located as resource in the DLL file. How can I get it?
Thank you.
You would handle this via a Pack URI:
<Image Source="pack://application:,,,/TheDLLName;component/res/png_32.png" Width="Auto" Height="Auto">
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With