| <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
| <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
| xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
| xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
| xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
| xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
| xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
| xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
| xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity" |
| xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity" |
| xmlns:sys="clr-namespace:System;assembly=mscorlib" |
| xmlns:sys="clr-namespace:System;assembly=mscorlib" |
| mc:Ignorable="d"> |
| mc:Ignorable="d"> |
| |
| |
| <Style TargetType="{x:Type Thumb}"> |
| <Style TargetType="{x:Type Thumb}"> |
. | |
| <Setter Property="Width" Value="Auto" /> |
| |
| <Setter Property="Height" Value="Auto" /> |
| <Setter Property="Background" Value="{DynamicResource NormalBrush}" /> |
| <Setter Property="Background" Value="{DynamicResource NormalBrush}" /> |
| <Setter Property="Template"> |
| <Setter Property="Template"> |
| <Setter.Value> |
| <Setter.Value> |
| <ControlTemplate TargetType="{x:Type Thumb}"> |
| <ControlTemplate TargetType="{x:Type Thumb}"> |
| <Grid> |
| <Grid> |
| <Rectangle x:Name="HoverRectangle" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" |
| <Rectangle x:Name="HoverRectangle" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" |
. | Width="Auto" Height="Auto" RadiusX="3" RadiusY="4" |
| Width="{TemplateBinding Width}" Height="{TemplateBinding Height}" RadiusX="3" RadiusY="4" |
| Stroke="{x:Null}" Margin="4.5,1,4.5,1" MinHeight="10" |
| Stroke="{x:Null}" Margin="0" MinHeight="10" |
| Fill="{TemplateBinding Background}" /> |
| Fill="{TemplateBinding Background}" /> |
| </Grid> |
| </Grid> |
| <ControlTemplate.Triggers> |
| <ControlTemplate.Triggers> |
| <Trigger Property="IsFocused" Value="True" /> |
| <Trigger Property="IsFocused" Value="True" /> |
| <Trigger Property="IsMouseOver" Value="True"> |
| <Trigger Property="IsMouseOver" Value="True"> |
| <Setter Property="Fill" Value="{DynamicResource GlyphBrush}" TargetName="HoverRectangle" /> |
| <Setter Property="Fill" Value="{DynamicResource GlyphBrush}" TargetName="HoverRectangle" /> |
| </Trigger> |
| </Trigger> |
| <DataTrigger Binding="{Binding IsFocused, RelativeSource={RelativeSource AncestorType=Track}}" Value="True"> |
| <DataTrigger Binding="{Binding IsFocused, RelativeSource={RelativeSource AncestorType=Track}}" Value="True"> |
| <Setter Property="Fill" Value="{DynamicResource GlyphBrush}" TargetName="HoverRectangle" /> |
| <Setter Property="Fill" Value="{DynamicResource GlyphBrush}" TargetName="HoverRectangle" /> |
| </DataTrigger> |
| </DataTrigger> |
| </ControlTemplate.Triggers> |
| </ControlTemplate.Triggers> |
| </ControlTemplate> |
| </ControlTemplate> |
| </Setter.Value> |
| </Setter.Value> |
| </Setter> |
| </Setter> |
| </Style> |
| </Style> |
| </ResourceDictionary> |
| </ResourceDictionary> |