`
How to add an Image Source as a Resource in WPF
I was struggling with adding an image Source to WPF having lived in the Silverlight world for the last few years, but here it is.
Add the image to your project and set it as a Resource in the Build Action on the Properties window
Set the Source property of the image in your XAML as follows (completely unintuitive but it works)
<Image Source="pack://application:,,,/MyAssemblyName;component/resources/images/lightbulbssmall.png"