<flyctrllib:WindowBigClose x:Class="ThickTcpUiInWindow.MainEdit.Window_MainEditGraphComponent"
                            xmlns:flyctrllib="clr-namespace:FLY.ControlLibrary;assembly=FLY.ControlLibrary"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      mc:Ignorable="d" 
      SizeToContent="WidthAndHeight"  >
    <Window.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="pack://application:,,,/FLY.ControlLibrary;component/Themes/Dictionary_MyStyle.xaml"/>
                <!--<ResourceDictionary Source="pack://application:,,,/ThickTcpUiInWindow;component/Culture/StringResource.zh-CN.xaml"/>-->
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Window.Resources>

    <Grid TextBlock.FontSize="24" TextBlock.FontStyle="Normal" >

        <StackPanel Orientation="Vertical" Margin="5,20">
            <TextBlock Text="{Binding Header}" FontSize="40" HorizontalAlignment="Center" Margin="5"/>

            <StackPanel Orientation="Horizontal">
                

            <GroupBox >
                    <GroupBox.Header>
                        <TextBlock Text="{DynamicResource strPosition}"/>
                    </GroupBox.Header>
                    <StackPanel Orientation="Horizontal">
                    <StackPanel Orientation="Vertical" Margin="5">
                        <TextBlock Style="{StaticResource ResourceKey=TextBlockStyle_FieldHeaderEditable}" Text="{DynamicResource strRow}" />
                        <StackPanel Orientation="Horizontal">
                                <TextBox Style="{StaticResource ResourceKey=TextBoxStyle_FieldContent}" Text="{Binding Y}" />
                        </StackPanel>
                    </StackPanel>
                    <TextBlock Text="x" VerticalAlignment="Center"/>

                    <StackPanel Orientation="Vertical" Margin="5">
                        <TextBlock Style="{StaticResource ResourceKey=TextBlockStyle_FieldHeaderEditable}" Text="{DynamicResource strColumn}" />
                        <StackPanel Orientation="Horizontal">
                                <TextBox Style="{StaticResource ResourceKey=TextBoxStyle_FieldContent}" Text="{Binding X}" />
                        </StackPanel>
                    </StackPanel>
                </StackPanel>

                </GroupBox>
            <GroupBox >
                <GroupBox.Header>
                        <TextBlock Text="{DynamicResource strSize}"/>
                </GroupBox.Header>
                <StackPanel Orientation="Horizontal">
                    <StackPanel Orientation="Vertical" Margin="5">
                        <TextBlock Style="{StaticResource TextBlockStyle_FieldHeaderEditable}" Text="{DynamicResource strWidth}" />
                        <StackPanel Orientation="Horizontal">
                                <TextBox Style="{StaticResource TextBoxStyle_FieldContent}" Text="{Binding Width}" />
                            <TextBlock Style="{StaticResource TextBlockStyle_FieldContent_mm}" Text="{DynamicResource strColumn}"/>
                        </StackPanel>
                    </StackPanel>
                    <TextBlock Text="x" VerticalAlignment="Center"/>
                    <StackPanel Orientation="Vertical" Margin="5">
                        <TextBlock Style="{StaticResource TextBlockStyle_FieldHeaderEditable}" Text="{DynamicResource strHeight}" />
                        <StackPanel Orientation="Horizontal">
                                <TextBox Style="{StaticResource TextBoxStyle_FieldContent}" Text="{Binding Height}" />
                            <TextBlock Style="{StaticResource TextBlockStyle_FieldContent_mm}" Text="{DynamicResource strRow}"/>
                        </StackPanel>
                    </StackPanel>

                </StackPanel>

            </GroupBox>
            <Button Style="{StaticResource ButtonStyle_empty}" HorizontalAlignment="Right" BorderThickness="0" VerticalAlignment="Bottom" Click="button_apply_Click" Margin="5" Background="White">
                <Path Data="{StaticResource Geometry_check-circle}" Fill="{StaticResource Color_theme_activity}" Stretch="Fill" Height="50" Width="50"  />
            </Button>
            </StackPanel>
        </StackPanel>
    </Grid>

    </flyctrllib:WindowBigClose>
