<Window x:Class="TMC_Tool.InputObjNameWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:my="clr-namespace:TMC_Tool"
        xmlns:custom="clr-namespace:CustomControls"
        Title="InputObjNameWindow" SnapsToDevicePixels="True" Background="#FF333333" WindowStartupLocation="CenterOwner" AllowsTransparency="True" WindowStyle="None" Closing="Window_Closing" x:Name="editMatecpWindow" Activated="Window_Activated" Width="258" Height="120" ResizeMode="NoResize">
  <Window.Resources>
    <ResourceDictionary>
      <ResourceDictionary.MergedDictionaries>
        <ResourceDictionary Source="Themes/MetroDark/MetroDark.MSControls.Core.Implicit.xaml"/>
        <ResourceDictionary Source="Styles.xaml"/>
        <ResourceDictionary Source="Common/CustomControls.xaml"/>
      </ResourceDictionary.MergedDictionaries>
    </ResourceDictionary>
  </Window.Resources>
  <WindowChrome.WindowChrome>
    <WindowChrome CaptionHeight="{x:Static SystemParameters.CaptionHeight}" ResizeBorderThickness="{x:Static SystemParameters.WindowResizeBorderThickness}" UseAeroCaptionButtons="False"/>
  </WindowChrome.WindowChrome>
  <Border BorderThickness="1" BorderBrush="#FF666666" Margin="0,0,0,0">
    <Grid>
      <Grid.RowDefinitions>
        <RowDefinition Height="400*"/>
        <RowDefinition Height="45"/>
      </Grid.RowDefinitions>
      <TextBlock x:Name="title" Margin="7,8,7,0" Text="オブジェクトグループ名を入力" VerticalAlignment="Top" FontSize="14" Foreground="{DynamicResource DisabledForegroundBrush}"/>
      <TextBlock x:Name="textPrefix" Margin="10,49,0,0" Text="WGT_" VerticalAlignment="Top" HorizontalAlignment="Left"/>
      <TextBox x:Name="tbName" HorizontalAlignment="Left" Height="23" Margin="51,43,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="200" InputMethod.IsInputMethodSuspended="True" KeyDown="tbName_KeyDown" MouseDoubleClick="tb_MouseDoubleClick" KeyUp="tbName_KeyUp"/>
      <StackPanel Margin="0" VerticalAlignment="Bottom" Orientation="Horizontal" HorizontalAlignment="Right" Grid.Row="1" Height="40" Width="189">
        <Button x:Name="btnOk" Content="OK" HorizontalAlignment="Right" VerticalAlignment="Top" Click="btnOk_Click" Margin="5" HorizontalContentAlignment="Center" MinWidth="87" IsEnabled="False"/>
        <Button x:Name="btnCancel" Content="キャンセル" VerticalAlignment="Top" Click="btnCancel_Click" Margin="0,5,5,5" IsCancel="True" IsDefault="True" MinWidth="87" HorizontalAlignment="Right"/>
      </StackPanel>
    </Grid>
  </Border>
</Window>
