<flyctrllib:WindowBigClose x:Class="MultiLayout.MainEdit.WdDynAreaConfig"
                            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="24" TextBlock.FontStyle="Normal" MinWidth="200" >
        <StackPanel Margin="5,20">

            <GroupBox>
                <GroupBox.Header>
                    <TextBlock Text="顺序"/>
                </GroupBox.Header>
                <StackPanel Orientation="Horizontal" >
                    <Button Style="{StaticResource ButtonStyle_icon}"  HorizontalAlignment="Right" 
                            Click="button_pre_Click" >
                        <iconPacks:PackIconMaterial Kind="ArrowUpBoldCircle" />
                    </Button>
                    <Button Style="{StaticResource ButtonStyle_icon}"  HorizontalAlignment="Right" 
                            Click="button_next_Click" >
                        <iconPacks:PackIconMaterial Kind="ArrowDownBoldCircle" />
                    </Button>
                </StackPanel>
            </GroupBox>
            <StackPanel Orientation="Horizontal">
                <StackPanel Margin="{StaticResource ControlMargin}">
                    <TextBlock Style="{StaticResource TextBlockStyle_FieldHeaderEditable}" Text="服务"/>
                    <ComboBox x:Name="cbServiceNames" MinWidth="100" HorizontalAlignment="Left" SelectedItem="{Binding ServiceContainerName}"/>
                </StackPanel>
            </StackPanel>
        </StackPanel>
    </Grid>

    </flyctrllib:WindowBigClose>
