How to set ImageSource in code

May 20, 2012 at 4:36 PM

Hi,

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

regards

May 20, 2012 at 7: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 9: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?

May 24, 2012 at 7:25 AM

what have you tried?