<Window x:Class="NetSparkleUpdater.UI.WPF.MessageNotificationWindow"
        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:local="clr-namespace:NetSparkleUpdater.UI.WPF"
        mc:Ignorable="d"
        Width="400"
        MaxWidth="400"
        Title="Software Update"
        ResizeMode="NoResize"
        SizeToContent="Height"
        d:DesignHeight="120"
        d:DesignWidth="800" 
        WindowStartupLocation="CenterScreen">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <TextBlock TextWrapping="Wrap"
                   Name="Message"
                   Grid.Row="0"
                   Grid.Column="0"
                   Margin="5,10,0,5"
                   FontWeight="Bold"
                   Text="{Binding Message}"
                   HorizontalAlignment="Center"
                   FontSize="18" />
        <Button Content="OK"
                HorizontalAlignment="Center"
                Padding="10,5,10,5"
                Margin="0,10,0,10"
                Grid.Row="1"
                Click="Button_Click" />
    </Grid>
</Window>
