<flyctrllib:WindowBigClose x:Class="MultiLayout.MainEdit.WdGraphConfig" 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="WdGraphConfigStyle.xaml"/> </ResourceDictionary.MergedDictionaries> </ResourceDictionary> </Window.Resources> <Grid TextBlock.FontSize="24" TextBlock.FontStyle="Normal" > <StackPanel Margin="5,20"> <TextBlock Text="{Binding Header}" FontSize="40" HorizontalAlignment="Center" Margin="5"/> <StackPanel Orientation="Horizontal"> <StackPanel Orientation="Horizontal"> <StackPanel Margin="{StaticResource ControlMargin}"> <TextBlock Style="{StaticResource TextBlockStyle_FieldHeaderEditable}" Text="服务"/> <ComboBox x:Name="cbServiceNames" MinWidth="100" MinHeight="40" HorizontalAlignment="Left" SelectedItem="{Binding ServiceContainerName}"/> </StackPanel> </StackPanel> <GroupBox > <GroupBox.Header> <TextBlock Text="位置"/> </GroupBox.Header> <StackPanel Orientation="Horizontal"> <StackPanel Margin="{StaticResource ControlMargin}"> <TextBlock Style="{StaticResource TextBlockStyle_FieldHeaderEditable}" Text="列" /> <StackPanel Orientation="Horizontal"> <TextBox Style="{StaticResource TextBoxStyle_FieldContent}" Text="{Binding X}" /> </StackPanel> </StackPanel> <TextBlock Text="x" VerticalAlignment="Center"/> <StackPanel Margin="{StaticResource ControlMargin}"> <TextBlock Style="{StaticResource TextBlockStyle_FieldHeaderEditable}" Text="行" /> <StackPanel Orientation="Horizontal"> <TextBox Style="{StaticResource TextBoxStyle_FieldContent}" Text="{Binding Y}" /> </StackPanel> </StackPanel> </StackPanel> </GroupBox> <GroupBox > <GroupBox.Header> <TextBlock Text="尺寸"/> </GroupBox.Header> <StackPanel Orientation="Horizontal"> <StackPanel Margin="{StaticResource ControlMargin}"> <TextBlock Style="{StaticResource TextBlockStyle_FieldHeaderEditable}" Text="宽" /> <StackPanel Orientation="Horizontal"> <TextBox Style="{StaticResource TextBoxStyle_FieldContent}" Text="{Binding Width}" /> <TextBlock Style="{StaticResource TextBlockStyle_FieldContent_mm}" Text="列"/> </StackPanel> </StackPanel> <TextBlock Text="x" VerticalAlignment="Center"/> <StackPanel Margin="{StaticResource ControlMargin}"> <TextBlock Style="{StaticResource TextBlockStyle_FieldHeaderEditable}" Text="高" /> <StackPanel Orientation="Horizontal"> <TextBox Style="{StaticResource TextBoxStyle_FieldContent}" Text="{Binding Height}" /> <TextBlock Style="{StaticResource TextBlockStyle_FieldContent_mm}" Text="行"/> </StackPanel> </StackPanel> </StackPanel> </GroupBox> <Button Style="{StaticResource ButtonStyle_icon}" HorizontalAlignment="Right" VerticalAlignment="Bottom" Click="button_apply_Click" Margin="{StaticResource ControlMargin}"> <iconPacks:PackIconMaterial Kind="CheckCircle" /> </Button> </StackPanel> </StackPanel> </Grid> </flyctrllib:WindowBigClose>