<Window x:Class="Message.MessageWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:my="clr-namespace:Message" Height="180" Width="300" SnapsToDevicePixels="True"
        Background="#FF333333" MinWidth="300" MinHeight="180" ScrollViewer.VerticalScrollBarVisibility="Disabled" MaxWidth="900" WindowStartupLocation="CenterOwner" AllowsTransparency="True" WindowStyle="None" SizeToContent="WidthAndHeight">
  <Window.Resources>
    <ResourceDictionary Source="../Themes/MetroDark/MetroDark.MSControls.Core.Implicit.xaml"/>
  </Window.Resources>
  <WindowChrome.WindowChrome>
    <WindowChrome CaptionHeight="{x:Static SystemParameters.CaptionHeight}" ResizeBorderThickness="{x:Static SystemParameters.WindowResizeBorderThickness}" UseAeroCaptionButtons="False"/>
  </WindowChrome.WindowChrome>
  <Border x:Name="wrapper" BorderThickness="1" BorderBrush="#FF0099FF">
    <Grid>
      <Label x:Name="labelTitle" Content="情報" HorizontalAlignment="Left" Margin="3,2,0,0" VerticalAlignment="Top"/>
      <Grid Margin="5,30,5,40" Background="#FF222222">
        <TextBlock x:Name="textblockMessage" Margin="5" TextWrapping="Wrap" Text="メッセージ" VerticalAlignment="Center" Foreground="#FFCCCCCC"/>
      </Grid>
      <StackPanel Margin="0" VerticalAlignment="Bottom" Orientation="Horizontal" HorizontalAlignment="Right">
        <Button x:Name="btnOk" Content="OK" HorizontalAlignment="Right" VerticalAlignment="Top" Click="btnOk_Click" Margin="5" HorizontalContentAlignment="Center" MinWidth="87" SizeChanged="btn_SizeChanged"/>
        <Button x:Name="btnOther" Content="Other" HorizontalAlignment="Right" VerticalAlignment="Top" Click="btnOther_Click" Margin="0,5,5,5" HorizontalContentAlignment="Center" MinWidth="87" SizeChanged="btn_SizeChanged"/>
        <Button x:Name="btnOther2" Content="Other2" HorizontalAlignment="Right" VerticalAlignment="Top" Click="btnOther_Click" Margin="0,5,5,5" HorizontalContentAlignment="Center" MinWidth="87" SizeChanged="btn_SizeChanged"/>
        <Button x:Name="btnCancel" Content="キャンセル" VerticalAlignment="Top" Click="btnCancel_Click" Margin="0,5,5,5" IsCancel="True" IsDefault="True" MinWidth="87" HorizontalAlignment="Right" SizeChanged="btn_SizeChanged"/>
      </StackPanel>
    </Grid>
  </Border>
</Window>