<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>
このストーリーボードを使って Top margin を変更したいので、KeyFrame アニメーションを適用しますが、EasingFunction を使用していないため、スムーズではありません。イージング関数を適用して、アニメーションをスムーズにするにはどうすればよいでしょうか!