<Page x:Class="ForzaUI.A_PostRaceRaceEncounterBlur"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
      xmlns:System="clr-namespace:System;assembly=mscorlib"
      mc:Ignorable="d"
      Style="{StaticResource A_Style_Page_Generic}"
      DataContext="{Binding RelativeSource={RelativeSource Self}}"
      xmlns:local="clr-namespace:ForzaUI">

    <Page.Resources>
        <ResourceDictionary>
            <Storyboard x:Key="ShowStoryboard">
                <DoubleAnimationUsingKeyFrames Storyboard.TargetName="LayoutRoot"
                                               Storyboard.TargetProperty="Opacity">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0"
                                            Value="0" />
                    <LinearDoubleKeyFrame KeyTime="0:0:0.5"
                                            Value="1" />
                </DoubleAnimationUsingKeyFrames>
            </Storyboard>
        </ResourceDictionary>
    </Page.Resources>

    <local:EventFire.FzTriggers>
        <local:EventFireTrigger Event="show"
                                Storyboard="{StaticResource ShowStoryboard}" />
    </local:EventFire.FzTriggers>

    <Grid x:Name="LayoutRoot"
          Height="1080"
          Width="1920"
          Opacity="0">
        <local:FZMaterialGlassCapture />
        <local:FZMaterial Preset="{StaticResource A_FZMaterialPresetGlass_ScreenBlur}"
                          Color="#00000000"
                          Height="1080"
                          Width="1920"/>

    </Grid>
</Page>
