<UserControl x:Class="Valg.EVA.Skanning.UserInterfaceElements.StatusInformationBar.StatusInformationBarControl"
             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:userInterfaceElements="clr-namespace:Valg.EVA.Skanning.UserInterfaceElements"
             mc:Ignorable="d">
    <UserControl.Resources>
        <ResourceDictionary>
            <Style TargetType="TextBlock" BasedOn="{StaticResource TextBlockNormalWhite}">
                <Setter Property="VerticalAlignment" Value="Center" />
            </Style>

            <Style TargetType="TextBlock" BasedOn="{StaticResource TextBlockNormalWhite}" x:Key="labelText">
                <Setter Property="VerticalAlignment" Value="Center" />
                <Setter Property="FontWeight" Value="Bold" />
            </Style>

            <Style TargetType="Hyperlink">
                <Setter Property="Foreground" Value="White" />
            </Style>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="/Valg.EVA.Skanning.Assets;component/ResourceDictionaries/ResourceLibrary.xaml" />
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </UserControl.Resources>
    <Grid DockPanel.Dock="Bottom" Height="90">
        <Grid.RowDefinitions>
            <RowDefinition Height="12" />
            <RowDefinition />
            <RowDefinition />
            <RowDefinition />
            <RowDefinition Height="12" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="20" />
            <ColumnDefinition />
            <ColumnDefinition />
            <ColumnDefinition Width="20" />
        </Grid.ColumnDefinitions>
        <Grid.Background>
            <ImageBrush ImageSource="{StaticResource FooterLogoImageSource}" Viewport="0,0,57,56" ViewportUnits="Absolute" TileMode="Tile"></ImageBrush>
        </Grid.Background>
        <StackPanel Orientation="Horizontal" Grid.Column="1" Grid.Row="1" >
            <TextBlock Text="Brukerstøtte tlf 21 49 62 40, epost: " />
            <TextBlock >
                <Hyperlink Focusable="False" NavigateUri="mailto:hjelp@valg.no" userInterfaceElements:HyperlinkExtensions.IsExternal="true">
                    <TextBlock Focusable="False" Text="hjelp@valg.no" />
                </Hyperlink>
            </TextBlock>
        </StackPanel>
        <StackPanel Orientation="Horizontal" Grid.Column="1" Grid.Row="2">
            <TextBlock Grid.Column="1" Grid.Row="2" Text="For mer informasjon, se "></TextBlock>
            <TextBlock>
                <Hyperlink Focusable="False" NavigateUri="https://valgmedarbeiderportalen.valg.no" userInterfaceElements:HyperlinkExtensions.IsExternal="true">
                    <TextBlock Focusable="False" Text="valgmedarbeiderportalen.valg.no"></TextBlock>
                </Hyperlink>
            </TextBlock>
        </StackPanel>
    </Grid>
</UserControl>
