5

I'm new to WPF. How I can use embedded resource image for an image control in WPF using XAML?

Kirk Broadhurst
  • 27,836
  • 16
  • 104
  • 169
Arian
  • 12,793
  • 66
  • 176
  • 300
  • 3
    possible duplicate of [WPF image resources](http://stackoverflow.com/questions/347614/wpf-image-resources) – Damith Oct 30 '11 at 05:49

1 Answers1

8
  1. Add Image to your project then set Build Action to Resource
  2. Add Image to your xaml, e.g. <Image Source="YourImage.jpg" />
Ekk
  • 5,627
  • 19
  • 27