Expression > Gallery > Behaviors > Swivel Behavior
Express yourself! Share your work with other members of the Expression Community.

Each contribution is licensed to you under a License Agreement by its owner, not Microsoft. Microsoft does not guarantee the contribution or purport to grant rights to it.

Swivel Behavior

Average Rating:  (8)
Description
Discussions (2)
  • Great control...need a little button help
    1 Posts | Last Post: November 03, 2009
    • For my application I'm using a trigger button with the State management going on behind it as you specified in your tutorial. My desire is to have the text change as the button changes state. I am able to set the Checked and Unchecked states and I specified changing the Content from View Alpha to View Beta. Unfortunately this didn't quite work. The text remains as View Alpha regardless of how many times I click the button. Any suggestions?
  • Cool, but...
    2 Posts | Last Post: September 17, 2009
    • I'm not sure how to use this. I'm using Blend 3 and created a very simple SL3 app. I created 2 empty wrap panels and made one the Front and the other the Back. I used Blend to create a Trigger event so that when I hit tab it attempts to start.

      But I keep getting an InvalidOperationException at this line:

      animation.KeyFrames.Add(new EasingDoubleKeyFrame { KeyTime = new TimeSpan(rd.AnimationDuration.TimeSpan.Ticks / 2), Value = rd.MidDegrees });
    • Make sure you set the Duration to a valid time, too. Such as 00:00:01 (which is 1 second).