5

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

Kirk Broadhurst
  • 26,501
  • 14
  • 99
  • 159
Arian
  • 12,795
  • 60
  • 169
  • 277
  • 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,529
  • 17
  • 27