<Window x:Class="Elwig.Dialogs.UpdateDialog"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        ResizeMode="NoResize" ShowInTaskbar="False" Topmost="True"
        WindowStartupLocation="CenterOwner"
        Title="Neues Update verfügbar - Elwig" Height="190" Width="400"
        Closed="OnClosed">
    <Grid>
        <TextBlock x:Name="Description" FontSize="14" Margin="0,0,0,40"
                   HorizontalAlignment="Center" VerticalAlignment="Center" TextAlignment="Center">
            Version <Run x:Name="VersionText" FontWeight="Bold">0.0.0</Run> von Elwig ist verfügbar!
            (<Hyperlink NavigateUri="https://elwig.at/changelog" RequestNavigate="Hyperlink_RequestNavigate">Änderungen</Hyperlink>)<LineBreak/>
            Soll das Update heruntergeladen und<LineBreak/>
            installiert werden? (ca. <Run x:Name="SizeText">100</Run> MB)<LineBreak/>
            <Run FontWeight="Bold">Achtung</Run>: Elwig wird dabei geschlossen!
        </TextBlock>

        <ProgressBar x:Name="ProgressBar" Margin="0,0,0,27" Visibility="Hidden"
                     HorizontalAlignment="Center" VerticalAlignment="Center"
                     Height="27" Width="300" SnapsToDevicePixels="True"/>

        <Button x:Name="InstallButton" Content="Installieren" Margin="10,10,115,20"
                FontSize="14" HorizontalAlignment="Center" VerticalAlignment="Bottom"
                Width="100" Height="27"
                Click="InstallButton_Click"/>
        <Button x:Name="CancelButton" Content="Abbrechen" Margin="115,10,10,20" IsCancel="True"
                FontSize="14" HorizontalAlignment="Center" VerticalAlignment="Bottom"
                Width="100" Height="27"/>
    </Grid>
</Window>