locked
No Storyboards in Control Templates? RRS feed

  • Question

  • Blend newbie here.

    So in a control template for a button, I've created a radial gradient for a rectangle. Blend allows me to create a storyboard, I can create keyframes, but it doesn't allow me to store different values for each of the key frames for the gradient's center, origin, radii, etc.

    Is animation within control templates prohibited?

    Thanks in advance.

    Wednesday, January 20, 2010 5:01 PM

All replies

  • If you're trying to animate an effect for a button rollover, you need to animate it inside of the state manager instead of a storyboard.  Try that and let us know.  Google "button state manager in Blend" for lots of tutorials on this.
    Wednesday, January 20, 2010 8:16 PM