<Window x:Class="Valg.EVA.Skanning.Scan.Startup.SplashWindow"
             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:animatedGif="clr-namespace:Valg.EVA.Skanning.UserInterfaceElements.AnimatedGif;assembly=Valg.EVA.Skanning.UserInterfaceElements"
             mc:Ignorable="d" 
                MinWidth="530"
                MinHeight="252"
                Icon="/Valg.EVA.Skanning.Assets;component/Images/Icons/EvaScan.ico"
            WindowStartupLocation="CenterScreen"
            ShowInTaskbar="False"
            Style="{DynamicResource PopUpWindowInformation}"      
            d:DesignHeight="300" d:DesignWidth="300">
    <Window.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="/Valg.EVA.Skanning.Assets;component/ResourceDictionaries/ResourceLibrary.xaml"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Window.Resources>
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="*"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="50"/>
        </Grid.RowDefinitions>
        <Image Grid.Row="0" Stretch="None" Source="/Valg.EVA.Skanning.Assets;component/Images/ElectionLogo.png" HorizontalAlignment="Center">
        </Image>
        <TextBlock Grid.Row="1" VerticalAlignment="Center" 
                   HorizontalAlignment="Center" TextWrapping="Wrap" Style="{StaticResource TextBlockLargeHeader}"  
                   Text="{Binding EvaScanStartingText, FallbackValue='EVA Skann starter opp'}" Margin="0,25,0,25" />
        <Image Grid.Row="2" Stretch="None" animatedGif:ImageBehavior.AnimatedSource="/Valg.EVA.Skanning.Assets;component/Images/transferring2.gif">
              
            
        </Image>
    </Grid>
</Window>

