wpf Image resources and visual studio 2010 resource editor

Posted by Berryl on Stack Overflow See other posts from Stack Overflow or by Berryl
Published on 2010-06-11T23:15:55Z Indexed on 2010/06/11 23:22 UTC
Read the original article Hit count: 236

Hello

My motivation for this question is really just to specify an image to be used in a user control via a dependency property for ImageSource. I'm hitting some pain points involving the management, access, and unit testing for this.

  • Is the resource editor a good tool to use to maintain images for the application?
  • What is the best way to translate the Bitmap from the editor to an ImageSource?
  • How can I grab the resource Filename from the editor?

Cheers,
Berryl

© Stack Overflow or respective owner

Related posts about wpf

Related posts about visual-studio