Creating a templated silverlight control that has a story board.

Posted by Mrt on Stack Overflow See other posts from Stack Overflow or by Mrt
Published on 2010-03-15T05:44:16Z Indexed on 2010/03/15 5:49 UTC
Read the original article Hit count: 218

I'm trying to create a templated silverlight control that has a simple animation (swap a few color properties).

An example would be a control that is similar to the 'questions' menu item in stackoverflow. So the consumer of the control can specify the background color and the background color for the mouseover event.

I've run into the issue that I can't use template binding for a storyboard animation (http://stackoverflow.com/questions/1336689/is-it-possible-to-use-templatebinding-in-a-storyboard-in-silverlight). Whats the best work around to this ?

Cheers,

MrT

© Stack Overflow or respective owner

Related posts about Silverlight

Related posts about template