<flyctrllib:WindowBigClose x:Class="MultiLayout.MainEdit.WdMainConfig" 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" Title="Window_mainset" mc:Ignorable="d" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:iconPacks="http://metro.mahapps.com/winfx/xaml/iconpacks" SizeToContent="WidthAndHeight" > <Window.Resources> <ResourceDictionary> <ResourceDictionary.MergedDictionaries> <ResourceDictionary Source="pack://application:,,,/MultiLayout;component/MainEdit/WdMainConfigStyle.xaml"/> </ResourceDictionary.MergedDictionaries> </ResourceDictionary> </Window.Resources> <Grid TextBlock.FontSize="24" TextBlock.FontStyle="Normal" > <StackPanel Margin="5,20"> <GroupBox> <GroupBox.Header> <TextBlock Text="动态区"/> </GroupBox.Header> <StackPanel Orientation="Horizontal"> <StackPanel Orientation="Vertical" Margin="5"> <TextBlock Style="{StaticResource ResourceKey=TextBlockStyle_FieldHeaderEditable}" Text="动态区域宽度" /> <StackPanel Orientation="Horizontal"> <TextBox Style="{StaticResource ResourceKey=TextBoxStyle_FieldContent}" Text="{Binding DynAreaWidth}" MinWidth="30" MaxWidth="120"/> <TextBlock Style="{StaticResource ResourceKey=TextBlockStyle_FieldContent_mm}" Text="pixel"/> </StackPanel> </StackPanel> <StackPanel Orientation="Vertical" Margin="5"> <TextBlock Style="{StaticResource ResourceKey=TextBlockStyle_FieldHeaderEditable}" Text="显示" /> <ToggleButton Style="{StaticResource ToggleButtonStyle1}" IsChecked="{Binding IsDynAreaVisible}" HorizontalAlignment="Left"/> </StackPanel> </StackPanel> </GroupBox> <StackPanel Orientation="Horizontal"> <StackPanel Margin="{StaticResource ControlMargin}"> <TextBlock Style="{StaticResource TextBlockStyle_FieldHeaderEditable}" Text="隐藏Logo" /> <ToggleButton Style="{StaticResource ToggleButtonStyle1}" IsChecked="{Binding IsLogoHidden}" /> </StackPanel> </StackPanel> <StackPanel Orientation="Horizontal" Margin="{StaticResource ControlMargin}" HorizontalAlignment="Right"> <Button Style="{StaticResource ButtonStyle_icon}" Click="button_marksize_Click" Margin="{StaticResource ControlMargin}" > <StackPanel > <iconPacks:PackIconMaterial Kind="Group" /> <TextBlock Text="记录尺寸"/> </StackPanel> </Button> <Button Style="{StaticResource ButtonStyle_icon}" Click="button_marksize_Click" Margin="{StaticResource ControlMargin}" > <StackPanel > <iconPacks:PackIconMaterial Kind="CheckCircle" /> <TextBlock Text="确定"/> </StackPanel> </Button> </StackPanel> </StackPanel> </Grid> </flyctrllib:WindowBigClose>