In my xaml I have an image on a button with following code
Code:
<Image Source="/MyAssembly;Component/Resources/MyImage.png" Width="32" />
I'm now wondering if I can do this without the fully qualified path and reference the image added to the assembly Resources.resx ?

Tried this by using
Code:
xmlns:prop="clr-namespace:MyAssembly.Properties">
..
<Image Source="{Binding Source={x:Static prop:Resources.MyImage}}" />
But then I get a complaint that this StaticResource reference cannot be found.

Can anyone help me out ?