<Window xmlns="https://github.com/avaloniaui"
        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"
        mc:Ignorable="d" d:DesignWidth="400" d:DesignHeight="250"
        x:Class="NetSparkleUpdater.UI.Avalonia.MessageNotificationWindow"
        Title="MessageNotificationWindow"
        Height="300"
        SizeToContent="Height"
        Width="400"
        WindowStartupLocation="CenterScreen">
  <Grid RowDefinitions="Auto, Auto">
    <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" 
            Padding="10,5,10,5"
            Margin="0,10,0,10"
            Grid.Row="1" 
            HorizontalAlignment="Center"
            Command="{Binding $parent[Window].CloseMessage}"/>
  </Grid>
</Window>
