The 1st of all "Embedded Resource" is not recommended in WPF (don’t remember why, but if you find it, you will find an explanation)
Resource loading method:
a) In Visual studio, add the "Resources" folder to the project and add your images to it.
b) Then in XAML you can access them as follows:
<Image Width="18" Source="/MyApplication;component/Resources/Foo.png" />
In this example, “MyApplication” is the name of the assembly (see the first line of your XAMl x: Class = to get the name of your assembly) “Resources” is the name of the folder containing the resources, and “Foo. Png” is the name of the image.
Good luck.
Jm
source share