123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283 |
- <Window
- x:Uid="Window_1"
- x:Class="OINA.Extender.WPF.Testharness.BCDialogVisualSettings"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:testharness="clr-namespace:OINA.Extender.WPF.Testharness"
- xmlns:system="clr-namespace:System;assembly=mscorlib"
- Title="Brightness/Contrast Dialog Visual Settings"
- Height="440"
- Width="390"
- ResizeMode="NoResize"
- WindowStyle="ToolWindow"
- WindowStartupLocation="CenterOwner">
- <Grid
- x:Uid="Grid_1">
- <Grid
- x:Uid="Grid_2">
- <Grid.RowDefinitions>
- <RowDefinition
- x:Uid="RowDefinition_1" />
- <RowDefinition
- x:Uid="RowDefinition_2" />
- <RowDefinition
- x:Uid="RowDefinition_3"
- Height="Auto"/>
- <RowDefinition
- x:Uid="RowDefinition_4" />
- <RowDefinition
- x:Uid="RowDefinition_5" />
- <RowDefinition
- x:Uid="RowDefinition_6" />
- <RowDefinition
- x:Uid="RowDefinition_7" />
- <RowDefinition
- x:Uid="RowDefinition_12" />
- <RowDefinition
- x:Uid="RowDefinition_13" />
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition
- x:Uid="ColumnDefinition_1"
- Width="Auto" />
- <ColumnDefinition
- x:Uid="ColumnDefinition_2" />
- </Grid.ColumnDefinitions>
- <Label
- x:Uid="Label_6"
- Grid.Row="0"
- Grid.Column="0"
- Content="Background Colour"
- VerticalContentAlignment="Center" />
- <testharness:ColorPickerCombo
- Grid.Row="0"
- Grid.Column="1"
- x:Uid="BackgroundColorCombo"
- x:Name="BackgroundColorCombo"
- Margin="5"
- SelectedColor="{Binding BackgroundColor, Mode=TwoWay}">
- </testharness:ColorPickerCombo>
- <Label
- x:Uid="Label_2"
- Grid.Row="1"
- Grid.Column="0"
- Content="Control Background Colour"
- VerticalContentAlignment="Center" />
- <testharness:ColorPickerCombo
- Grid.Row="1"
- Grid.Column="1"
- x:Uid="ControlBackgroundColorCombo"
- x:Name="ControlBackgroundColorCombo"
- Margin="5"
- SelectedColor="{Binding GenericControlBackgroundColor, Mode=TwoWay}">
- </testharness:ColorPickerCombo>
- <GroupBox
- Grid.Row="2"
- Grid.Column="0"
- Grid.ColumnSpan="2"
- Margin="5"
- Header="Header Font Settings"
- x:Uid="GroupBox_2">
- <Grid
- x:Uid="Grid_7">
- <Grid.ColumnDefinitions>
- <ColumnDefinition
- x:Uid="ColumnDefinition_13" />
- <ColumnDefinition
- x:Uid="ColumnDefinition_14" />
- <ColumnDefinition
- x:Uid="ColumnDefinition_15" />
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition
- x:Uid="RowDefinition_8" />
- <RowDefinition
- x:Uid="RowDefinition_9" />
- <RowDefinition
- x:Uid="RowDefinition_10" />
- <RowDefinition
- x:Uid="RowDefinition_11" />
- </Grid.RowDefinitions>
- <Label
- Grid.Row="0"
- Grid.ColumnSpan="2"
- Margin="5,0"
- Content="Font Family"
- x:Uid="Label_20" />
- <ComboBox
- x:Name="HeaderFontFamilyCombo"
- Grid.Row="1"
- Grid.Column="0"
- Grid.ColumnSpan="2"
- Margin="5,0"
- ItemsSource="{Binding Source={x:Static Fonts.SystemFontFamilies}}"
- SelectedValue="{Binding HeaderFontFamily, Mode=TwoWay}"
- x:Uid="HeaderFontFamilyCombo">
- <ComboBox.ItemTemplate>
- <DataTemplate
- x:Uid="DataTemplate_6">
- <StackPanel
- Height="18"
- Margin="0,0,0,2"
- Orientation="Horizontal"
- x:Uid="StackPanel_12">
- <TextBlock
- Margin="8,0,0,0"
- FontFamily="{Binding}"
- Text="{Binding}"
- x:Uid="TextBlock_7" />
- </StackPanel>
- </DataTemplate>
- </ComboBox.ItemTemplate>
- </ComboBox>
- <Label
- x:Uid="Label_5"
- Grid.Row="0"
- Grid.Column="2"
- Content="Font Size"
- VerticalContentAlignment="Center" />
- <ComboBox
- x:Uid="HeaderFontSizeCombo"
- x:Name="HeaderFontSizeCombo"
- SelectedValue="{Binding HeaderFontSize, Mode=TwoWay }"
- Grid.Row="1"
- Grid.Column="3"
- Margin="5,0">
- <ComboBox.ItemsSource>
- <x:Array
- x:Uid="x:Array_1"
- Type="system:Double">
- <system:Double
- x:Uid="sys:Double_00">8</system:Double>
- <system:Double
- x:Uid="sys:Double_0">10</system:Double>
- <system:Double
- x:Uid="sys:Double_1">12</system:Double>
- <system:Double
- x:Uid="sys:Double_2">14</system:Double>
- <system:Double
- x:Uid="sys:Double_3">16</system:Double>
- <system:Double
- x:Uid="sys:Double_4">18</system:Double>
- </x:Array>
- </ComboBox.ItemsSource>
- </ComboBox>
- <Label
- Grid.Row="2"
- Grid.Column="0"
- Margin="5,0"
- Content="Font Style"
- x:Uid="Label_21" />
- <ComboBox
- x:Name="HeaderFontStyleCombo"
- Grid.Row="3"
- Grid.Column="0"
- Margin="5,0"
- SelectedValue="{Binding HeaderFontStyle, Mode=TwoWay}"
- x:Uid="HeaderFontStyleCombo">
- <FontStyle
- x:Uid="FontStyle_1">Normal</FontStyle>
- <FontStyle
- x:Uid="FontStyle_2">Italic</FontStyle>
- <FontStyle
- x:Uid="FontStyle_3">Oblique</FontStyle>
- </ComboBox>
- <Label
- Grid.Row="2"
- Grid.Column="1"
- Margin="5,0"
- Content="Font Color"
- x:Uid="Label_22" />
- <testharness:ColorPickerCombo
- Grid.Row="3"
- Grid.Column="1"
- Grid.ColumnSpan="2"
- x:Uid="HeaderFontColorCombo"
- x:Name="HeaderFontColorCombo"
- Margin="5,0"
- SelectedColor="{Binding HeaderFontColor, Mode=TwoWay}">
- </testharness:ColorPickerCombo>
- </Grid>
- </GroupBox>
- <Label
- x:Uid="Label_23"
- Grid.Row="3"
- Grid.Column="0"
- Content="Plotter/Combo Background Colour"
- VerticalContentAlignment="Center" />
- <testharness:ColorPickerCombo
- Grid.Row="3"
- Grid.Column="1"
- x:Uid="PlotterBackgroundColorCombo"
- x:Name="PlotterBackgroundColorCombo"
- Margin="5"
- SelectedColor="{Binding PlotterBackgroundColor, Mode=TwoWay}">
- </testharness:ColorPickerCombo>
- <Label
- x:Uid="Label_3"
- Grid.Row="4"
- Grid.Column="0"
- Content="Combo Line Colour"
- VerticalContentAlignment="Center" />
- <testharness:ColorPickerCombo
- Grid.Row="4"
- Grid.Column="1"
- x:Uid="ComboLineColorCombo"
- x:Name="ComboLineColorCombo"
- Margin="5"
- SelectedColor="{Binding ComboLineColor, Mode=TwoWay}">
- </testharness:ColorPickerCombo>
- <Label
- x:Uid="Label_4"
- Grid.Row="5"
- Grid.Column="0"
- Content="Plotter Axis Colour"
- VerticalContentAlignment="Center" />
- <testharness:ColorPickerCombo
- Grid.Row="5"
- Grid.Column="1"
- x:Uid="PlotterAxisColorCombo"
- x:Name="PlotterAxisColorCombo"
- Margin="5"
- SelectedColor="{Binding AxisMarkersColor, Mode=TwoWay}">
- </testharness:ColorPickerCombo>
- <Label
- x:Uid="Label_24"
- Grid.Row="6"
- Grid.Column="0"
- Content="Plotter Axis Ticks Colour"
- VerticalContentAlignment="Center" />
- <testharness:ColorPickerCombo
- Grid.Row="6"
- Grid.Column="1"
- x:Uid="PlotterAxisTicksColorCombo"
- x:Name="PlotterAxisTicksColorCombo"
- Margin="5"
- SelectedColor="{Binding AxisTicksColor, Mode=TwoWay}">
- </testharness:ColorPickerCombo>
- <Label
- x:Uid="Label_25"
- Grid.Row="7"
- Grid.Column="0"
- Content="Plotter Line Colour"
- VerticalContentAlignment="Center" />
- <testharness:ColorPickerCombo
- Grid.Row="7"
- Grid.Column="1"
- x:Uid="PlotterLineColorCombo"
- x:Name="PlotterLineColorCombo"
- Margin="5"
- SelectedColor="{Binding PlotterLineColor, Mode=TwoWay}">
- </testharness:ColorPickerCombo>
- <Button
- x:Uid="ResetStyleButton"
- x:Name="ResetStyleButton"
- Content="Reset Style"
- Grid.Row="8"
- Grid.ColumnSpan="2"
- Margin="5"
- Click="ResetStyleButton_Click" />
- </Grid>
- </Grid>
- </Window>
|