-1
<Storyboard x:Key="CloseContentGrid">
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="Height" Storyboard.TargetName="ContentGrid">
<EasingDoubleKeyFrame KeyTime="0" Value="100"/>
<EasingDoubleKeyFrame KeyTime="0:0:0.8" Value="0"/>
</DoubleAnimationUsingKeyFrames>
</Storyboard>
我想從ActualHeight(100)
改變Grid's Height
來Zero
這個動畫如何在後面的代碼中編寫此XAML Storyboard?
那麼容易:)謝謝 – Bulli