<EgtWPFLib5:EgtCustomWindow x:Class="MacroFeatureWndV"
                            xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                            xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                            xmlns:EgtWPFLib5="clr-namespace:EgtWPFLib5;assembly=EgtWPFLib5"
                            xmlns:EgtBEAMWALL="clr-namespace:EgtBEAMWALL.ViewerOptimizer"
                            Style="{DynamicResource {x:Type EgtWPFLib5:EgtCustomWindow}}"
                            WindowStyle="None" ResizeMode="NoResize"
                            SizeToContent="WidthAndHeight"
                            WindowStartupLocation="CenterOwner"
                            IsClosable="False"
                            IsMinimizable="False"
                            IsResizable="False"
                            Title="MacroFeature">
   <StackPanel Margin="5,5,5,0">
      <Border Grid.Row="1"
              BorderThickness="1"
              BorderBrush="DarkGray"
              Background="White"
              Margin="5">
         <Grid Margin="5">
            <Grid.RowDefinitions>
               <RowDefinition Height="Auto"/>
               <RowDefinition Height="1*"/>
               <RowDefinition Height="Auto"/>
            </Grid.RowDefinitions>

            <Grid HorizontalAlignment="Center"
                  Grid.Row="0"
                  Margin="15">
               <Grid.RowDefinitions>
                  <RowDefinition Height="Auto"/>
                  <RowDefinition Height="1*"/>
                  <RowDefinition Height="Auto"/>
               </Grid.RowDefinitions>
               <Grid.ColumnDefinitions>
                  <ColumnDefinition Width="Auto"/>
                  <ColumnDefinition Width="Auto"/>
               </Grid.ColumnDefinitions>

               <TextBlock Text="Feature"
                          Style="{StaticResource OptionTextBlock}"/>
               <ComboBox ItemsSource="{Binding FeatureList}"
                         SelectedItem="{Binding nSelFeature}"
                         Grid.Column="1"
                         DisplayMemberPath="sDesc"
                         Width="200"
                         Style="{StaticResource FeatureComboBox}"/>

               <Rectangle Height="22" Grid.Row="1"/>

               <TextBlock Text="Name"
                          Style="{StaticResource OptionTextBlock}"
                          Grid.Row="2"/>
               <EgtWPFLib5:EgtTextBox Text="{Binding sFeatureName}"
                                      Grid.Row="2"
                                      Grid.Column="1"
                                      Width="200"/>
            </Grid>
            <!--<Image Source="{Binding sDrawPath}"
                   Grid.Row="1"
                   Height="300"
                   Width="300"
                   Margin="5,0,5,5"/>-->

            <Grid Grid.Row="2" Margin="5">
               <Grid.ColumnDefinitions>
                  <ColumnDefinition Width="1*"/>
                  <ColumnDefinition Width="Auto"/>
                  <ColumnDefinition Width="1*"/>
                  <ColumnDefinition Width="Auto"/>
                  <ColumnDefinition Width="1*"/>
               </Grid.ColumnDefinitions>
               <Button Content="Ok"
                 Command="{Binding Ok_Command}"
                 IsDefault="True"
                 Grid.Column="1"
                 Style="{StaticResource EgtWPFLib5_InputButton}"/>
               <Button Content="Cancel"
                 IsCancel="True"
                 Grid.Column="3"
                 Style="{StaticResource EgtWPFLib5_InputButton}"/>
            </Grid>

         </Grid>
      </Border>

   </StackPanel>
</EgtWPFLib5:EgtCustomWindow>
