<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <!--查询文本框样式-->
    <Style x:Key="searchText"  TargetType="Control">
        <!--<Setter Property="Foreground" Value="White"></Setter>-->
        <Setter Property="FontSize" Value="20"></Setter>
        <Setter Property="VerticalAlignment" Value="Center"></Setter>
        <Setter Property="Height" Value="40" />
        <Setter Property="FontFamily" Value="微软雅黑"/>
    </Style>

    <Style x:Key="DatePickerText1"  TargetType="DatePicker">
        <!--<Setter Property="Foreground" Value="White"></Setter>-->
        <Setter Property="BorderThickness" Value="0"></Setter>
        <Setter Property="Margin" Value="-3,10,0,0"></Setter>
        <Setter Property="RenderTransform">
            <Setter.Value>
                <ScaleTransform ScaleX="1.2" ScaleY="1.5"/>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="DatePickerText2"  TargetType="DatePicker">
        <!--<Setter Property="Foreground" Value="White"></Setter>-->
        <Setter Property="BorderThickness" Value="0"></Setter>
        <Setter Property="Margin" Value="0,5,0,0"></Setter>
        <Setter Property="RenderTransform">
            <Setter.Value>
                <ScaleTransform ScaleX="1.4" ScaleY="1.7"/>
            </Setter.Value>
        </Setter>
    </Style>

    <!--<Style x:Key="searchText"  TargetType="ComboBox">
        -->
    <!--<Setter Property="Foreground" Value="White"></Setter>-->
    <!--
        <Setter Property="FontSize" Value="20"></Setter>
        <Setter Property="VerticalAlignment" Value="Center"></Setter>
    </Style>-->
    <!--查询文本框样式-->
    <Style x:Key="searchLabel"  TargetType="Label">
        <Setter Property="Foreground" Value="White"></Setter>
        <Setter Property="FontSize" Value="20"></Setter>
        <Setter Property="VerticalAlignment" Value="Center"></Setter>
        <Setter Property="FontFamily" Value="微软雅黑"/>
    </Style>
    <Style x:Key="searchTextBlock"  TargetType="TextBlock">
        <Setter Property="Foreground" Value="White"></Setter>
        <Setter Property="FontSize" Value="20"></Setter>
        <Setter Property="VerticalAlignment" Value="Center"></Setter>
        <Setter Property="FontFamily" Value="微软雅黑"/>
    </Style>



    <Style x:Key="FormLabelStyle"  TargetType="Label">
        <Setter Property="Foreground" Value="White"></Setter>
        <Setter Property="FontSize" Value="20"></Setter>
        <Setter Property="VerticalAlignment" Value="Center"></Setter>
        <Setter Property="FontFamily" Value="微软雅黑"/>
    </Style>
    <Style x:Key="FormLableHandStyle"  TargetType="Label">
        <Setter Property="Foreground" Value="#0c3d5d"></Setter>
        <Setter Property="FontSize" Value="20"></Setter>
        <Setter Property="VerticalAlignment" Value="Center"></Setter>
        <Setter Property="FontFamily" Value="微软雅黑"/>
    </Style>

    <!--<Style x:Key="FormCheckBoxHandStyle"  TargetType="CheckBox">
        <Setter Property="Foreground" Value="#0c3d5d"></Setter>
        <Setter Property="FontSize" Value="20"></Setter>
        <Setter Property="VerticalAlignment" Value="Center"></Setter>
    </Style>-->
    <Style x:Key="CheckBoxStyle" TargetType="{x:Type CheckBox}">
        <Setter Property="SnapsToDevicePixels" Value="true" />
        <Setter Property="OverridesDefaultStyle" Value="False" />
        <Setter Property="FocusVisualStyle" Value="{DynamicResource CheckBoxFocusVisual}" />
        <Setter Property="Height" Value="30"/>
        <Setter Property="FontSize" Value="20"/>
        <Setter Property="FontFamily" Value="微软雅黑"/>
        <Setter Property="IsChecked" Value="False"/>
        <Setter Property="Margin" Value="0,20"/>
        <Setter Property="Foreground" Value="#0c3d5d"></Setter>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="CheckBox">
                    <Grid>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="Auto"/>
                            <ColumnDefinition Width="*"/>
                        </Grid.ColumnDefinitions>
                        <Grid Height="{TemplateBinding Height}" Width="{TemplateBinding Height}">
                            <Rectangle x:Name="CheckBoxRectangle" Fill="Transparent" Opacity="0.3" RadiusY="5" RadiusX="5"/>
                            <Rectangle x:Name="CheckBoxRectangleOut" Stroke="#0c3d5d" StrokeThickness="1" RadiusY="5" RadiusX="5"/>
                            <Grid x:Name="CheckedMark" Width="20" Height="20" Visibility="Collapsed">
                                <Path SnapsToDevicePixels="False" StrokeThickness="3" Data="M1,9 L10,17" Stroke="White"/>
                                <Path SnapsToDevicePixels="False" StrokeThickness="3" Data="M8,17 L20,4" Stroke="White"/>
                            </Grid>
                        </Grid>
                        <TextBlock Grid.Column="1" Text="{TemplateBinding CheckBox.Content}" FontSize="{TemplateBinding CheckBox.FontSize}" Foreground="{TemplateBinding CheckBox.Foreground}" VerticalAlignment="Center" Margin="14,0,0,0"/>
                    </Grid>
                    <ControlTemplate.Triggers>
                        <Trigger Property="IsChecked" Value="True">
                            <Setter TargetName="CheckedMark" Property="Visibility" Value="Visible"></Setter>
                            <Setter TargetName="CheckBoxRectangle" Property="Fill" Value="#FF00A8E0"></Setter>
                            <Setter TargetName="CheckBoxRectangle" Property="Opacity" Value="1"></Setter>
                            <Setter TargetName="CheckBoxRectangleOut" Property="Stroke" Value="Transparent"></Setter>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="FormCarLabelstyle"  TargetType="Label" >
        <Setter Property="Foreground" Value="Black"></Setter>
        <Setter Property="FontSize" Value="10"></Setter>
        <Setter Property="MinWidth" Value="85"></Setter>
        <Setter Property="FontFamily" Value="微软雅黑"/>
        <Setter  Property="Template">
            <Setter.Value>
                <ControlTemplate>
                    <Border BorderBrush="#fcb03b" BorderThickness="1" CornerRadius="0">
                        <DockPanel    Name="btnSearchBg">
                            <DockPanel.Background >
                                <SolidColorBrush Color="#fcb03b" />
                            </DockPanel.Background>
                            <Border Margin="2" CornerRadius="5" Background="#fac083">
                                <TextBlock  HorizontalAlignment="Center" VerticalAlignment="Center" TextAlignment="Center"  TextWrapping="Wrap" Text="{TemplateBinding Label.Content}"></TextBlock>
                            </Border>
                        </DockPanel>
                    </Border>
                    <ControlTemplate.Triggers>
                        <!--<Trigger Property="ButtonBase.IsMouseOver" Value="True" >
                            <Setter Property="Background" TargetName="btnSearchBg">
                                <Setter.Value>
                                    <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
                                        <GradientStop Color="#304C8e" Offset="0.0"></GradientStop>
                                        <GradientStop  Color="#355699" Offset="0.0"></GradientStop>
                                    </LinearGradientBrush>
                                </Setter.Value>
                            </Setter>
                        </Trigger>-->

                        <Trigger Property="ButtonBase.IsEnabled" Value="False" >
                            <Setter Property="Background" TargetName="btnSearchBg">
                                <Setter.Value>
                                    <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
                                        <GradientStop Color="#304C8e" Offset="0.0"></GradientStop>
                                        <GradientStop  Color="#355699" Offset="0.0"></GradientStop>
                                    </LinearGradientBrush>
                                </Setter.Value>
                            </Setter>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="UCMixLabelstyle"  TargetType="Label" >
        <Setter Property="Foreground" Value="White"></Setter>
        <Setter Property="FontSize" Value="10"></Setter>
        <Setter Property="MinWidth" Value="85"></Setter>
        <Setter Property="FontFamily" Value="微软雅黑"/>
        <Setter  Property="Template">
            <Setter.Value>
                <ControlTemplate>

                    <Border CornerRadius="5" >
                        <Border.Background>
                            <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
                                <GradientStop Color="#31b797" Offset="0.0"></GradientStop>
                                <GradientStop  Color="#1e988a" Offset="1.0"></GradientStop>
                            </LinearGradientBrush>
                        </Border.Background>
                        <TextBlock  HorizontalAlignment="Center" VerticalAlignment="Center" TextAlignment="Center"  TextWrapping="Wrap" Text="{TemplateBinding Label.Content}"></TextBlock>
                    </Border>

                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
</ResourceDictionary>