|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599 |
- <ResourceDictionary
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:system="clr-namespace:System;assembly=System.Runtime">
-
-
- <!-- 使用该资源字典记得安装Util.Control Nutget包 -->
- <!--#region Window窗体-->
- <SolidColorBrush x:Key="WindowBackground" Color="#007ACB" />
- <SolidColorBrush x:Key="WindowInnerBackground" Color="Transparent" />
- <SolidColorBrush x:Key="WindowBorderBrush" Color="#920892" />
- <DropShadowEffect
- x:Key="WindowDropShadow"
- BlurRadius="8"
- Direction="0"
- Opacity="0.7"
- ShadowDepth="0"
- Color="Red" />
- <SolidColorBrush x:Key="CaptionForeground" Color="White" />
- <LinearGradientBrush x:Key="CaptionBackground" StartPoint="0.5,0" EndPoint="0.5,1">
- <GradientStop Offset="0" Color="#571457" />
- <GradientStop Offset="1" Color="#6A196A" />
- </LinearGradientBrush>
- <!--#endregion-->
-
- <!--#region MessageBoxX-->
- <SolidColorBrush x:Key="InfoForeground" Color="White" />
- <SolidColorBrush x:Key="QuestionForeground" Color="#74B80C" />
- <SolidColorBrush x:Key="WarningForeground" Color="DarkOrange" />
- <SolidColorBrush x:Key="ErrorForeground" Color="#E74E4E" />
- <!--#endregion-->
-
- <!--#region WaitingBox-->
- <SolidColorBrush x:Key="WaitingBoxBackground" Color="#921692" />
- <!--#endregion-->
-
- <!--#region 边框:Menu-->
- <DropShadowEffect
- x:Key="DefaultDropShadow"
- BlurRadius="5"
- Direction="315"
- Opacity="0.6"
- ShadowDepth="2"
- Color="Black" />
- <!--#endregion-->
-
- <!--#region 输入组件-->
- <SolidColorBrush x:Key="TextForeground" Color="Black" />
- <SolidColorBrush x:Key="TextBackground" Color="White" />
- <SolidColorBrush x:Key="TextSelectionBrush" Color="#8F8787" />
- <!--#endregion-->
-
- <!--#region TextBox默认Label颜色-->
- <SolidColorBrush x:Key="TextLabelBackground" Color="#508AB6" />
- <!--#endregion-->
-
- <!--#region 输入框-->
- <SolidColorBrush x:Key="ControlBorderBrush" Color="#999C9F" />
- <SolidColorBrush x:Key="MouseOverBorderBrush" Color="#F6D1D1" />
- <SolidColorBrush x:Key="FocusBackground" Color="#365080" />
- <SolidColorBrush x:Key="FocusBorderBrush" Color="#EBCECE" />
- <!--#endregion-->
-
- <!--#region ScrollBar-->
- <SolidColorBrush x:Key="ScrollBarForeround" Color="#877F7F" />
- <SolidColorBrush x:Key="ScrollBarBackground" Color="#3E3E42" />
- <!--#endregion-->
-
- <!--#region ItemsControl:DataGrid,Tree-->
- <system:Double x:Key="HeaderFontSize">14</system:Double>
- <SolidColorBrush x:Key="HeaderBorderBrush" Color="#A6FFA500" />
- <SolidColorBrush x:Key="HeaderBackground" Color="Purple" />
- <SolidColorBrush x:Key="ItemsContentBackground" Color="#1389D7" />
- <SolidColorBrush x:Key="ItemsAlternationContentBackground" Color="#128EE0" />
- <SolidColorBrush x:Key="GridLinesBrush" Color="#A6D0C2A7" />
- <SolidColorBrush x:Key="ItemSelectedForeground" Color="red" />
- <SolidColorBrush x:Key="ItemSelectedBackground" Color="#BC8BEA" />
- <SolidColorBrush x:Key="ItemMouseOverBackground" Color="#BC8BEA" />
- <SolidColorBrush x:Key="ItemMouseOverForeground" Color="White" />
- <!--#endregion-->
-
- <!--#region 高亮:日历Today-->
- <SolidColorBrush x:Key="ItemHighlighteBackground" Color="#BC8BEA" />
- <SolidColorBrush x:Key="ItemHighlighteForeground" Color="#BC8BEA" />
- <!--#endregion-->
-
- <!--#region 普通无背景按钮-->
- <SolidColorBrush x:Key="CheckedForeground" Color="#F7B63E" />
- <SolidColorBrush x:Key="MouseOverForeground" Color="Orange" />
- <SolidColorBrush x:Key="PressedForeground" Color="#F7B63E" />
- <SolidColorBrush x:Key="LinkForeground" Color="#0816BB" />
- <!--#endregion-->
-
- <!--#region Popup,ComboBox-->
- <SolidColorBrush x:Key="PopupBackground" Color="red" />
- <!--#endregion-->
-
- <!--#region Button-->
- <SolidColorBrush x:Key="ButtonBackground" Color="#1D4A9A" />
- <SolidColorBrush x:Key="ButtonForeground" Color="White" />
- <SolidColorBrush x:Key="ButtonMouseOverBackground" Color="Orange" />
- <SolidColorBrush x:Key="ButtonMouseOverForeground" Color="White" />
- <SolidColorBrush x:Key="ButtonPressedBackground" Color="DarkOrange" />
- <SolidColorBrush x:Key="ButtonPressedForeground" Color="White" />
- <!--#endregion-->
-
- <!--#region Menu-->
- <SolidColorBrush x:Key="MenuForeground" Color="#920892" />
- <SolidColorBrush x:Key="MenuBackground" Color="#DDD1D1" />
- <SolidColorBrush x:Key="MenuBorderBrush" Color="DarkBlue" />
- <SolidColorBrush x:Key="MenuMouseOverBackground" Color="#0D3CD2" />
- <SolidColorBrush x:Key="MenuMouseOverForeground" Color="White" />
- <SolidColorBrush x:Key="MenuPressedBackground" Color="#082CA0" />
- <SolidColorBrush x:Key="MenuPressedForeground" Color="White" />
- <!--#endregion-->
-
- <!--#region State brush-->
- <SolidColorBrush x:Key="SuccessfulfaiBrush" Color="#16B32A" />
- <SolidColorBrush x:Key="FailedBrush" Color="#B92222" />
- <!--#endregion-->
-
- <!--#region DatePickerCalendarStyle-->
- <Style x:Key="DatePickerCalendarStyle" TargetType="{x:Type Calendar}">
- <Setter Property="Background" Value="#103153" />
- <Setter Property="FontSize" Value="18" />
- <Setter Property="CalendarButtonStyle" Value="{DynamicResource ButtonStyle}" />
- <Setter Property="CalendarDayButtonStyle" Value="{DynamicResource DayButtonStyle}" />
- <Setter Property="BorderBrush" Value="Purple" />
- <Setter Property="CalendarItemStyle" Value="{DynamicResource CalendarItemsStyle}" />
- </Style>
- <!--#endregion-->
-
- <!--#region 年,月按钮样式-->
- <Style x:Key="ButtonStyle" TargetType="CalendarButton">
- <Setter Property="Background" Value="#103153" />
- <Setter Property="FontSize" Value="14" />
- <Setter Property="BorderBrush" Value="Transparent" />
- <Setter Property="Template">
- <Setter.Value>
- <ControlTemplate TargetType="{x:Type CalendarButton}">
- <Grid x:Name="Grid" Margin="0">
- <Border x:Name="Bg" Background="{TemplateBinding Background}" />
- <ContentPresenter
- x:Name="NormalText"
- Margin="5,2,5,2"
- HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
- VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
- TextElement.Foreground="{TemplateBinding Foreground}" />
- </Grid>
- <ControlTemplate.Triggers>
- <Trigger Property="IsMouseOver" Value="True">
- <Setter Property="Background" Value="Purple" />
- <Setter Property="Foreground" Value="White" />
- </Trigger>
- </ControlTemplate.Triggers>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- </Style>
- <!--#endregion-->
-
- <!--#region DayButtonStyle-->
- <Style x:Key="DayButtonStyle" TargetType="CalendarDayButton">
- <Setter Property="Background" Value="#103153" />
- <Setter Property="FontSize" Value="14" />
- <Setter Property="Template">
- <Setter.Value>
- <ControlTemplate TargetType="{x:Type CalendarDayButton}">
- <Grid x:Name="Grid" Margin="0">
- <Border
- x:Name="Bg"
- Background="#103153"
- BorderBrush="Purple"
- BorderThickness="0" />
- <ContentPresenter
- x:Name="NormalText"
- Margin="5,2,5,2"
- HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
- VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
- TextElement.Foreground="{TemplateBinding Foreground}" />
- </Grid>
- <ControlTemplate.Triggers>
- <!-- 不在当月的日期 -->
- <Trigger Property="IsInactive" Value="True">
- <Setter TargetName="Grid" Property="Opacity" Value="0.5" />
- </Trigger>
- <Trigger Property="IsSelected" Value="True">
- <Setter Property="Foreground" Value="red" />
- </Trigger>
- <Trigger Property="IsToday" Value="True">
- <Setter Property="Foreground" Value="yellow" />
- </Trigger>
- <Trigger Property="IsMouseOver" Value="True">
- <Setter Property="Foreground" Value="Aqua" />
- </Trigger>
- </ControlTemplate.Triggers>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- </Style>
- <!--#endregion-->
-
- <!--#region FButton_Transparency-->
- <Style x:Key="FButton_Transparency" TargetType="{x:Type Button}">
- <Setter Property="Background" Value="White" />
- <Setter Property="Foreground" Value="white" />
- <Setter Property="FontFamily" Value="../Fonts/#iconfont" />
- <Setter Property="HorizontalContentAlignment" Value="Center" />
- <Setter Property="Height" Value="Auto" />
- <Setter Property="Width" Value="Auto" />
- <Setter Property="FontSize" Value="13" />
- <Setter Property="Padding" Value="3,1,3,1" />
- <Setter Property="Cursor" Value="Hand" />
- <Setter Property="BorderBrush" Value="Transparent" />
- <Setter Property="Template">
- <Setter.Value>
- <ControlTemplate TargetType="{x:Type Button}">
- <Border
- Background="Transparent"
- BorderBrush="Transparent"
- BorderThickness="1">
- <ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center" />
- </Border>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- <Style.Triggers>
- <Trigger Property="IsMouseOver" Value="True">
- <Setter Property="Background" Value="Purple" />
- </Trigger>
- </Style.Triggers>
- </Style>
- <!--#endregion-->
-
- <!--#region CalendarItemsStyle-->
- <Style x:Key="CalendarItemsStyle" TargetType="{x:Type CalendarItem}">
- <Setter Property="Template">
- <Setter.Value>
- <ControlTemplate TargetType="{x:Type CalendarItem}">
- <ControlTemplate.Resources>
- <!-- 头部星期样式 -->
- <DataTemplate x:Key="{x:Static CalendarItem.DayTitleTemplateResourceKey}">
- <TextBlock
- Margin="0,6,0,6"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- FontSize="{StaticResource HeaderFontSize}"
- FontWeight="Bold"
- Foreground="{StaticResource PressedForeground}"
- Opacity="0.8"
- Text="{Binding}" />
- </DataTemplate>
- </ControlTemplate.Resources>
- <Grid x:Name="PART_Root">
- <Border
- Margin="{TemplateBinding Margin}"
- Background="{TemplateBinding Background}"
- BorderBrush="{TemplateBinding BorderBrush}"
- BorderThickness="1">
- <Grid Margin="2">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="Auto" />
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto" />
- <RowDefinition Height="*" />
- </Grid.RowDefinitions>
- <!-- Header -->
- <Grid
- Grid.Row="0"
- HorizontalAlignment="Stretch"
- Background="Transparent">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="*" />
- <ColumnDefinition Width="2*" />
- <ColumnDefinition Width="*" />
- </Grid.ColumnDefinitions>
- <Button
- x:Name="PART_PreviousButton"
- Grid.Column="0"
- Content=""
- Focusable="False"
- Style="{StaticResource FButton_Transparency}" />
- <Button
- x:Name="PART_HeaderButton"
- Grid.Column="1"
- Focusable="False"
- Style="{StaticResource FButton_Transparency}" />
-
- <Button
- x:Name="PART_NextButton"
- Grid.Column="2"
- Content=""
- Focusable="False"
- Style="{StaticResource FButton_Transparency}" />
- </Grid>
-
- <!-- PART_MonthView -->
- <Grid
- x:Name="PART_MonthView"
- Grid.Row="1"
- Margin="6,1,6,6"
- HorizontalAlignment="Stretch"
- VerticalAlignment="Stretch"
- Visibility="Visible">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="*" />
- <ColumnDefinition Width="*" />
- <ColumnDefinition Width="*" />
- <ColumnDefinition Width="*" />
- <ColumnDefinition Width="*" />
- <ColumnDefinition Width="*" />
- <ColumnDefinition Width="*" />
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="*" />
- <RowDefinition Height="*" />
- <RowDefinition Height="*" />
- <RowDefinition Height="*" />
- <RowDefinition Height="*" />
- <RowDefinition Height="*" />
- <RowDefinition Height="*" />
- </Grid.RowDefinitions>
- </Grid>
-
- <!-- PART_YearView -->
- <Grid
- x:Name="PART_YearView"
- Grid.Row="1"
- Margin="6,10,6,10"
- HorizontalAlignment="Stretch"
- VerticalAlignment="Stretch"
- Visibility="Hidden">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="*" />
- <ColumnDefinition Width="*" />
- <ColumnDefinition Width="*" />
- <ColumnDefinition Width="*" />
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="*" />
- <RowDefinition Height="*" />
- <RowDefinition Height="*" />
- </Grid.RowDefinitions>
- </Grid>
- </Grid>
- </Border>
- </Grid>
- <ControlTemplate.Triggers>
- <Trigger Property="IsEnabled" Value="False">
- <Setter TargetName="PART_Root" Property="Opacity" Value="{StaticResource DisableOpacity}" />
- </Trigger>
- <DataTrigger Binding="{Binding DisplayMode, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Calendar}}}" Value="Year">
- <Setter TargetName="PART_MonthView" Property="Visibility" Value="Hidden" />
- <Setter TargetName="PART_YearView" Property="Visibility" Value="Visible" />
- </DataTrigger>
-
- <DataTrigger Binding="{Binding DisplayMode, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Calendar}}}" Value="Decade">
- <Setter TargetName="PART_MonthView" Property="Visibility" Value="Hidden" />
- <Setter TargetName="PART_YearView" Property="Visibility" Value="Visible" />
- </DataTrigger>
- </ControlTemplate.Triggers>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- </Style>
- <!--#endregion-->
-
- <!--#region DropDownButtonStyle-->
- <!-- 显示日历的按钮的模板 -->
- <Style x:Key="DropDownButtonStyle" TargetType="Button">
- <Setter Property="Template">
- <Setter.Value>
- <ControlTemplate TargetType="{x:Type Button}">
- <Grid>
- <TextBlock
- x:Name="DropDownText"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- FontFamily="../Fonts/#iconfont"
- FontSize="16"
- Foreground="#3aa7f3"
- Text="" />
- </Grid>
- <ControlTemplate.Triggers>
- <Trigger Property="IsMouseOver" Value="True">
- <Setter TargetName="DropDownText" Property="FontSize" Value="18" />
- </Trigger>
- <Trigger Property="IsPressed" Value="True">
- <Setter TargetName="DropDownText" Property="Foreground" Value="#cd8624" />
- </Trigger>
- </ControlTemplate.Triggers>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- </Style>
- <!--#endregion-->
-
- <!--#region DatePickerTextBox样式-->
- <Style x:Key="DatePickerTextBoxStyle" TargetType="DatePickerTextBox">
- <Setter Property="Background" Value="Transparent" />
- <Setter Property="HorizontalContentAlignment" Value="Stretch" />
- <Setter Property="VerticalContentAlignment" Value="Stretch" />
- <Setter Property="Focusable" Value="False" />
- <Setter Property="Template">
- <Setter.Value>
- <ControlTemplate TargetType="{x:Type TextBox}">
- <TextBlock
- x:Name="tb"
- FontSize="{TemplateBinding FontSize}"
- Foreground="{TemplateBinding Foreground}"
- Text="{TemplateBinding Text}" />
- <ControlTemplate.Triggers>
- <DataTrigger Binding="{Binding Text, RelativeSource={RelativeSource Mode=Self}}" Value="">
- <Setter TargetName="tb" Property="Visibility" Value="Visible" />
- </DataTrigger>
- </ControlTemplate.Triggers>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- </Style>
- <!--#endregion-->
-
- <!--#region PickerStyle-->
- <Style x:Key="PickerStyle" TargetType="{x:Type DatePicker}">
- <Setter Property="Foreground" Value="#00c2f4" />
- <Setter Property="IsTodayHighlighted" Value="True" />
- <Setter Property="SelectedDateFormat" Value="Short" />
- <Setter Property="Padding" Value="2" />
- <Setter Property="BorderThickness" Value="2" />
- <Setter Property="VerticalContentAlignment" Value="Center" />
- <Setter Property="HorizontalContentAlignment" Value="Stretch" />
- <!-- Set CalendarStyle to DatePickerCalendarStyle. -->
- <Setter Property="CalendarStyle" Value="{DynamicResource DatePickerCalendarStyle}" />
- <Setter Property="Width" Value="130" />
- <Setter Property="FontSize" Value="12" />
- <!--<Setter Property="Height" Value="30" />-->
- <Setter Property="Template">
- <Setter.Value>
- <ControlTemplate TargetType="{x:Type DatePicker}">
- <Border
- x:Name="br"
- Padding="{TemplateBinding Padding}"
- Background="{TemplateBinding Background}"
- BorderBrush="{TemplateBinding BorderBrush}"
- BorderThickness="{TemplateBinding BorderThickness}">
- <Grid
- x:Name="PART_Root"
- HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
- VerticalAlignment="{TemplateBinding VerticalContentAlignment}">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="*" />
- <ColumnDefinition Width="Auto" />
- </Grid.ColumnDefinitions>
- <Button
- x:Name="PART_Button"
- Grid.Column="1"
- Height="20"
- Margin="3,0,3,0"
- HorizontalAlignment="Left"
- VerticalAlignment="Top"
- Background="Transparent"
- Focusable="False"
- Foreground="{TemplateBinding Foreground}"
- Style="{StaticResource DropDownButtonStyle}" />
- <DatePickerTextBox
- x:Name="PART_TextBox"
- Grid.Column="0"
- Margin="5,0,0,0"
- VerticalAlignment="Center"
- Foreground="{TemplateBinding Foreground}"
- Style="{StaticResource DatePickerTextBoxStyle}"
- Text="{TemplateBinding Text}" />
- <Grid
- x:Name="PART_DisabledVisual"
- Grid.Row="0"
- Grid.Column="0"
- Grid.ColumnSpan="2"
- IsHitTestVisible="False"
- Opacity="0">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="*" />
- <ColumnDefinition Width="Auto" />
- </Grid.ColumnDefinitions>
- <Rectangle
- Grid.Row="0"
- Grid.Column="0"
- Fill="#A5FFFFFF"
- RadiusX="1"
- RadiusY="1" />
- <Rectangle
- Grid.Row="0"
- Grid.Column="1"
- Width="19"
- Height="18"
- Margin="3,0,3,0"
- Fill="#A5FFFFFF"
- RadiusX="1"
- RadiusY="1" />
- <Popup
- x:Name="PART_Popup"
- AllowsTransparency="True"
- Placement="Bottom"
- PlacementTarget="{Binding ElementName=br}"
- PopupAnimation="Slide"
- StaysOpen="False" />
- </Grid>
- </Grid>
- <VisualStateManager.VisualStateGroups>
- <VisualStateGroup x:Name="CommonStates">
- <VisualState x:Name="Normal" />
- <VisualState x:Name="Disabled">
- <Storyboard>
- <DoubleAnimation
- Storyboard.TargetName="PART_DisabledVisual"
- Storyboard.TargetProperty="Opacity"
- To="1"
- Duration="0" />
- </Storyboard>
- </VisualState>
- </VisualStateGroup>
- </VisualStateManager.VisualStateGroups>
- </Border>
- <ControlTemplate.Triggers>
- <Trigger Property="IsMouseOver" Value="True">
- <Setter TargetName="br" Property="BorderBrush" Value="#3aa7f3" />
- </Trigger>
- </ControlTemplate.Triggers>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- </Style>
- <!--#endregion-->
-
- <!--#region Control colors.-->
- <Color x:Key="WindowColor">#FFE8EDF9</Color>
- <Color x:Key="ContentAreaColorLight">#FFC5CBF9</Color>
- <Color x:Key="ContentAreaColorDark">#FF7381F9</Color>
-
- <Color x:Key="DisabledControlLightColor">#FFE8EDF9</Color>
- <Color x:Key="DisabledControlDarkColor">#FFC5CBF9</Color>
- <Color x:Key="DisabledForegroundColor">#FF888888</Color>
-
- <Color x:Key="SelectedBackgroundColor">#FFC5CBF9</Color>
- <Color x:Key="SelectedUnfocusedColor">#FFDDDDDD</Color>
-
- <Color x:Key="ControlLightColor">White</Color>
- <Color x:Key="ControlMediumColor">#FF7381F9</Color>
- <Color x:Key="ControlDarkColor">#FF211AA9</Color>
-
- <Color x:Key="ControlMouseOverColor">#FF3843C4</Color>
- <Color x:Key="ControlPressedColor">#FF211AA9</Color>
-
-
- <Color x:Key="GlyphColor">#FF444444</Color>
- <Color x:Key="GlyphMouseOver">sc#1, 0.004391443, 0.002428215, 0.242281124</Color>
- <!--#endregion-->
-
- <!--#region Border colors-->
- <Color x:Key="BorderLightColor">#FFCCCCCC</Color>
- <Color x:Key="BorderMediumColor">#FF888888</Color>
- <Color x:Key="BorderDarkColor">#FF444444</Color>
-
- <Color x:Key="PressedBorderLightColor">#FF888888</Color>
- <Color x:Key="PressedBorderDarkColor">#FF444444</Color>
-
- <Color x:Key="DisabledBorderLightColor">#FFAAAAAA</Color>
- <Color x:Key="DisabledBorderDarkColor">#FF888888</Color>
-
- <Color x:Key="DefaultBorderBrushDarkColor">Black</Color>
- <!--#endregion-->
-
- <!--#region 特定于控制的资源-->
- <Color x:Key="HeaderTopColor">#FFC5CBF9</Color>
- <Color x:Key="DatagridCurrentCellBorderColor">Black</Color>
- <Color x:Key="SliderTrackDarkColor">#FFC5CBF9</Color>
-
- <Color x:Key="NavButtonFrameColor">#FF3843C4</Color>
-
- <LinearGradientBrush x:Key="MenuPopupBrush" StartPoint="0.5,0" EndPoint="0.5,1">
- <GradientStop Offset="0" Color="{DynamicResource ControlLightColor}" />
- <GradientStop Offset="0.5" Color="{DynamicResource ControlMediumColor}" />
- <GradientStop Offset="1" Color="{DynamicResource ControlLightColor}" />
- </LinearGradientBrush>
-
- <LinearGradientBrush x:Key="ProgressBarIndicatorAnimatedFill" StartPoint="0,0" EndPoint="1,0">
- <LinearGradientBrush.GradientStops>
- <GradientStopCollection>
- <GradientStop Offset="0" Color="#000000FF" />
- <GradientStop Offset="0.4" Color="#600000FF" />
- <GradientStop Offset="0.6" Color="#600000FF" />
- <GradientStop Offset="1" Color="#000000FF" />
- </GradientStopCollection>
- </LinearGradientBrush.GradientStops>
- </LinearGradientBrush>
-
- <!--#endregion-->
-
- </ResourceDictionary>
|