<!-- Copyright © Northwoods Software Corporation, 2008-2026. All Rights Reserved. -->

<UserControl x:Class="EntityRelationship.EntityForm"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
  <Border BorderBrush="Black" BorderThickness="2">
    <Border BorderBrush="White" BorderThickness="1" Background="LightGray">
      <Grid>
        <Grid.RowDefinitions>
          <RowDefinition Height="Auto" />
          <RowDefinition Height="Auto" />
          <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <StackPanel Grid.Row="0" Orientation="Horizontal" Margin="10">
          <TextBlock Text="Table: " FontWeight="Bold" />
          <TextBlock Text="{Binding Key}" MinWidth="50" />
        </StackPanel>
        <StackPanel Grid.Row="1" Orientation="Horizontal" Margin="10">
          <TextBlock Text="Rename: " FontWeight="Bold" />
          <TextBox Text="{Binding Key, Mode=TwoWay}" MinWidth="50" />
        </StackPanel>
        <Button Grid.Row="2" HorizontalAlignment="Center" Margin="10"
                Content="Close" Click="Button_Click" />
      </Grid>
    </Border>
  </Border>
</UserControl>
