<flyctrllib:WindowBigClose x:Class="MultiLayout.MainEdit.WdMenuConfig"
                            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.MergedDictionaries>
                <ResourceDictionary Source="pack://application:,,,/MultiLayout;component/Themes/Styles.xaml"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Window.Resources>

    <Grid TextBlock.FontSize="{StaticResource FontSize.FieldContent.Middle}" MinWidth="200" >
        <StackPanel Margin="5,20">

            <GroupBox>
                <GroupBox.Header>
                    <TextBlock Text="{StaticResource str.MainEdit.PgMainEdit.Order}"/>
                </GroupBox.Header>
                <StackPanel Orientation="Horizontal" >
                    <Button Style="{StaticResource Styles.Button.Icon}"  HorizontalAlignment="Right" 
                            Click="btnPreClick" >
                        <iconPacks:PackIconMaterial Kind="ArrowUpBoldCircle" />
                    </Button>
                    <Button Style="{StaticResource Styles.Button.Icon}"  HorizontalAlignment="Right" 
                            Click="btnNextClick" >
                        <iconPacks:PackIconMaterial Kind="ArrowDownBoldCircle" />
                    </Button>
                </StackPanel>
            </GroupBox>
            <StackPanel Orientation="Horizontal">
                <StackPanel Margin="{StaticResource ControlMargin}">
                    <TextBlock Style="{StaticResource Styles.Text.FieldHeader.Editable}" Text="服务"/>
                    <ComboBox x:Name="cbServiceNames" MinWidth="100" HorizontalAlignment="Left" SelectedItem="{Binding ServiceContainerName}"/>
                </StackPanel>
                <Button Style="{StaticResource Styles.Button.Icon}"  HorizontalAlignment="Right" Foreground="DarkRed"
                            Click="btnRemoveClick" >
                    <StackPanel>
                        <iconPacks:PackIconMaterial Kind="DeleteCircle" />
                    </StackPanel>
                    
                </Button>
            </StackPanel>
        </StackPanel>
    </Grid>

    </flyctrllib:WindowBigClose>
