- Add an image file in project and set the build action to Resource.
- Define a resource in app.xaml or any other resource dictionary as
 <BitmapImage x:Key="MyImageSource" UriSource="/Images/Image.png" />
- Use the image resource
 <Image Source="{StaticResource MyImageSource}" />
http://stackoverflow.com/questions/347614/wpf-image-resources
 
 
No comments:
Post a Comment