Add image silverlight hovereffect from codebehind

Posted by Jakob on Stack Overflow See other posts from Stack Overflow or by Jakob
Published on 2010-05-30T16:32:55Z Indexed on 2010/05/30 16:42 UTC
Read the original article Hit count: 215

Hi I have a stackpanel that has a dynamic amount of images that are added programatically, Is there a way I can set a hover/click effect programatically on these images. I would like for the image to "glow" when clicked. How do i do that in silverlight? I've noticed the Image.Effect property, but I'm not really sure how to use it.

© Stack Overflow or respective owner

Related posts about Silverlight

Related posts about expression-blend