2
我目前使用的故事板是這樣的:創建'有趣'故事板動畫?
DoubleAnimation doubleAnimation = new DoubleAnimation();
doubleAnimation.From = _ScrollBar.Value;
doubleAnimation.To = _Shift;
doubleAnimation.Duration = new Duration(new TimeSpan(0, 0, 0, 0, 200));
Storyboard.SetTarget(doubleAnimation, _ScrollBar);
Storyboard.SetTargetProperty(doubleAnimation, new PropertyPath(RangeBase.ValueProperty));
storyboard.Children.Add(doubleAnimation);
storyboard.Begin();
線性地滾動滾動條。現在我想知道是否有任何quick'n'easy方法使動畫樂趣(即沒有線性)。也許像搖擺效應一樣?