WPF: Newbie animation question -


When button 1 is clicked, I want this sequence

  1. RETUCANJAY Appears
  2. The ambiguity of the retonza has been changed from 0 to 75%, with this means 3 seconds
  3. The controlball becomes visible.

The steps 1 and 3 are easy with the mandatory code, to handle it, I need to learn how to use Story Board to storyboard.

Here is the storyboard description of your sequence:

  & lt; Storyboard x: key = "animate" & gt; & Lt; Double AnimationUsingFrame Start Time = "00:00:00" Storyboard Target name = "button1" storyboard Targetproperty = "(UIElement.Opacity)" & gt; & Lt; LinearDoubleKeyFrame Keytime = "00:00:00" value = "0" /> & Lt; LinearDoubleKeyFrame KeyTime = "00:00:03" value = "0.75" /> & Lt; / DoubleAnimationUsingKeyFrames & gt; & Lt; ObjectAnimationUsingKeyFrames Beginner Time = "00:00:00" Storyboard TargetName = "button1" storyboard GoalEffect = "(UIElement.Visibility)" & gt; & Lt; DiscreteObjectKeyFrame KeyTime = "00:00:00" Price = "Visibility.">  / ObjectAnimationUsingKeyFrames & gt; & Lt; ObjectAnimationUsingKeyFrames Beginner Time = "00:00:00" Storyboard Target = "control" storyboard Target = "(UIElement.Visibility)" & gt; & Lt; DiscreteObjectKeyFrame KeyTime = "00:00:00" Price = "Visibility.">  / ObjectAnimationUsingKeyFrames & gt; & Lt; / Storyboard & gt;  

You can trigger it in Gmail via EventTrigger or TryFindResource (). And you can find answers to many questions on your WPF animation themes.


Comments