Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <mahapps:TransitioningContentControl x:Name="customTransitioning"
- Content="{Binding Driver.sessionStats.gameStatus}"
- Margin="0,-17,0,0" HorizontalAlignment="Center" VerticalAlignment="Center" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Grid.Column="0" Grid.ColumnSpan="2" Grid.Row="5" Foreground="{DynamicResource LabelTextBrush}" FontSize="14" Width="480" Height="26"
- Transition="Custom">
- <mahapps:TransitioningContentControl.CustomVisualStates>
- <VisualState x:Name="CustomTransition">
- <Storyboard>
- <DoubleAnimationUsingKeyFrames BeginTime="00:00:00"
- Storyboard.TargetName="CurrentContentPresentationSite"
- Storyboard.TargetProperty="(UIElement.Opacity)">
- <SplineDoubleKeyFrame KeyTime="00:00:00"
- Value="0" />
- <SplineDoubleKeyFrame KeyTime="00:00:00.700"
- Value="1" />
- </DoubleAnimationUsingKeyFrames>
- <DoubleAnimationUsingKeyFrames BeginTime="00:00:00"
- Storyboard.TargetName="PreviousContentPresentationSite"
- Storyboard.TargetProperty="(UIElement.Opacity)">
- <SplineDoubleKeyFrame KeyTime="00:00:00"
- Value="1" />
- <SplineDoubleKeyFrame KeyTime="00:00:00.700"
- Value="0" />
- </DoubleAnimationUsingKeyFrames>
- </Storyboard>
- </VisualState>
- </mahapps:TransitioningContentControl.CustomVisualStates>
- </mahapps:TransitioningContentControl>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement