Hi,
My "StudyUIInTransition" works:
<Storyboard x:Key="StudyUIInTransition" x:Name="StudyUIInTransitionCompleted" Completed="StudyUIInTransitionCompleted_Completed"><DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ContentPresenterGrid" Storyboard.TargetProperty="(UIElement.Opacity)"><SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/><SplineDoubleKeyFrame KeyTime="00:00:01" Value="0"/><SplineDoubleKeyFrame KeyTime="00:00:01.5000000" Value="1"/></DoubleAnimationUsingKeyFrames></Storyboard>
and I want to reverse this for my "StudyUIOutTransition":
<Storyboard x:Key="StudyUIOutTransition" x:Name="StudyUIOutTransitionCompleted" ><DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ContentPresenterGrid" Storyboard.TargetProperty="(UIElement.Opacity)"><SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/><SplineDoubleKeyFrame KeyTime="00:00:01" Value="0"/><SplineDoubleKeyFrame KeyTime="00:00:01.5000000" Value="0"/></DoubleAnimationUsingKeyFrames></Storyboard>
but, I can't this to work. This code works great I got from another site, but I would like to get the above to work to help me understand out these properties:
<Storyboard x:Key="FadeInMenu"><DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="{x:Null}"><EasingDoubleKeyFrame KeyTime="0" Value="0"/><EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="1"/></DoubleAnimationUsingKeyFrames><ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="{x:Null}"><DiscreteObjectKeyFrame KeyTime="0:0:0.0" Value="{x:Static Visibility.Visible}"/></ObjectAnimationUsingKeyFrames></Storyboard>
Thanks!...
Code is like a box of chocolates!...