0
<Storyboard x:Name="stTOPAni">
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Margin)" Storyboard.TargetName="grdOverlay">
<DiscreteObjectKeyFrame KeyTime="0">
<DiscreteObjectKeyFrame.Value>
<Thickness>0</Thickness>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
<DiscreteObjectKeyFrame x:Name="key1" KeyTime="0:0:0.5">
<DiscreteObjectKeyFrame.Value>
<Thickness>0,-500,0,0</Thickness>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
<DiscreteObjectKeyFrame KeyTime="0:0:1">
<DiscreteObjectKeyFrame.Value>
<Thickness>0,-800,0,0</Thickness>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
我想用這個故事板來改變上邊距,所以我applice關鍵幀動畫,但它不使用的easingFunction,因此不順利,我如何將適用緩動功能,使動畫流暢!適用於Windows Phone的緩動函數DiscreteObjectKeyFrame動畫