<Window x:Class="Valg.Eva.Skanning.Scan.Presentation.ScanInProgress.ScanIsCanceledWindow"
        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:scanInProgress="clr-namespace:Valg.Eva.Skanning.Scan.Presentation.ScanInProgress"
        xmlns:userInterfaceElements="clr-namespace:Valg.EVA.Skanning.UserInterfaceElements;assembly=Valg.EVA.Skanning.UserInterfaceElements"
        mc:Ignorable="d"
        d:DataContext="{d:DesignInstance scanInProgress:ScanIsCanceledWindowViewModel}"
        Style="{DynamicResource PopUpWindowInformation}"
        WindowStartupLocation="CenterOwner" 
        ShowInTaskbar="False"
        Title="{Binding Title}">

    <Window.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="/Valg.EVA.Skanning.Assets;component/ResourceDictionaries/ResourceLibrary.xaml" />
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Window.Resources>

    <StackPanel Margin="30">
        <TextBlock Text="{Binding Title}" Style="{StaticResource TextBlockLargeHeader}" Margin="0,20,0,20" />

        <TextBlock Text="{Binding Description}" Style="{StaticResource TextBlockMediumHeader}" />

        <Button Margin="0,20,0,20" Style="{StaticResource LinkButtonMedium}" Content="{Binding CloseButtonText}" IsCancel="True" Click="Button_Click"
                userInterfaceElements:FocusExtension.IsFocused="{Binding IsCloseButtonFocused}"/>
    </StackPanel>
</Window>
