<Border x:Class="SparkClient.Views.Configuration.SettingPages.ModelColorSetPage" 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:local="clr-namespace:SparkClient.Views.Configuration.SettingPages" xmlns:hc="https://handyorg.github.io/handycontrol" mc:Ignorable="d" local:LabelContentChangedBehavior.ContentChanged="Label_ContentChanged" d:DesignHeight="400" d:DesignWidth="1000"> <Border.Resources> <Style x:Key="BorderRowStyle" TargetType="Border"> <Setter Property="CornerRadius" Value="15" /> <Setter Property="Background" Value="#f0f1f6" /> <Setter Property="Padding" Value="5 20" /> <Setter Property="Margin" Value="2 3" /> </Style> <Style x:Key="TextBlockStyle" TargetType="TextBlock"> <Setter Property="TextAlignment" Value="Right" /> <Setter Property="VerticalAlignment" Value="Center" /> <Setter Property="FontSize" Value="16" /> <Setter Property="Foreground" Value="Black" /> <Setter Property="Padding" Value="0 0 10 0" /> </Style> <!-- <Style x:Key="CheckBoxStyle" TargetType="CheckBox"> --> <!-- <Setter Property="VerticalAlignment" Value="Center" /> --> <!-- <Setter Property="FontSize" Value="16" /> --> <!-- <Setter Property="Foreground" Value="Black" /> --> <!-- <Setter Property="Padding" Value="0 0 10 0" /> --> <!-- <Setter Property="Margin" Value="0 5" /> --> <!-- </Style> --> </Border.Resources> <Grid> <Grid.RowDefinitions> <RowDefinition Height="auto"/> <RowDefinition Height="auto"/> <RowDefinition Height="auto"/> <RowDefinition Height="auto"/> <RowDefinition Height="auto"/> <RowDefinition Height="auto"/> </Grid.RowDefinitions> <Border Grid.Row="0" Style="{StaticResource BorderRowStyle}"> <Grid> <Grid.ColumnDefinitions> <ColumnDefinition Width="150"/> <ColumnDefinition Width="*"/> </Grid.ColumnDefinitions> <TextBlock Grid.Column="0" Text="{StaticResource SystemSettingModelSetDefaultColor}" Style="{DynamicResource TextBlockStyle}" /> <Grid Grid.Column="1"> <Grid.ColumnDefinitions> <ColumnDefinition Width="250"/> <ColumnDefinition Width="10"/> <ColumnDefinition Width="250"/> </Grid.ColumnDefinitions> <Grid Grid.Column="0"> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto"/> <ColumnDefinition Width="Auto"/> </Grid.ColumnDefinitions> <Label Grid.Column="0" FontSize="14" Content="{StaticResource SystemSettingModelSetMainFaceColor}" HorizontalAlignment="Right" Width="150" /> <Label Grid.Column="1" FontSize="14" Background="#FF000000" local:LabelContentChangedBehavior.EnableContentChanged="True" HorizontalAlignment="Left" Content="{Binding FACET_COLOR,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Width="100" MouseLeftButtonDown="LabelsColor_OnMouseLeftButtonDown" /> </Grid> <Grid Grid.Column="2"> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto"/> <ColumnDefinition Width="Auto"/> </Grid.ColumnDefinitions> <Label Grid.Column="0" FontSize="14" Content="{StaticResource SystemSettingModelSetMainBorderColor}" HorizontalAlignment="Right" Width="150" /> <Label Grid.Column="1" FontSize="14" Background="#FF000000" local:LabelContentChangedBehavior.EnableContentChanged="True" HorizontalAlignment="Left" Content="{Binding BORDER_COLOR,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Width="100" MouseLeftButtonDown="LabelsColor_OnMouseLeftButtonDown" /> </Grid> </Grid> </Grid> </Border> <Border Grid.Row="1" Style="{StaticResource BorderRowStyle}"> <Grid> <Grid.ColumnDefinitions> <ColumnDefinition Width="150"/> <ColumnDefinition Width="*"/> </Grid.ColumnDefinitions> <TextBlock Grid.Column="0" Text="{StaticResource SystemSettingModelSetTurnColor}" Style="{DynamicResource TextBlockStyle}" /> <Grid Grid.Column="1"> <Grid.RowDefinitions> <RowDefinition Height="Auto"/> <RowDefinition Height="10"/> <RowDefinition Height="Auto"/> </Grid.RowDefinitions> <Grid.ColumnDefinitions> <ColumnDefinition Width="250"/> <ColumnDefinition Width="10"/> <ColumnDefinition Width="250"/> <ColumnDefinition Width="10"/> <ColumnDefinition Width="250"/> </Grid.ColumnDefinitions> <Grid Grid.Column="0" Row="0"> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto"/> <ColumnDefinition Width="Auto"/> </Grid.ColumnDefinitions> <Label Grid.Column="0" FontSize="14" Content="{StaticResource SystemSettingModelSetSelectedColor}" HorizontalAlignment="Right" Width="150" /> <Label Grid.Column="1" FontSize="14" Background="#FF000000" local:LabelContentChangedBehavior.EnableContentChanged="True" HorizontalAlignment="Left" Content="{Binding SELECTED_FACET_COLOR,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Width="100" MouseLeftButtonDown="LabelsColor_OnMouseLeftButtonDown" /> </Grid> <Grid Grid.Column="2" Row="0"> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto"/> <ColumnDefinition Width="Auto"/> </Grid.ColumnDefinitions> <Label Grid.Column="0" FontSize="14" Content="{StaticResource SystemSettingModelSetSelectedBorderColor}" HorizontalAlignment="Right" Width="150" /> <Label Grid.Column="1" FontSize="14" Background="#FF000000" local:LabelContentChangedBehavior.EnableContentChanged="True" HorizontalAlignment="Left" Content="{Binding SELECTED_BORDER_COLOR,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Width="100" MouseLeftButtonDown="LabelsColor_OnMouseLeftButtonDown" /> </Grid> <Grid Grid.Column="4" Row="0"> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto"/> <ColumnDefinition Width="Auto"/> </Grid.ColumnDefinitions> <Label Grid.Column="0" FontSize="14" Content="{StaticResource SystemSettingModelSetSelectedTypeColor}" HorizontalAlignment="Right" Width="150" /> <Label Grid.Column="1" FontSize="14" Background="#FF000000" local:LabelContentChangedBehavior.EnableContentChanged="True" HorizontalAlignment="Left" Content="{Binding SELECTED_TYPE_COLOR,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Width="100" MouseLeftButtonDown="LabelsColor_OnMouseLeftButtonDown" /> </Grid> <Grid Grid.Column="0" Row="2"> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto"/> <ColumnDefinition Width="Auto"/> </Grid.ColumnDefinitions> <Label Grid.Column="0" FontSize="14" Content="{StaticResource SystemSettingModelSetSelectedTextColor}" HorizontalAlignment="Right" Width="150" /> <Label Grid.Column="1" FontSize="14" Background="#FF000000" local:LabelContentChangedBehavior.EnableContentChanged="True" HorizontalAlignment="Center" Content="{Binding SELECTED_FONT_COLOR,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Width="100" MouseLeftButtonDown="LabelsColor_OnMouseLeftButtonDown" Height="28" VerticalAlignment="Top" /> </Grid> <Grid Grid.Column="2" Row="2"> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto"/> <ColumnDefinition Width="Auto"/> </Grid.ColumnDefinitions> <Label Grid.Column="0" FontSize="14" Content="{StaticResource SystemSettingModelSetSelectedLineColor}" HorizontalAlignment="Right" Width="150" /> <Label Grid.Column="1" FontSize="14" Background="#FF000000" local:LabelContentChangedBehavior.EnableContentChanged="True" HorizontalAlignment="Left" Content="{Binding RULER_COLOR,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Width="100" MouseLeftButtonDown="LabelsColor_OnMouseLeftButtonDown" /> </Grid> <Grid Grid.Column="4" Row="2"> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto"/> <ColumnDefinition Width="Auto"/> </Grid.ColumnDefinitions> <Label Grid.Column="0" FontSize="14" Content="{StaticResource SystemSettingModelSetSelectedPosdColor}" HorizontalAlignment="Right" Width="150" /> <Label Grid.Column="1" FontSize="14" Background="#FF000000" local:LabelContentChangedBehavior.EnableContentChanged="True" HorizontalAlignment="Left" Content="{Binding ARROW_COLOR,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Width="100" MouseLeftButtonDown="LabelsColor_OnMouseLeftButtonDown" /> </Grid> </Grid> </Grid> </Border> <Border Grid.Row="2" Style="{StaticResource BorderRowStyle}"> <Grid> <Grid.ColumnDefinitions> <ColumnDefinition Width="150"/> <ColumnDefinition Width="*"/> </Grid.ColumnDefinitions> <TextBlock Grid.Column="0" Text="{StaticResource SystemSettingModelSetTypeColor}" Style="{DynamicResource TextBlockStyle}" /> <Grid Grid.Column="1" > <Grid.RowDefinitions> <RowDefinition Height="Auto"/> <RowDefinition Height="10"/> <RowDefinition Height="Auto"/> <RowDefinition Height="10"/> <RowDefinition Height="Auto"/> </Grid.RowDefinitions> <Grid.ColumnDefinitions> <ColumnDefinition Width="250"/> <ColumnDefinition Width="10"/> <ColumnDefinition Width="250"/> <ColumnDefinition Width="10"/> <ColumnDefinition Width="250"/> </Grid.ColumnDefinitions> <Grid Grid.Column="0" Row="0"> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto"/> <ColumnDefinition Width="Auto"/> </Grid.ColumnDefinitions> <Label Grid.Column="0" FontSize="14" Content="{StaticResource SystemSettingModelSetErrorColor}" HorizontalAlignment="Right" Width="150" /> <Label Grid.Column="1" FontSize="14" Background="#FF000000" local:LabelContentChangedBehavior.EnableContentChanged="True" HorizontalAlignment="Left" Content="{Binding BLEMISH_FACET_COLOR,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Width="100" MouseLeftButtonDown="LabelsColor_OnMouseLeftButtonDown" /> </Grid> <Grid Grid.Column="2" Row="0"> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto"/> <ColumnDefinition Width="Auto"/> </Grid.ColumnDefinitions> <Label Grid.Column="0" FontSize="14" Content="{StaticResource SystemSettingModelSetTableColor}" HorizontalAlignment="Right" Width="150" /> <Label Grid.Column="1" FontSize="14" Background="#FF000000" local:LabelContentChangedBehavior.EnableContentChanged="True" HorizontalAlignment="Left" Content="{Binding TABLE_FACET_COLOR,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Width="100" MouseLeftButtonDown="LabelsColor_OnMouseLeftButtonDown" /> </Grid> <Grid Grid.Column="4" Row="0"> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto"/> <ColumnDefinition Width="Auto"/> </Grid.ColumnDefinitions> <Label Grid.Column="0" FontSize="14" Content="{StaticResource SystemSettingModelSetUpperColor}" HorizontalAlignment="Right" Width="150" /> <Label Grid.Column="1" FontSize="14" Background="#FF000000" local:LabelContentChangedBehavior.EnableContentChanged="True" HorizontalAlignment="Left" Content="{Binding UPPER_MAIN_FACET_COLOR,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Width="100" MouseLeftButtonDown="LabelsColor_OnMouseLeftButtonDown" /> </Grid> <Grid Grid.Column="0" Row="2"> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto"/> <ColumnDefinition Width="Auto"/> </Grid.ColumnDefinitions> <Label Grid.Column="0" FontSize="14" Content="{StaticResource SystemSettingModelSetStarColor}" HorizontalAlignment="Right" Width="150" /> <Label Grid.Column="1" FontSize="14" Background="#FF000000" local:LabelContentChangedBehavior.EnableContentChanged="True" HorizontalAlignment="Left" Content="{Binding STAR_FACET_COLOR,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Width="100" MouseLeftButtonDown="LabelsColor_OnMouseLeftButtonDown" /> </Grid> <Grid Grid.Column="2" Row="2"> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto"/> <ColumnDefinition Width="Auto"/> </Grid.ColumnDefinitions> <Label Grid.Column="0" FontSize="14" Content="{StaticResource SystemSettingModelSetUpperGirdleColor}" HorizontalAlignment="Right" Width="150" /> <Label Grid.Column="1" FontSize="14" Background="#FF000000" local:LabelContentChangedBehavior.EnableContentChanged="True" HorizontalAlignment="Left" Content="{Binding UPPER_GIRDLE_FACET_COLOR,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Width="100" MouseLeftButtonDown="LabelsColor_OnMouseLeftButtonDown" /> </Grid> <Grid Grid.Column="4" Row="2"> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto"/> <ColumnDefinition Width="Auto"/> </Grid.ColumnDefinitions> <Label Grid.Column="0" FontSize="14" Content="{StaticResource SystemSettingModelSetGirdleColor}" HorizontalAlignment="Right" Width="150" /> <Label Grid.Column="1" FontSize="14" Background="#FF000000" local:LabelContentChangedBehavior.EnableContentChanged="True" HorizontalAlignment="Left" Content="{Binding GIRDLE_FACET_COLOR,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Width="100" MouseLeftButtonDown="LabelsColor_OnMouseLeftButtonDown" /> </Grid> <Grid Grid.Column="0" Row="4"> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto"/> <ColumnDefinition Width="Auto"/> </Grid.ColumnDefinitions> <Label Grid.Column="0" FontSize="14" Content="{StaticResource SystemSettingModelSetPavilionColor}" HorizontalAlignment="Right" Width="150" /> <Label Grid.Column="1" FontSize="14" Background="#FF000000" local:LabelContentChangedBehavior.EnableContentChanged="True" HorizontalAlignment="Left" Content="{Binding PAVILION_MAIN_FACET_COLOR,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Width="100" MouseLeftButtonDown="LabelsColor_OnMouseLeftButtonDown" /> </Grid> <Grid Grid.Column="2" Row="4"> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto"/> <ColumnDefinition Width="Auto"/> </Grid.ColumnDefinitions> <Label Grid.Column="0" FontSize="14" Content="{StaticResource SystemSettingModelSetLowerGirdleColor}" HorizontalAlignment="Right" Width="150" /> <Label Grid.Column="1" FontSize="14" Background="#FF000000" local:LabelContentChangedBehavior.EnableContentChanged="True" HorizontalAlignment="Left" Content="{Binding LOWER_GIRDLE_FACET_COLOR,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Width="100" MouseLeftButtonDown="LabelsColor_OnMouseLeftButtonDown" /> </Grid> <Grid Grid.Column="4" Row="4"> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto"/> <ColumnDefinition Width="Auto"/> </Grid.ColumnDefinitions> <Label Grid.Column="0" FontSize="14" Content="{StaticResource SystemSettingModelSetCuletColor}" HorizontalAlignment="Right" Width="150" /> <Label Grid.Column="1" FontSize="14" Background="#FF000000" local:LabelContentChangedBehavior.EnableContentChanged="True" HorizontalAlignment="Left" Content="{Binding CULET_COLOR,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Width="100" MouseLeftButtonDown="LabelsColor_OnMouseLeftButtonDown" /> </Grid> </Grid> </Grid> </Border> </Grid> </Border>