Hi.Do following:
1- In the solution explorer open Properties and then open Resources.Resx
2- Now add your specified image.
3- Change its access modifier from internal into public.
4- Now in your Solution Explorer is added a folder that namd "Resources".
5- Open it and press F4 to see properties of your image. then set its Build Action to Resources.
6- Open App.Xaml and write following XAML code:
<Application.Resources>
<ResourceDictionary>
<BitmapImage x:Key="TestImage" UriSource="/YourProjectNamespace;component/Resources/YourImageName.png"/>
</ResourceDictionary>
</Application.Resources>
7- any where you can use it by referene it:
<Image Source="{StaticResource TestImage}"/>