<Window x:Class="ChooseToolWD"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:EgtWPFLib="clr-namespace:EgtWPFLib;assembly=EgtWPFLib"
    FontFamily="{DynamicResource OmagCut_Font}"
    Title="OpenFile" Height="682.6" Width="426.6" WindowStyle="None" 
        ResizeMode="NoResize" ShowInTaskbar="False" AllowsTransparency="True" 
        Background="Transparent">

    <Border Style="{DynamicResource OmagCut_Border}">
      <Grid>
         <Grid.ColumnDefinitions>
            <ColumnDefinition Width="0.5*"/>
            <ColumnDefinition Width="4*"/>
            <ColumnDefinition Width="0.5*"/>
         </Grid.ColumnDefinitions>
         <Grid.RowDefinitions>
            <RowDefinition Height="0.5*"/>
            <RowDefinition Height="0.5*"/>
            <RowDefinition Height="5.5*"/>
            <RowDefinition Height="0.5*"/>
            <RowDefinition Height="1*"/>
            <RowDefinition Height="0.5*"/>
         </Grid.RowDefinitions>

         <TextBlock Name="FilePathTxBl" Grid.Column="1" Grid.Row="1" Style="{DynamicResource OmagCut_CenteredLowerCaseCharacterTextBlock}" />
            <!--TextAlignment="Center"
                  FontSize="20"
                  VerticalAlignment="Center"-->
         <ListBox Name="SetUpToolListBox" Grid.Column="1" Grid.Row="2"
               ItemsSource="{Binding ItemList}">
            <ListBox.ItemTemplate>
               <DataTemplate>
                  <TextBlock Text="{Binding ToolName}" Style="{StaticResource OmagCut_ListBoxTextBlock}" />
               </DataTemplate>
            </ListBox.ItemTemplate>
         </ListBox>

         <Grid Grid.Column="1" Grid.Row="4">
            <Grid.ColumnDefinitions>
               <ColumnDefinition Width="0.5*"/>
               <ColumnDefinition Width="1*"/>
               <ColumnDefinition Width="1*"/>
               <ColumnDefinition Width="1*"/>
               <ColumnDefinition Width="0.5*"/>
            </Grid.ColumnDefinitions>

            <Button Name="OkBtn" Grid.Column="1" Style="{DynamicResource OmagCut_GradientBlueIconButton}" >
               <Image Source="{DynamicResource VImg}" Style="{StaticResource OmagCut_ButtonIcon}"/>
            </Button>
            <Button Name="ExitBtn" Grid.Column="3" Style="{DynamicResource OmagCut_GradientBlueIconButton}" IsCancel="True">
               <Image Source="{DynamicResource XImg}" Style="{StaticResource OmagCut_ButtonIcon}"/>
            </Button>

         </Grid>

      </Grid>

   </Border>

</Window>
