<flyctrllib:WindowBigClose x:Class="MultiLayout.MainEdit.WdGageTabItemConfig"
                            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"
                           xmlns:iconPacks="http://metro.mahapps.com/winfx/xaml/iconpacks"
                           mc:Ignorable="d" 
      SizeToContent="WidthAndHeight"  >
    <Window.Resources>
        <ResourceDictionary>

        </ResourceDictionary>
    </Window.Resources>

    <Grid TextBlock.FontSize="{StaticResource FontSize.FieldContent.Middle}" >
        <StackPanel Margin="5,20">
            <StackPanel Orientation="Horizontal">
                <StackPanel Orientation="Horizontal">
                    <StackPanel  Margin="{StaticResource ControlMargin}" >
                        <TextBlock Style="{StaticResource Styles.Text.FieldHeader.Editable}" Text="{StaticResource str.MainEdit.PgMainEdit.Header}" />
                        <StackPanel Orientation="Horizontal">
                            <TextBox Style="{StaticResource Styles.Text.FieldContent.Input.Card}" Text="{Binding Title}" Tag="Full" MinWidth="100"/>
                        </StackPanel>
                    </StackPanel>
                </StackPanel>
                <GroupBox>
                    <GroupBox.Header>
                        <TextBlock Style="{StaticResource Styles.Text.FieldHeader.Editable}" Text="{StaticResource str.MainEdit.PgMainEdit.Order}"/>
                    </GroupBox.Header>
                    <StackPanel Orientation="Horizontal">
                        <Button Style="{StaticResource Styles.Button.Icon}" Click="button_pre_Click" >
                            <iconPacks:PackIconMaterial Kind="ArrowLeftBoldCircle" />
                        </Button>
                        <Button Style="{StaticResource Styles.Button.Icon}" Click="button_next_Click" >
                            <iconPacks:PackIconMaterial Kind="ArrowRightBoldCircle" />
                        </Button>
                    </StackPanel>
                </GroupBox>
            </StackPanel>
            <StackPanel Orientation="Horizontal">
                <StackPanel Margin="{StaticResource ControlMargin}">
                    <TextBlock Style="{StaticResource Styles.Text.FieldHeader.Editable}" Text="{StaticResource str.MainEdit.PgMainEdit.Service}"/>
                    <ComboBox x:Name="cbServiceNames" MinWidth="100" MinHeight="40" HorizontalAlignment="Left" SelectedItem="{Binding ServiceContainerName}"/>
                </StackPanel>
            </StackPanel>
        </StackPanel>
    </Grid>

</flyctrllib:WindowBigClose>
