How to set ImageSource in code

May 20, 2012 at 3:36 PM

Hi,

Please tell me how I should set ImageSource in code properly? Could it be an image outside of assembly?

regards

Coordinator
May 20, 2012 at 6:09 PM

There is a sample usage of ToBitmapSource() setting an Image's Source property right on the front page of this project.  Take a look at the Home tab right here on CodePlex.

May 21, 2012 at 8:14 AM

Yes, but I say about HoverButton property - ImageSource, how to set it in code, for example I have a picture somewehere( c:\ ) and I want to set it as ImageSource in HoverButon?

Coordinator
May 24, 2012 at 6:25 AM

what have you tried?