How to set image source from dll resource file?
<Image Source="res/png_32.png" Width="Auto" Height="Auto">
It works fine, but my image is located as a resource in a DLL file. How can i get it?
Thanks.
You would handle this with the package URI :
<Image Source="pack://application:,,,/TheDLLName;component/res/png_32.png" Width="Auto" Height="Auto">
Source: https://habr.com/ru/post/1497078/More articles:View Django receives a GET request from a form that should send a POST - postThe purpose of the interface without defining a method / constant - javaBest way to connect and update properties using Entity Framework 5 - entity-frameworkhttps://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1497076/using-variadic-macros-or-templates-to-implement-a-set-of-functions&usg=ALkJrhggdUuf5o_2SWWimh80adOUi8sJYwmarker interface in java - javaSymfony2 console output without OutputInterface - symfonyVS 2012 - Checkout on Pre-Build does not happen - visual-studioBetter insert performance in a table with only a clustered index or a table without an index on SqlServer 2008? - performanceDynamically set text on input button with Angular - angularjsQueue behavior ThreadPoolExecutor is customizable to prefer new thread creation in the queue? - javaAll Articles