<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=mscorlib"
        xmlns:shapes="clr-namespace:Telerik.Windows.Shapes;assembly=Telerik.Windows.Controls"
        xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
        xmlns:telerikData="clr-namespace:Telerik.Windows.Data;assembly=Telerik.Windows.Data"
        xmlns:animation="clr-namespace:Telerik.Windows.Controls.Animation;assembly=Telerik.Windows.Controls"
        xmlns:telerikPrimitives="clr-namespace:Telerik.Windows.Controls.Primitives;assembly=Telerik.Windows.Controls"
        xmlns:telerikControls="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls"
        xmlns:datavizControls="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.DataVisualization"
        xmlns:barcodes="clr-namespace:Telerik.Windows.Controls.Barcode;assembly=Telerik.Windows.Controls.DataVisualization"
        xmlns:dataBars="clr-namespace:Telerik.Windows.Controls.DataBars;assembly=Telerik.Windows.Controls.DataVisualization"
        xmlns:heatMaps="clr-namespace:Telerik.Windows.Controls.HeatMap;assembly=Telerik.Windows.Controls.DataVisualization"
        xmlns:treemaps="clr-namespace:Telerik.Windows.Controls.TreeMap;assembly=Telerik.Windows.Controls.DataVisualization"
        xmlns:sparklines="clr-namespace:Telerik.Windows.Controls.Sparklines;assembly=Telerik.Windows.Controls.DataVisualization"
        xmlns:gauges="clr-namespace:Telerik.Windows.Controls.Gauge;assembly=Telerik.Windows.Controls.DataVisualization"
        xmlns:maps="clr-namespace:Telerik.Windows.Controls.Map;assembly=Telerik.Windows.Controls.DataVisualization"
        xmlns:bulletGraphs="clr-namespace:Telerik.Windows.Controls.BulletGraph;assembly=Telerik.Windows.Controls.DataVisualization"
        xmlns:timeBars="clr-namespace:Telerik.Windows.Controls.TimeBar;assembly=Telerik.Windows.Controls.DataVisualization"
        xmlns:timelines="clr-namespace:Telerik.Windows.Controls.Timeline;assembly=Telerik.Windows.Controls.DataVisualization"
        xmlns:c="http://schemas.telerik.com/2008/xaml/compile"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        mc:Ignorable="c"
        xmlns:PresentationOptions="http://schemas.microsoft.com/winfx/2006/xaml/presentation/options">
    <SolidColorBrush x:Key="ControlBackground_Disabled" Color="#FFF8F8F8"/>
    <SolidColorBrush x:Key="SliderThumb_OuterBorder_Normal" Color="#FF869EBB"/>
    <CornerRadius x:Key="SliderHandOuterBorder_CornerRadius">9</CornerRadius>
    <CornerRadius x:Key="SliderHandInnerBorder_CornerRadius">8</CornerRadius>
    <SolidColorBrush x:Key="SliderHandOuterBorder_Normal" Color="#FF869EBB"/>
    <LinearGradientBrush x:Key="SliderHandInnerBorder_Normal" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFFAFCFD" Offset="0"/>
        <GradientStop Color="#FFE4EFFB" Offset="1"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="SliderHandBackground_Normal" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFFDFEFF" Offset="0"/>
        <GradientStop Color="#FFDDE9F7" Offset="1"/>
        <GradientStop Color="#FFE6F0FA" Offset="0.5"/>
        <GradientStop Color="#FFDCE6F4" Offset="0.5"/>
    </LinearGradientBrush>
    <SolidColorBrush x:Key="SliderOuterBorder_Focused" Color="#FF869EBB"/>
    <SolidColorBrush x:Key="SliderBackground_Tick" Color="#FF000000"/>
    <SolidColorBrush x:Key="SliderBackgroundTrack" Color="#FFCFDEF4"/>
    <SolidColorBrush x:Key="SliderOuterBorderTrack" Color="#FFB0B5CB"/>
    <SolidColorBrush x:Key="SliderInnerBorderTrack" Color="#00FFFFFF"/>
    <CornerRadius x:Key="SliderOuterBorderTrack_CornerRadius">1</CornerRadius>
    <CornerRadius x:Key="SliderInnerBorderTrack_CornerRadius">1</CornerRadius>
    <Thickness x:Key="SliderOuterBorderTrack_BorderThickness">1</Thickness>
    <Thickness x:Key="SliderInnerBorderTrack_BorderThickness">0</Thickness>
    <Thickness x:Key="SliderRangeMiddleThumb_Margin">0</Thickness>
    <LinearGradientBrush x:Key="SliderRangeMiddleThumb_Background" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FF3DA3FF" Offset="0"/>
        <GradientStop Color="#FF0E6FD0" Offset="1"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="SliderRangeMiddleThumb_Background_MouseOver" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FF3DA3FF"/>
        <GradientStop Color="#FFC9E4FF" Offset="1"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="SliderRangeMiddleThumb_Background_Disabled" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFEFEFEF" Offset="0"/>
        <GradientStop Color="#FFBBBBBB" Offset="1"/>
    </LinearGradientBrush>
    <SolidColorBrush x:Key="SliderRangeMiddleThumb_Focused" Color="#FF869EBB"/>
    <SolidColorBrush x:Key="Expander_Background" Color="#00FFFFFF"/>
    <SolidColorBrush x:Key="Expander_BorderBrush" Color="#00FFFFFF"/>
    <Thickness x:Key="Expander_BorderThickness">0</Thickness>
    <CornerRadius x:Key="ControlOuterBorder_CornerRadius">2</CornerRadius>
    <CornerRadius x:Key="ControlInnerBorder_CornerRadius">1</CornerRadius>
    <SolidColorBrush x:Key="ControlOuterBorder" Color="#FFA0AFC3"/>
    <SolidColorBrush x:Key="ControlElement_Disabled" Color="#FFA7A7A7"/>
    <SolidColorBrush x:Key="ControlOuterBorder_Disabled" Color="#FFD9D9D9"/>
    <LinearGradientBrush x:Key="ControlInnerBorder_Disabled" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFFAFAFB" Offset="0"/>
        <GradientStop Color="#FFF0F0F0" Offset="1"/>
    </LinearGradientBrush>
    <SolidColorBrush x:Key="ControlElement_Normal" Color="#FF1E395B"/>
    <LinearGradientBrush x:Key="ControlInnerBorder_Normal" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFFAFCFD" Offset="0"/>
        <GradientStop Color="#FFE4EFFB" Offset="1"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="ControlBackground_Normal" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFFDFEFF" Offset="0"/>
        <GradientStop Color="#FFE6F0FA" Offset="0.5"/>
        <GradientStop Color="#FFDCE6F4" Offset="0.5"/>
        <GradientStop Color="#FFDDE9F7" Offset="1"/>
    </LinearGradientBrush>
    <SolidColorBrush x:Key="ControlElement_MouseOver" Color="#FF1E395B"/>
    <SolidColorBrush x:Key="ControlOuterBorder_MouseOver" Color="#FFB8D6FB"/>
    <LinearGradientBrush x:Key="ControlInnerBorder_MouseOver" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="White" Offset="0"/>
        <GradientStop Color="#FFFAFCFD" Offset="1"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="ControlBackground_MouseOver" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFFBFCFD" Offset="0"/>
        <GradientStop Color="#FFF6F8FB" Offset="0.5"/>
        <GradientStop Color="#FFEDF2F9" Offset="0.5"/>
        <GradientStop Color="#FFE5EBF4" Offset="1"/>
    </LinearGradientBrush>
    <SolidColorBrush x:Key="ControlElement_Pressed" Color="#FF1E395B"/>
    <SolidColorBrush x:Key="ControlOuterBorder_Pressed" Color="#FFC0CBD9"/>
    <LinearGradientBrush x:Key="ControlInnerBorder_Pressed" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFC0CBD9" Offset="0"/>
        <GradientStop Color="#FFE6EAEE" Offset="0.5"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="ControlBackground_Pressed" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFC0CBD9" Offset="0"/>
        <GradientStop Color="#FFE6EAEE" Offset="0.5"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="ControlOuterBorderVertical_Normal" EndPoint="1,0.5" StartPoint="0,0.5">
        <GradientStop Color="#FFA9BFD6"/>
        <GradientStop Color="#FFCDDAEA" Offset="1"/>
    </LinearGradientBrush>
    <SolidColorBrush x:Key="ControlOuterBorderVertical_MouseOver" Color="#FFB8D6FB"/>
    <LinearGradientBrush x:Key="ControlInnerBorderVertical_MouseOver" EndPoint="1,0.5" StartPoint="0,0.5">
        <GradientStop Color="White" Offset="0"/>
        <GradientStop Color="#FFFAFCFD" Offset="1"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="ControlBackgroundVertical_MouseOver" EndPoint="1,0.5" StartPoint="0,0.5">
        <GradientStop Color="#FFFBFCFD" Offset="0"/>
        <GradientStop Color="#FFE5EBF4" Offset="1"/>
        <GradientStop Color="#FFF6F8FB" Offset="0.5"/>
        <GradientStop Color="#FFEDF2F9" Offset="0.5"/>
    </LinearGradientBrush>
    <SolidColorBrush x:Key="ControlOuterBorderVertical_Pressed" Color="#FFC0CBD9"/>
    <SolidColorBrush x:Key="ControlInnerBorderVertical_Pressed" Color="Transparent"/>
    <LinearGradientBrush x:Key="ControlBackgroundVertical_Pressed" EndPoint="1,0.5" StartPoint="0,0.5">
        <GradientStop Color="#FFC0CBD9" Offset="0"/>
        <GradientStop Color="#4CC0CBD9" Offset="0.5"/>
    </LinearGradientBrush>
    <ControlTemplate TargetType="RepeatButton" x:Key="HandleRepeatButton">
        <Grid x:Name="Root" Background="Transparent">
            <VisualStateManager.VisualStateGroups>
                <VisualStateGroup x:Name="CommonStates">
                    <VisualState x:Name="Normal"/>
                    <VisualState x:Name="MouseOver">
                        <Storyboard>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Path" Storyboard.TargetProperty="Fill">
                                <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource ControlElement_MouseOver}"/>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" Storyboard.TargetProperty="BorderBrush" Duration="0">
                                <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource ControlOuterBorder_MouseOver}"/>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" Storyboard.TargetProperty="Background" Duration="0">
                                <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource ControlBackground_MouseOver}"/>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="InnerBorder" Storyboard.TargetProperty="BorderBrush" Duration="0">
                                <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource ControlInnerBorder_MouseOver}"/>
                            </ObjectAnimationUsingKeyFrames>
                        </Storyboard>
                    </VisualState>
                    <VisualState x:Name="Pressed">
                        <Storyboard>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Path" Storyboard.TargetProperty="Fill">
                                <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource ControlElement_Pressed}"/>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" Storyboard.TargetProperty="BorderBrush" Duration="0">
                                <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource ControlOuterBorder_Pressed}"/>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" Storyboard.TargetProperty="Background" Duration="0">
                                <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource ControlBackground_Pressed}"/>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="InnerBorder" Storyboard.TargetProperty="BorderBrush" Duration="0">
                                <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource ControlInnerBorder_Pressed}"/>
                            </ObjectAnimationUsingKeyFrames>
                        </Storyboard>
                    </VisualState>
                    <VisualState x:Name="Disabled">
                        <Storyboard>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Path" Storyboard.TargetProperty="Fill">
                                <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource ControlElement_Disabled}"/>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" Storyboard.TargetProperty="Background">
                                <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource ControlBackground_Disabled}"/>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" Storyboard.TargetProperty="BorderBrush">
                                <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource ControlOuterBorder_Disabled}"/>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="InnerBorder" Storyboard.TargetProperty="BorderBrush">
                                <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource ControlInnerBorder_Disabled}"/>
                            </ObjectAnimationUsingKeyFrames>
                        </Storyboard>
                    </VisualState>
                </VisualStateGroup>
                <VisualStateGroup x:Name="FocusStates">
                    <VisualState x:Name="Focused">
                        <Storyboard>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="FocusVisual" Storyboard.TargetProperty="Visibility">
                                <DiscreteObjectKeyFrame KeyTime="0">
                                    <DiscreteObjectKeyFrame.Value>
                                        <Visibility>Visible</Visibility>
                                    </DiscreteObjectKeyFrame.Value>
                                </DiscreteObjectKeyFrame>
                            </ObjectAnimationUsingKeyFrames>
                        </Storyboard>
                    </VisualState>
                    <VisualState x:Name="Unfocused"/>
                </VisualStateGroup>
            </VisualStateManager.VisualStateGroups>
            <Border x:Name="NormalBorder"
                    BorderThickness="{TemplateBinding BorderThickness}"
                    BorderBrush="{TemplateBinding BorderBrush}"
                    Background="{TemplateBinding Background}"
                    CornerRadius="{StaticResource SliderHandOuterBorder_CornerRadius}">
                <Border BorderThickness="1" BorderBrush="{StaticResource SliderHandInnerBorder_Normal}" CornerRadius="{StaticResource SliderHandInnerBorder_CornerRadius}"/>
            </Border>
            <Border x:Name="Border"
                    BorderThickness="{TemplateBinding BorderThickness}"
                    BorderBrush="{x:Null}"
                    Background="{x:Null}"
                    CornerRadius="{StaticResource SliderHandOuterBorder_CornerRadius}">
                <Border x:Name="InnerBorder" BorderThickness="1" BorderBrush="{x:Null}" CornerRadius="{StaticResource SliderHandInnerBorder_CornerRadius}"/>
            </Border>
            <Path
                    Fill="{StaticResource ControlElement_Normal}"
                    x:Name="Path"
                    Stretch="Fill"
                    HorizontalAlignment="Center"
                    VerticalAlignment="Center"
                    RenderTransformOrigin="0.5,0.5"
                    Data="M4,0 L4,6 0,3 z"
                    Width="4"
                    Height="7"/>
            <Border x:Name="FocusVisual"
                    Visibility="Collapsed"
                    BorderThickness="1"
                    BorderBrush="{StaticResource SliderOuterBorder_Focused}"
                    CornerRadius="{StaticResource SliderHandOuterBorder_CornerRadius}"/>
        </Grid>
    </ControlTemplate>
    <Style x:Key="IncreaseHandleStyle" TargetType="RepeatButton">
        <Setter Property="Cursor" Value="Hand"/>
        <Setter Property="IsTabStop" Value="True"/>
        <Setter Property="Template" Value="{StaticResource HandleRepeatButton}"/>
        <Setter Property="FocusVisualStyle" Value="{x:Null}"/>
        <Setter Property="Background" Value="{StaticResource SliderHandBackground_Normal}"/>
        <Setter Property="BorderBrush" Value="{StaticResource SliderHandOuterBorder_Normal}"/>
        <Setter Property="BorderThickness" Value="1"/>
        <Setter Property="Width" Value="18"/>
        <Setter Property="Height" Value="18"/>
        <Setter Property="Margin" Value="2 0 0 0"/>
        <Setter Property="RenderTransform">
            <Setter.Value>
                <ScaleTransform ScaleX="-1" ScaleY="1"/>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="DecreaseHandleStyle" TargetType="RepeatButton">
        <Setter Property="Cursor" Value="Hand"/>
        <Setter Property="IsTabStop" Value="True"/>
        <Setter Property="Template" Value="{StaticResource HandleRepeatButton}"/>
        <Setter Property="FocusVisualStyle" Value="{x:Null}"/>
        <Setter Property="Background" Value="{StaticResource SliderHandBackground_Normal}"/>
        <Setter Property="BorderBrush" Value="{StaticResource SliderHandOuterBorder_Normal}"/>
        <Setter Property="BorderThickness" Value="1"/>
        <Setter Property="Width" Value="18"/>
        <Setter Property="Height" Value="18"/>
        <Setter Property="Margin" Value="0 0 2 0"/>
    </Style>
    <Style TargetType="Thumb" x:Key="ThumbStyle">
        <Setter Property="IsTabStop" Value="True"/>
        <Setter Property="BorderThickness" Value="1"/>
        <Setter Property="Width" Value="10"/>
        <Setter Property="Height" Value="18"/>
        <Setter Property="Background" Value="{StaticResource ControlBackground_Normal}"/>
        <Setter Property="BorderBrush" Value="{StaticResource SliderThumb_OuterBorder_Normal}"/>
        <Setter Property="Focusable" Value="True"/>
        <Setter Property="FocusVisualStyle" Value="{x:Null}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="Thumb">
                    <Grid x:Name="Root">
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="CommonStates">
                                <VisualState x:Name="Normal"/>
                                <VisualState x:Name="MouseOver">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" Storyboard.TargetProperty="Background" Duration="0">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource ControlBackground_MouseOver}"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" Storyboard.TargetProperty="BorderBrush" Duration="0">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource ControlOuterBorder_MouseOver}"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="InnerBorder" Storyboard.TargetProperty="BorderBrush" Duration="0">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource ControlInnerBorder_MouseOver}"/>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Pressed">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" Storyboard.TargetProperty="Background" Duration="0">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource ControlBackground_Pressed}"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" Storyboard.TargetProperty="BorderBrush" Duration="0">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource ControlOuterBorder_Pressed}"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="InnerBorder" Storyboard.TargetProperty="BorderBrush" Duration="0">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource ControlInnerBorder_Pressed}"/>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Disabled">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" Storyboard.TargetProperty="BorderBrush" Duration="0">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource ControlOuterBorder_Disabled}"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" Storyboard.TargetProperty="Background" Duration="0">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource ControlBackground_Disabled}"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="InnerBorder" Storyboard.TargetProperty="BorderBrush" Duration="0:0:0">
                                            <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{StaticResource ControlInnerBorder_Disabled}"/>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                            <VisualStateGroup x:Name="FocusStates">
                                <VisualState x:Name="Focused">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="FocusVisual" Storyboard.TargetProperty="Visibility">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Visible</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Unfocused"/>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                        <Border
                                BorderThickness="{TemplateBinding BorderThickness}"
                                BorderBrush="{TemplateBinding BorderBrush}"
                                Background="{TemplateBinding Background}"
                                CornerRadius="{StaticResource ControlOuterBorder_CornerRadius}">
                            <Border BorderThickness="1" BorderBrush="{x:Null}" CornerRadius="{StaticResource ControlInnerBorder_CornerRadius}"/>
                        </Border>
                        <Border x:Name="Border"
                                BorderThickness="{TemplateBinding BorderThickness}"
                                BorderBrush="{x:Null}"
                                Background="{x:Null}"
                                CornerRadius="{StaticResource ControlOuterBorder_CornerRadius}">
                            <Border x:Name="InnerBorder" BorderThickness="1" BorderBrush="{x:Null}" CornerRadius="{StaticResource ControlInnerBorder_CornerRadius}"/>
                        </Border>
                        <Border x:Name="FocusVisual"
                                BorderThickness="1"
                                Visibility="Collapsed"
                                BorderBrush="{StaticResource SliderOuterBorder_Focused}"
                                CornerRadius="{StaticResource ControlOuterBorder_CornerRadius}"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="Thumb" x:Key="SelectionMiddleThumbStyle">
        <Setter Property="Height" Value="4"/>
        <Setter Property="Background" Value="{StaticResource SliderRangeMiddleThumb_Background}"/>
        <Setter Property="BorderThickness" Value="{StaticResource SliderRangeMiddleThumb_Margin}"/>
        <Setter Property="BorderBrush" Value="Transparent"/>
        <Setter Property="IsTabStop" Value="True"/>
        <Setter Property="Focusable" Value="True"/>
        <Setter Property="FocusVisualStyle" Value="{x:Null}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="Thumb">
                    <Grid Background="Transparent" x:Name="Root">
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="CommonStates">
                                <VisualState x:Name="Normal"/>
                                <VisualState x:Name="MouseOver">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="border" Storyboard.TargetProperty="Background" Duration="0">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource SliderRangeMiddleThumb_Background_MouseOver}"/>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Pressed">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="border" Storyboard.TargetProperty="Background" Duration="0">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource SliderRangeMiddleThumb_Background_MouseOver}"/>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Disabled">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="border" Storyboard.TargetProperty="Background" Duration="0">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource SliderRangeMiddleThumb_Background_Disabled}"/>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                            <VisualStateGroup x:Name="FocusStates">
                                <VisualState x:Name="Focused">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="FocusVisual" Storyboard.TargetProperty="Visibility">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Visible</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Unfocused"/>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                        <Border x:Name="border" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}"/>
                        <Border x:Name="FocusVisual"
                                BorderThickness="0 1"
                                Visibility="Collapsed"
                                BorderBrush="{StaticResource SliderRangeMiddleThumb_Focused}"
                                CornerRadius="{StaticResource ControlOuterBorder_CornerRadius}"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <DataTemplate x:Key="DefaultTicksTemplate">
        <Rectangle Width="1" ToolTipService.ToolTip="{Binding}" Height="5" Fill="{StaticResource SliderBackground_Tick}"/>
    </DataTemplate>
    <Style TargetType="telerikControls:RadTickBar" x:Key="RadTickBarStyle">
        <Setter Property="IsTabStop" Value="False"/>
        <Setter Property="ItemsPanel">
            <Setter.Value>
                <ItemsPanelTemplate>
                    <telerikControls:TickBarPanel Background="Transparent"/>
                </ItemsPanelTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="ContentControl" x:Key="TrackStyle">
        <Setter Property="BorderThickness" Value="{StaticResource SliderOuterBorderTrack_BorderThickness}"/>
        <Setter Property="BorderBrush" Value="{StaticResource ControlOuterBorder}"/>
        <Setter Property="Height" Value="6"/>
        <Setter Property="IsTabStop" Value="True"/>
        <Setter Property="FocusVisualStyle" Value="{x:Null}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="ContentControl">
                    <Border
                            BorderThickness="{TemplateBinding BorderThickness}"
                            BorderBrush="{TemplateBinding BorderBrush}"
                            Background="{TemplateBinding Background}"
                            CornerRadius="{StaticResource SliderOuterBorderTrack_CornerRadius}">
                        <Border CornerRadius="{StaticResource SliderInnerBorderTrack_CornerRadius}" BorderThickness="{StaticResource SliderInnerBorderTrack_BorderThickness}" BorderBrush="{StaticResource SliderInnerBorderTrack}"/>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="RepeatButton" x:Key="LargeHandleStyle">
        <Setter Property="IsTabStop" Value="False"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="RepeatButton">
                    <Grid Background="Transparent"/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="telerikControls:RadSlider" x:Key="RadSliderStyle">
        <Setter Property="BorderBrush" Value="{StaticResource SliderOuterBorderTrack}"/>
        <Setter Property="Background" Value="{StaticResource SliderBackgroundTrack}"/>
        <Setter Property="TickTemplate" Value="{StaticResource DefaultTicksTemplate}"/>
        <Setter Property="ThumbStyle" Value="{StaticResource ThumbStyle}"/>
        <Setter Property="AlternateThumbStyle" Value="{StaticResource ThumbStyle}"/>
        <Setter Property="SelectionMiddleThumbStyle" Value="{StaticResource SelectionMiddleThumbStyle}"/>
        <Setter Property="TickBarStyle" Value="{StaticResource RadTickBarStyle}"/>
        <Setter Property="TrackStyle" Value="{StaticResource TrackStyle}"/>
        <Setter Property="IncreaseHandleStyle" Value="{StaticResource IncreaseHandleStyle}"/>
        <Setter Property="DecreaseHandleStyle" Value="{StaticResource DecreaseHandleStyle}"/>
        <Setter Property="IsTabStop" Value="False"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="telerikControls:RadSlider">
                    <telerikPrimitives:LayoutTransformControl x:Name="layoutControl" RenderTransformOrigin=".5 0">
                        <telerikPrimitives:LayoutTransformControl.LayoutTransform>
                            <TransformGroup>
                                <ScaleTransform/>
                                <SkewTransform/>
                                <RotateTransform/>
                                <TranslateTransform/>
                            </TransformGroup>
                        </telerikPrimitives:LayoutTransformControl.LayoutTransform>
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="CommonStates">
                                <VisualState x:Name="Normal"/>
                                <VisualState x:Name="Disabled">
                                    <Storyboard/>
                                </VisualState>
                            </VisualStateGroup>
                            <VisualStateGroup x:Name="OrientationStates">
                                <VisualState x:Name="Horizontal">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="layoutControl" Storyboard.TargetProperty="LayoutTransform">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <RotateTransform Angle="0"/>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Vertical">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="layoutControl" Storyboard.TargetProperty="LayoutTransform">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <RotateTransform Angle="-90"/>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="ReversedHorizontal">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="layoutControl" Storyboard.TargetProperty="LayoutTransform">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <ScaleTransform ScaleX="-1"/>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="BottomTickBar" Storyboard.TargetProperty="RenderTransform">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <ScaleTransform ScaleX="-1"/>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="TopTickBar" Storyboard.TargetProperty="RenderTransform">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <ScaleTransform ScaleX="-1"/>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="ReversedVertical">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="layoutControl" Storyboard.TargetProperty="LayoutTransform">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <TransformGroup>
                                                        <ScaleTransform ScaleY="-1"/>
                                                        <RotateTransform Angle="90"/>
                                                    </TransformGroup>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="BottomTickBar" Storyboard.TargetProperty="RenderTransform">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <TransformGroup>
                                                        <ScaleTransform ScaleY="-1"/>
                                                        <RotateTransform Angle="-180"/>
                                                    </TransformGroup>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="TopTickBar" Storyboard.TargetProperty="RenderTransform">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <TransformGroup>
                                                        <ScaleTransform ScaleY="-1"/>
                                                        <RotateTransform Angle="-180"/>
                                                    </TransformGroup>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                            <VisualStateGroup x:Name="TickPlacementStates">
                                <VisualState x:Name="NoneTicks">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="TopTickBar" Storyboard.TargetProperty="Visibility">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Collapsed</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="BottomTickBar" Storyboard.TargetProperty="Visibility">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Collapsed</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="TopTicks">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="TopTickBar" Storyboard.TargetProperty="Visibility">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Visible</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="BottomTickBar" Storyboard.TargetProperty="Visibility">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Collapsed</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="BottomTicks">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="TopTickBar" Storyboard.TargetProperty="Visibility">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Collapsed</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="BottomTickBar" Storyboard.TargetProperty="Visibility">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Visible</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="BothTicks">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="TopTickBar" Storyboard.TargetProperty="Visibility">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Visible</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="BottomTickBar" Storyboard.TargetProperty="Visibility">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Visible</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                            <VisualStateGroup x:Name="RangeStates">
                                <VisualState x:Name="SingleThumb"/>
                                <VisualState x:Name="RangeThumbs">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="RangeThumbsPanel" Storyboard.TargetProperty="Visibility">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Visible</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="SingleThumbHost" Storyboard.TargetProperty="Visibility">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Collapsed</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                        <Grid UseLayoutRounding="True">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto"/>
                                <ColumnDefinition Width="Auto"/>
                                <ColumnDefinition Width="Auto"/>
                                <ColumnDefinition Width="*"/>
                                <ColumnDefinition Width="Auto"/>
                            </Grid.ColumnDefinitions>
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto"/>
                                <RowDefinition Height="Auto"/>
                                <RowDefinition Height="Auto"/>
                            </Grid.RowDefinitions>
                            <telerikControls:RadTickBar x:Name="TopTickBar"
                                    Grid.Column="1"
                                    Grid.ColumnSpan="3"
                                    ItemTemplate="{TemplateBinding TickTemplate}"
                                    ItemsSource="{TemplateBinding ResultTicks}"
                                    ItemTemplateSelector="{TemplateBinding TickTemplateSelector}"
                                    Maximum="{TemplateBinding Maximum}"
                                    Minimum="{TemplateBinding Minimum}"
                                    IsDirectionReversed="{TemplateBinding IsDirectionReversed}"
                                    Style="{TemplateBinding TickBarStyle}"
                                    RenderTransformOrigin="0.5,0.5">
                                <telerikControls:RadTickBar.RenderTransform>
                                    <TransformGroup>
                                        <ScaleTransform/>
                                        <SkewTransform/>
                                        <RotateTransform/>
                                        <TranslateTransform/>
                                    </TransformGroup>
                                </telerikControls:RadTickBar.RenderTransform>
                            </telerikControls:RadTickBar>
                            <ContentControl
                                    Style="{TemplateBinding TrackStyle}"
                                    x:Name="Track"
                                    Grid.Column="1"
                                    Grid.ColumnSpan="3"
                                    Grid.Row="1"
                                    VerticalAlignment="Center"
                                    Background="{TemplateBinding Background}"/>
                            <RepeatButton x:Name="DecreaseButton"
                                    Grid.Row="1"
                                    Delay="{TemplateBinding Delay}"
                                    Interval="{TemplateBinding RepeatInterval}"
                                    Visibility="{TemplateBinding HandlesVisibility}"
                                    Style="{TemplateBinding DecreaseHandleStyle}"/>
                            <RepeatButton x:Name="LargeDecreaseButton"
                                    Grid.Column="1"
                                    Grid.Row="1"
                                    Style="{StaticResource LargeHandleStyle}"
                                    Delay="{TemplateBinding Delay}"
                                    Interval="{TemplateBinding RepeatInterval}"/>
                            <Grid Grid.Row="1" Grid.Column="2">
                                <Thumb x:Name="SingleThumbHost" Style="{TemplateBinding ThumbStyle}" Visibility="{TemplateBinding ThumbVisibility}"/>
                                <StackPanel x:Name="RangeThumbsPanel" Orientation="Horizontal" Visibility="Collapsed">
                                    <Thumb x:Name="RangeStartThumb" Style="{TemplateBinding ThumbStyle}" Visibility="{TemplateBinding ThumbVisibility}"/>
                                    <Thumb x:Name="RangeMiddleThumb" Style="{TemplateBinding SelectionMiddleThumbStyle}"/>
                                    <Thumb x:Name="RangeEndThumb" Style="{TemplateBinding AlternateThumbStyle}" Visibility="{TemplateBinding ThumbVisibility}"/>
                                </StackPanel>
                            </Grid>
                            <RepeatButton x:Name="LargeIncreaseButton"
                                    Grid.Column="3"
                                    Grid.Row="1"
                                    Style="{StaticResource LargeHandleStyle}"
                                    Delay="{TemplateBinding Delay}"
                                    Interval="{TemplateBinding RepeatInterval}"/>
                            <RepeatButton x:Name="IncreaseButton"
                                    Grid.Row="1"
                                    Grid.Column="4"
                                    Delay="{TemplateBinding Delay}"
                                    Interval="{TemplateBinding RepeatInterval}"
                                    Visibility="{TemplateBinding HandlesVisibility}"
                                    RenderTransformOrigin="0.5,0.5"
                                    Style="{TemplateBinding IncreaseHandleStyle}"/>
                            <telerikControls:RadTickBar x:Name="BottomTickBar"
                                    Grid.Row="2"
                                    Grid.Column="1"
                                    Grid.ColumnSpan="3"
                                    Maximum="{TemplateBinding Maximum}"
                                    Minimum="{TemplateBinding Minimum}"
                                    ItemsSource="{TemplateBinding ResultTicks}"
                                    ItemTemplate="{TemplateBinding TickTemplate}"
                                    ItemTemplateSelector="{TemplateBinding TickTemplateSelector}"
                                    IsDirectionReversed="{TemplateBinding IsDirectionReversed}"
                                    Style="{TemplateBinding TickBarStyle}"
                                    RenderTransformOrigin="0.5,0.5">
                                <telerikControls:RadTickBar.RenderTransform>
                                    <TransformGroup>
                                        <ScaleTransform/>
                                        <SkewTransform/>
                                        <RotateTransform/>
                                        <TranslateTransform/>
                                    </TransformGroup>
                                </telerikControls:RadTickBar.RenderTransform>
                            </telerikControls:RadTickBar>
                        </Grid>
                    </telerikPrimitives:LayoutTransformControl>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="telerikControls:RadTickBar" BasedOn="{StaticResource RadTickBarStyle}"/>
    <Style TargetType="telerikControls:RadSlider" BasedOn="{StaticResource RadSliderStyle}"/>
    <SolidColorBrush x:Key="Foreground" Color="Black"/>
    <telerik:BooleanToVisibilityConverter x:Key="barcodeBooleanToVisibilityConverter"/>
    <telerik:BooleanConverter x:Key="barcodeBooleanToTextRowHeightConverter" TrueValue="1*" FalseValue="0"/>
    <Style x:Key="Barcode39Style" TargetType="datavizControls:RadBarcode39">
        <Setter Property="Foreground" Value="{StaticResource Foreground}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="datavizControls:RadBarcode39">
                    <Grid x:Name="PART_RadBarcode39" Background="{TemplateBinding Background}">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="3*"/>
                            <RowDefinition Height="{Binding ShowText, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource barcodeBooleanToTextRowHeightConverter}}"/>
                        </Grid.RowDefinitions>
                        <Path Fill="{TemplateBinding Foreground}" x:Name="RadBarcode39Path" Stretch="Fill" Grid.Row="0" Grid.Column="1"/>
                        <Viewbox
                                MinHeight="12"
                                Grid.Column="1"
                                Grid.Row="1"
                                Visibility="{Binding ShowText, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource barcodeBooleanToVisibilityConverter}}">
                            <TextBlock x:Name="RadBarcode39FullText" MinHeight="12" VerticalAlignment="Center" HorizontalAlignment="Center"/>
                        </Viewbox>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="Barcode93Style" TargetType="datavizControls:RadBarcode93">
        <Setter Property="Foreground" Value="{StaticResource Foreground}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="datavizControls:RadBarcode93">
                    <Grid x:Name="PART_RadBarcode93" Background="{TemplateBinding Background}">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="3*"/>
                            <RowDefinition Height="{Binding ShowText, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource barcodeBooleanToTextRowHeightConverter}}"/>
                        </Grid.RowDefinitions>
                        <Path Fill="{TemplateBinding Foreground}" x:Name="RadBarcode93Path" Stretch="Fill" Grid.Row="0" Grid.Column="1"/>
                        <Viewbox
                                MinHeight="12"
                                Grid.Column="1"
                                Grid.Row="1"
                                Visibility="{Binding ShowText, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource barcodeBooleanToVisibilityConverter}}">
                            <TextBlock x:Name="RadBarcode93FullText" MinHeight="12" VerticalAlignment="Center" HorizontalAlignment="Center"/>
                        </Viewbox>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="Barcode93ExtendedStyle" TargetType="datavizControls:RadBarcode93Extended">
        <Setter Property="Foreground" Value="{StaticResource Foreground}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="datavizControls:RadBarcode93Extended">
                    <Grid x:Name="PART_RadBarcode93Extended" Background="{TemplateBinding Background}">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="3*"/>
                            <RowDefinition Height="{Binding ShowText, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource barcodeBooleanToTextRowHeightConverter}}"/>
                        </Grid.RowDefinitions>
                        <Path Fill="{TemplateBinding Foreground}" x:Name="RadBarcode93ExtendedPath" Stretch="Fill" Grid.Row="0" Grid.Column="1"/>
                        <Viewbox
                                MinHeight="12"
                                Grid.Column="1"
                                Grid.Row="1"
                                Visibility="{Binding ShowText, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource barcodeBooleanToVisibilityConverter}}">
                            <TextBlock x:Name="RadBarcode93ExtendedFullText" MinHeight="12" VerticalAlignment="Center" HorizontalAlignment="Center"/>
                        </Viewbox>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="BarcodeUPCSupplement5Style" TargetType="datavizControls:RadBarcodeUPCSupplement5">
        <Setter Property="Foreground" Value="{StaticResource Foreground}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="datavizControls:RadBarcodeUPCSupplement5">
                    <Grid x:Name="PART_RadBarcodeUPCSupplement5" Background="{TemplateBinding Background}">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="3*"/>
                            <RowDefinition Height="{Binding ShowText, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource barcodeBooleanToTextRowHeightConverter}}"/>
                        </Grid.RowDefinitions>
                        <Path Fill="{TemplateBinding Foreground}" x:Name="RadBarcodeUPCSupplement5Path" Stretch="Fill" Grid.Row="0" Grid.Column="1"/>
                        <Viewbox
                                MinHeight="12"
                                Grid.Column="1"
                                Grid.Row="1"
                                Visibility="{Binding ShowText, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource barcodeBooleanToVisibilityConverter}}">
                            <TextBlock x:Name="RadBarcodeUPCSupplement5FullText" MinHeight="12" VerticalAlignment="Center" HorizontalAlignment="Center"/>
                        </Viewbox>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="BarcodeUPCSupplement2Style" TargetType="datavizControls:RadBarcodeUPCSupplement2">
        <Setter Property="Foreground" Value="{StaticResource Foreground}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="datavizControls:RadBarcodeUPCSupplement2">
                    <Grid x:Name="PART_RadBarcodeUPCSupplement2" Background="{TemplateBinding Background}">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="3*"/>
                            <RowDefinition Height="{Binding ShowText, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource barcodeBooleanToTextRowHeightConverter}}"/>
                        </Grid.RowDefinitions>
                        <Path Fill="{TemplateBinding Foreground}" x:Name="RadBarcodeUPCSupplement2Path" Stretch="Fill" Grid.Row="0" Grid.Column="1"/>
                        <Viewbox
                                MinHeight="12"
                                Grid.Column="1"
                                Grid.Row="1"
                                Visibility="{Binding ShowText, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource barcodeBooleanToVisibilityConverter}}">
                            <TextBlock x:Name="RadBarcodeUPCSupplement2FullText" MinHeight="12" VerticalAlignment="Center" HorizontalAlignment="Center"/>
                        </Viewbox>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="Barcode25StandardStyle" TargetType="datavizControls:RadBarcode25Standard">
        <Setter Property="Foreground" Value="{StaticResource Foreground}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="datavizControls:RadBarcode25Standard">
                    <Grid x:Name="PART_RadBarcode25Standard" Background="{TemplateBinding Background}">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="3*"/>
                            <RowDefinition Height="{Binding ShowText, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource barcodeBooleanToTextRowHeightConverter}}"/>
                        </Grid.RowDefinitions>
                        <Path Fill="{TemplateBinding Foreground}" x:Name="RadBarcode25StandardPath" Stretch="Fill" Grid.Row="0" Grid.Column="1"/>
                        <Viewbox
                                MinHeight="12"
                                Grid.Column="1"
                                Grid.Row="1"
                                Visibility="{Binding ShowText, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource barcodeBooleanToVisibilityConverter}}">
                            <TextBlock x:Name="RadBarcode25StandardFullText" MinHeight="12" VerticalAlignment="Center" HorizontalAlignment="Center"/>
                        </Viewbox>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="Barcode25InterleavedStyle" TargetType="datavizControls:RadBarcode25Interleaved">
        <Setter Property="Foreground" Value="{StaticResource Foreground}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="datavizControls:RadBarcode25Interleaved">
                    <Grid x:Name="PART_RadBarcode25Interleaved" Background="{TemplateBinding Background}">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="3*"/>
                            <RowDefinition Height="{Binding ShowText, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource barcodeBooleanToTextRowHeightConverter}}"/>
                        </Grid.RowDefinitions>
                        <Path Fill="{TemplateBinding Foreground}" x:Name="RadBarcode25InterleavedPath" Stretch="Fill" Grid.Row="0" Grid.Column="1"/>
                        <Viewbox
                                MinHeight="12"
                                Grid.Column="1"
                                Grid.Row="1"
                                Visibility="{Binding ShowText, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource barcodeBooleanToVisibilityConverter}}">
                            <TextBlock x:Name="RadBarcode25InterleavedFullText" MinHeight="12" VerticalAlignment="Center" HorizontalAlignment="Center"/>
                        </Viewbox>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="BarcodeMSIStyle" TargetType="datavizControls:RadBarcodeMSI">
        <Setter Property="Foreground" Value="{StaticResource Foreground}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="datavizControls:RadBarcodeMSI">
                    <Grid x:Name="PART_RadBarcodeMSI" Background="{TemplateBinding Background}">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="3*"/>
                            <RowDefinition Height="{Binding ShowText, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource barcodeBooleanToTextRowHeightConverter}}"/>
                        </Grid.RowDefinitions>
                        <Path Fill="{TemplateBinding Foreground}" x:Name="RadBarcodeMSIPath" Stretch="Fill" Grid.Row="0" Grid.Column="1"/>
                        <Viewbox
                                MinHeight="12"
                                Grid.Column="1"
                                Grid.Row="1"
                                Visibility="{Binding ShowText, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource barcodeBooleanToVisibilityConverter}}">
                            <TextBlock x:Name="RadBarcodeMSIFullText" MinHeight="12" VerticalAlignment="Center" HorizontalAlignment="Center"/>
                        </Viewbox>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="BarcodeCodebarStyle" TargetType="datavizControls:RadBarcodeCodebar">
        <Setter Property="Foreground" Value="{StaticResource Foreground}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="datavizControls:RadBarcodeCodebar">
                    <Grid x:Name="PART_RadBarcodeCodebar" Background="{TemplateBinding Background}">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="3*"/>
                            <RowDefinition Height="{Binding ShowText, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource barcodeBooleanToTextRowHeightConverter}}"/>
                        </Grid.RowDefinitions>
                        <Path Fill="{TemplateBinding Foreground}" x:Name="RadBarcodeCodebarPath" Stretch="Fill" Grid.Row="0" Grid.Column="1"/>
                        <Viewbox
                                MinHeight="12"
                                Grid.Column="1"
                                Grid.Row="1"
                                Visibility="{Binding ShowText, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource barcodeBooleanToVisibilityConverter}}">
                            <TextBlock x:Name="RadBarcodeCodebarFullText" MinHeight="12" VerticalAlignment="Center" HorizontalAlignment="Center"/>
                        </Viewbox>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="Barcode11Style" TargetType="datavizControls:RadBarcode11">
        <Setter Property="Foreground" Value="{StaticResource Foreground}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="datavizControls:RadBarcode11">
                    <Grid x:Name="PART_RadBarcode11" Background="{TemplateBinding Background}">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="3*"/>
                            <RowDefinition Height="{Binding ShowText, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource barcodeBooleanToTextRowHeightConverter}}"/>
                        </Grid.RowDefinitions>
                        <Path x:Name="RadBarcode11Path" Fill="{TemplateBinding Foreground}" Stretch="Fill" Grid.Row="0" Grid.Column="1"/>
                        <Viewbox
                                MinHeight="12"
                                Grid.Column="1"
                                Grid.Row="1"
                                Visibility="{Binding ShowText, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource barcodeBooleanToVisibilityConverter}}">
                            <TextBlock x:Name="RadBarcode11FullText" MinHeight="12" VerticalAlignment="Center" HorizontalAlignment="Center"/>
                        </Viewbox>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="Barcode39ExtendedStyle" TargetType="datavizControls:RadBarcode39Extended">
        <Setter Property="Foreground" Value="{StaticResource Foreground}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="datavizControls:RadBarcode39Extended">
                    <Grid x:Name="PART_RadBarcode39Extended" Background="{TemplateBinding Background}">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="3*"/>
                            <RowDefinition Height="{Binding ShowText, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource barcodeBooleanToTextRowHeightConverter}}"/>
                        </Grid.RowDefinitions>
                        <Path Fill="{TemplateBinding Foreground}" x:Name="RadBarcode39ExtendedPath" Stretch="Fill" Grid.Row="0" Grid.Column="1"/>
                        <Viewbox
                                MinHeight="12"
                                Grid.Column="1"
                                Grid.Row="1"
                                Visibility="{Binding ShowText, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource barcodeBooleanToVisibilityConverter}}">
                            <TextBlock x:Name="RadBarcode39ExtendedFullText" MinHeight="12" VerticalAlignment="Center" HorizontalAlignment="Center"/>
                        </Viewbox>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="Barcode128Style" TargetType="datavizControls:RadBarcode128">
        <Setter Property="Foreground" Value="{StaticResource Foreground}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="datavizControls:RadBarcode128">
                    <Grid x:Name="PART_RadBarcode128" Background="{TemplateBinding Background}">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="3*"/>
                            <RowDefinition Height="{Binding ShowText, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource barcodeBooleanToTextRowHeightConverter}}"/>
                        </Grid.RowDefinitions>
                        <Path Fill="{TemplateBinding Foreground}" x:Name="RadBarcode128Path" Stretch="Fill" Grid.Row="0" Grid.Column="2"/>
                        <Viewbox
                                MinHeight="12"
                                Grid.Column="2"
                                Grid.Row="1"
                                Visibility="{Binding ShowText, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource barcodeBooleanToVisibilityConverter}}">
                            <TextBlock x:Name="RadBarcode128FullText" MinHeight="12" VerticalAlignment="Center" HorizontalAlignment="Center"/>
                        </Viewbox>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="Barcode128AStyle" TargetType="datavizControls:RadBarcode128A">
        <Setter Property="Foreground" Value="{StaticResource Foreground}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="datavizControls:RadBarcode128A">
                    <Grid x:Name="PART_RadBarcode128A" Background="{TemplateBinding Background}">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="3*"/>
                            <RowDefinition Height="{Binding ShowText, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource barcodeBooleanToTextRowHeightConverter}}"/>
                        </Grid.RowDefinitions>
                        <Path Fill="{TemplateBinding Foreground}" x:Name="RadBarcode128APath" Stretch="Fill" Grid.Row="0" Grid.Column="2"/>
                        <Viewbox
                                MinHeight="12"
                                Grid.Column="2"
                                Grid.Row="1"
                                Visibility="{Binding ShowText, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource barcodeBooleanToVisibilityConverter}}">
                            <TextBlock x:Name="RadBarcode128AFullText" MinHeight="12" VerticalAlignment="Center" HorizontalAlignment="Center"/>
                        </Viewbox>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="Barcode128BStyle" TargetType="datavizControls:RadBarcode128B">
        <Setter Property="Foreground" Value="{StaticResource Foreground}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="datavizControls:RadBarcode128B">
                    <Grid x:Name="PART_RadBarcode128B" Background="{TemplateBinding Background}">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="3*"/>
                            <RowDefinition Height="{Binding ShowText, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource barcodeBooleanToTextRowHeightConverter}}"/>
                        </Grid.RowDefinitions>
                        <Path Fill="{TemplateBinding Foreground}" x:Name="RadBarcode128BPath" Stretch="Fill" Grid.Row="0" Grid.Column="2"/>
                        <Viewbox
                                MinHeight="12"
                                Grid.Column="2"
                                Grid.Row="1"
                                Visibility="{Binding ShowText, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource barcodeBooleanToVisibilityConverter}}">
                            <TextBlock x:Name="RadBarcode128BFullText" MinHeight="12" VerticalAlignment="Center" HorizontalAlignment="Center"/>
                        </Viewbox>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="Barcode128CStyle" TargetType="datavizControls:RadBarcode128C">
        <Setter Property="Foreground" Value="{StaticResource Foreground}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="datavizControls:RadBarcode128C">
                    <Grid x:Name="PART_RadBarcode128C" Background="{TemplateBinding Background}">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="3*"/>
                            <RowDefinition Height="{Binding ShowText, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource barcodeBooleanToTextRowHeightConverter}}"/>
                        </Grid.RowDefinitions>
                        <Path Fill="{TemplateBinding Foreground}" x:Name="RadBarcode128CPath" Stretch="Fill" Grid.Row="0" Grid.Column="2"/>
                        <Viewbox
                                MinHeight="12"
                                Grid.Column="2"
                                Grid.Row="1"
                                Visibility="{Binding ShowText, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource barcodeBooleanToVisibilityConverter}}">
                            <TextBlock x:Name="RadBarcode128CFullText" MinHeight="12" VerticalAlignment="Center" HorizontalAlignment="Center"/>
                        </Viewbox>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="BarcodeEAN13Style" TargetType="datavizControls:RadBarcodeEAN13">
        <Setter Property="Foreground" Value="{StaticResource Foreground}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="datavizControls:RadBarcodeEAN13">
                    <Grid x:Name="PART_RadBarcodeEAN13" Background="{TemplateBinding Background}">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="7*"/>
                            <RowDefinition Height="1*"/>
                            <RowDefinition Height="{Binding ShowText, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource barcodeBooleanToTextRowHeightConverter}}"/>
                        </Grid.RowDefinitions>
                        <Path x:Name="RadBarcodeEAN13StartGeometry" Fill="{TemplateBinding Foreground}" Stretch="Fill" Grid.Column="1" Grid.Row="0" Grid.RowSpan="2"/>
                        <Path x:Name="RadBarcodeEAN13LeftGeometry" Fill="{TemplateBinding Foreground}" Stretch="Fill" Grid.Column="3" Grid.Row="0"/>
                        <Path x:Name="RadBarcodeEAN13MiddleGeometry" Fill="{TemplateBinding Foreground}" Stretch="Fill" Grid.Column="5" Grid.Row="0" Grid.RowSpan="2"/>
                        <Path x:Name="RadBarcodeEAN13RightGeometry" Fill="{TemplateBinding Foreground}" Stretch="Fill" Grid.Column="7" Grid.Row="0"/>
                        <Path x:Name="RadBarcodeEAN13TrailingGeometry" Fill="{TemplateBinding Foreground}" Stretch="Fill" Grid.Column="9" Grid.Row="0" Grid.RowSpan="2"/>
                        <Viewbox
                                MinHeight="12"
                                Grid.Column="0"
                                Grid.Row="1"
                                Grid.RowSpan="2"
                                Visibility="{Binding ShowText, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource barcodeBooleanToVisibilityConverter}}">
                            <TextBlock x:Name="RadBarcodeEAN13LeadingText" MinHeight="12" HorizontalAlignment="Center" VerticalAlignment="Center"/>
                        </Viewbox>
                        <Viewbox
                                MinHeight="12"
                                Grid.Column="3"
                                Grid.Row="1"
                                Grid.RowSpan="2"
                                Visibility="{Binding ShowText, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource barcodeBooleanToVisibilityConverter}}">
                            <TextBlock x:Name="RadBarcodeEAN13LeftText" MinHeight="12" VerticalAlignment="Center" HorizontalAlignment="Center"/>
                        </Viewbox>
                        <Viewbox
                                MinHeight="12"
                                Grid.Column="7"
                                Grid.Row="1"
                                Grid.RowSpan="2"
                                Visibility="{Binding ShowText, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource barcodeBooleanToVisibilityConverter}}">
                            <TextBlock x:Name="RadBarcodeEAN13RightText" MinHeight="12" VerticalAlignment="Center" HorizontalAlignment="Center"/>
                        </Viewbox>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="BarcodeEAN8Style" TargetType="datavizControls:RadBarcodeEAN8">
        <Setter Property="Foreground" Value="{StaticResource Foreground}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="datavizControls:RadBarcodeEAN8">
                    <Grid x:Name="PART_RadBarcodeEAN8" Background="{TemplateBinding Background}">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="7*"/>
                            <RowDefinition Height="1*"/>
                            <RowDefinition Height="{Binding ShowText, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource barcodeBooleanToTextRowHeightConverter}}"/>
                        </Grid.RowDefinitions>
                        <Path x:Name="RadBarcodeEAN8StartGeometry" Fill="{TemplateBinding Foreground}" Stretch="Fill" Grid.Column="0" Grid.Row="0" Grid.RowSpan="2"/>
                        <Path x:Name="RadBarcodeEAN8LeftGeometry" Fill="{TemplateBinding Foreground}" Stretch="Fill" Grid.Column="2" Grid.Row="0"/>
                        <Path x:Name="RadBarcodeEAN8MiddleGeometry" Fill="{TemplateBinding Foreground}" Stretch="Fill" Grid.Column="4" Grid.Row="0" Grid.RowSpan="2"/>
                        <Path x:Name="RadBarcodeEAN8RightGeometry" Fill="{TemplateBinding Foreground}" Stretch="Fill" Grid.Column="6" Grid.Row="0"/>
                        <Path x:Name="RadBarcodeEAN8TrailingGeometry" Fill="{TemplateBinding Foreground}" Stretch="Fill" Grid.Column="8" Grid.Row="0" Grid.RowSpan="2"/>
                        <Viewbox
                                MinHeight="12"
                                Grid.Column="2"
                                Grid.Row="1"
                                Grid.RowSpan="2"
                                Visibility="{Binding ShowText, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource barcodeBooleanToVisibilityConverter}}">
                            <TextBlock x:Name="RadBarcodeEAN8LeftText" MinHeight="12" VerticalAlignment="Center" HorizontalAlignment="Center"/>
                        </Viewbox>
                        <Viewbox
                                MinHeight="12"
                                Grid.Column="6"
                                Grid.Row="1"
                                Grid.RowSpan="2"
                                Visibility="{Binding ShowText, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource barcodeBooleanToVisibilityConverter}}">
                            <TextBlock x:Name="RadBarcodeEAN8RightText" MinHeight="12" VerticalAlignment="Center" HorizontalAlignment="Center"/>
                        </Viewbox>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="BarcodeUPCAStyle" TargetType="datavizControls:RadBarcodeUPCA">
        <Setter Property="Foreground" Value="{StaticResource Foreground}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="datavizControls:RadBarcodeUPCA">
                    <Grid x:Name="PART_RadBarcodeUPCA" Background="{TemplateBinding Background}">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="7*"/>
                            <RowDefinition Height="1*"/>
                            <RowDefinition Height="{Binding ShowText, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource barcodeBooleanToTextRowHeightConverter}}"/>
                        </Grid.RowDefinitions>
                        <Path x:Name="RadBarcodeUPCAStartGeometry" Fill="{TemplateBinding Foreground}" Stretch="Fill" Grid.Column="1" Grid.Row="0" Grid.RowSpan="2"/>
                        <Path x:Name="RadBarcodeUPCALeftGeometry" Fill="{TemplateBinding Foreground}" Stretch="Fill" Grid.Column="3" Grid.Row="0"/>
                        <Path x:Name="RadBarcodeUPCAMiddleGeometry" Fill="{TemplateBinding Foreground}" Stretch="Fill" Grid.Column="5" Grid.Row="0" Grid.RowSpan="2"/>
                        <Path x:Name="RadBarcodeUPCARightGeometry" Fill="{TemplateBinding Foreground}" Stretch="Fill" Grid.Column="7" Grid.Row="0"/>
                        <Path x:Name="RadBarcodeUPCATrailingGeometry" Fill="{TemplateBinding Foreground}" Stretch="Fill" Grid.Column="9" Grid.Row="0" Grid.RowSpan="2"/>
                        <Viewbox
                                MinHeight="12"
                                Grid.Column="0"
                                Grid.Row="1"
                                Grid.RowSpan="2"
                                Visibility="{Binding ShowText, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource barcodeBooleanToVisibilityConverter}}">
                            <TextBlock x:Name="RadBarcodeUPCALeadingText" MinHeight="12" HorizontalAlignment="Center" VerticalAlignment="Center"/>
                        </Viewbox>
                        <Viewbox
                                MinHeight="12"
                                Grid.Column="3"
                                Grid.Row="1"
                                Grid.RowSpan="2"
                                Visibility="{Binding ShowText, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource barcodeBooleanToVisibilityConverter}}">
                            <TextBlock x:Name="RadBarcodeUPCALeftText" MinHeight="12" VerticalAlignment="Center" HorizontalAlignment="Center"/>
                        </Viewbox>
                        <Viewbox
                                MinHeight="12"
                                Grid.Column="7"
                                Grid.Row="1"
                                Grid.RowSpan="2"
                                Visibility="{Binding ShowText, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource barcodeBooleanToVisibilityConverter}}">
                            <TextBlock x:Name="RadBarcodeUPCARightText" MinHeight="12" VerticalAlignment="Center" HorizontalAlignment="Center"/>
                        </Viewbox>
                        <Viewbox
                                MinHeight="12"
                                Grid.Column="10"
                                Grid.Row="1"
                                Grid.RowSpan="2"
                                Visibility="{Binding ShowText, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource barcodeBooleanToVisibilityConverter}}">
                            <TextBlock x:Name="RadBarcodeUPCATrailingText" MinHeight="12" VerticalAlignment="Center" HorizontalAlignment="Center"/>
                        </Viewbox>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="BarcodeUPCEStyle" TargetType="datavizControls:RadBarcodeUPCE">
        <Setter Property="Foreground" Value="{StaticResource Foreground}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="datavizControls:RadBarcodeUPCE">
                    <Grid x:Name="PART_RadBarcodeUPCE" Background="{TemplateBinding Background}">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="7*"/>
                            <RowDefinition Height="1*"/>
                            <RowDefinition Height="{Binding ShowText, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource barcodeBooleanToTextRowHeightConverter}}"/>
                        </Grid.RowDefinitions>
                        <Path x:Name="RadBarcodeUPCEStartGeometry" Fill="{TemplateBinding Foreground}" Stretch="Fill" Grid.Column="1" Grid.Row="0" Grid.RowSpan="2"/>
                        <Path x:Name="RadBarcodeUPCEGeometry" Fill="{TemplateBinding Foreground}" Stretch="Fill" Grid.Column="3" Grid.Row="0"/>
                        <Path x:Name="RadBarcodeUPCETrailingGeometry" Fill="{TemplateBinding Foreground}" Stretch="Fill" Grid.Column="5" Grid.Row="0" Grid.RowSpan="2"/>
                        <Viewbox
                                MinHeight="12"
                                Grid.Column="0"
                                Grid.Row="1"
                                Grid.RowSpan="2"
                                Visibility="{Binding ShowText, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource barcodeBooleanToVisibilityConverter}}">
                            <TextBlock x:Name="RadBarcodeUPCELeadingText" MinHeight="12" HorizontalAlignment="Center" VerticalAlignment="Center"/>
                        </Viewbox>
                        <Viewbox
                                MinHeight="12"
                                Grid.Column="3"
                                Grid.Row="1"
                                Grid.RowSpan="2"
                                Visibility="{Binding ShowText, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource barcodeBooleanToVisibilityConverter}}">
                            <TextBlock x:Name="RadBarcodeUPCEFullText" MinHeight="12" VerticalAlignment="Center" HorizontalAlignment="Center"/>
                        </Viewbox>
                        <Viewbox
                                MinHeight="12"
                                Grid.Column="6"
                                Grid.Row="1"
                                Grid.RowSpan="2"
                                Visibility="{Binding ShowText, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource barcodeBooleanToVisibilityConverter}}">
                            <TextBlock x:Name="RadBarcodeUPCETrailingText" MinHeight="12" VerticalAlignment="Center" HorizontalAlignment="Center"/>
                        </Viewbox>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="BarcodePostnetStyle" TargetType="datavizControls:RadBarcodePostnet">
        <Setter Property="Foreground" Value="{StaticResource Foreground}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="datavizControls:RadBarcodePostnet">
                    <Grid x:Name="PART_RadBarcodePostnet" Background="{TemplateBinding Background}">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="3*"/>
                            <RowDefinition Height="{Binding ShowText, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource barcodeBooleanToTextRowHeightConverter}}"/>
                        </Grid.RowDefinitions>
                        <Path Fill="{TemplateBinding Foreground}" x:Name="RadBarcodePostnetGeometry" Stretch="Fill" Grid.Row="0" Grid.Column="1"/>
                        <Viewbox
                                MinHeight="12"
                                Grid.Column="1"
                                Grid.Row="1"
                                Visibility="{Binding ShowText, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource barcodeBooleanToVisibilityConverter}}">
                            <TextBlock x:Name="RadBarcodePostnetFullText" MinHeight="12" VerticalAlignment="Center" HorizontalAlignment="Center"/>
                        </Viewbox>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="BarcodeQRStyle" TargetType="datavizControls:RadBarcodeQR">
        <Setter Property="Foreground" Value="{StaticResource Foreground}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="datavizControls:RadBarcodeQR">
                    <Grid x:Name="PART_RadBarcodeQR">
                        <Image HorizontalAlignment="Center" VerticalAlignment="Center"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="BarcodePDF417Style" TargetType="datavizControls:RadBarcodePDF417">
        <Setter Property="Foreground" Value="{StaticResource Foreground}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="datavizControls:RadBarcodePDF417">
                    <Grid x:Name="PART_RadBarcodePDF417">
                        <Image HorizontalAlignment="Center" VerticalAlignment="Center"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="BarcodeReaderStyle" TargetType="datavizControls:RadBarcodeReader">
        <Setter Property="Foreground" Value="{StaticResource Foreground}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="datavizControls:RadBarcodeReader">
                    <Grid x:Name="PART_RadBarcodeReader">
                        <Grid.RowDefinitions>
                            <RowDefinition Height="Auto"/>
                            <RowDefinition/>
                        </Grid.RowDefinitions>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="Auto"/>
                            <ColumnDefinition Width="Auto"/>
                            <ColumnDefinition/>
                            <ColumnDefinition/>
                        </Grid.ColumnDefinitions>
                        <telerik:RadButton x:Name="OpenButton"
                                Background="LightGray"
                                Margin="0 0 3 6"
                                HorizontalContentAlignment="Left"
                                VerticalContentAlignment="Center"
                                HorizontalAlignment="Left"
                                Grid.Column="0"
                                Grid.Row="0"
                                Content="Choose Image"/>
                        <telerik:RadButton x:Name="DecodeButton" Background="LightGray" Margin="3 0 0 6" Grid.Column="1" Grid.Row="0" Content="Decode Image"/>
                        <Border Background="LightGray" Grid.Column="0" Grid.Row="1" Grid.ColumnSpan="4">
                            <ScrollViewer VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Disabled">
                                <TextBlock TextWrapping="Wrap" Padding="2" x:Name="ReaderResult" Text="Decoded text from the barcode goes here"/>
                            </ScrollViewer>
                        </Border>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style BasedOn="{StaticResource BarcodeReaderStyle}" TargetType="datavizControls:RadBarcodeReader"/>
    <Style BasedOn="{StaticResource BarcodeQRStyle}" TargetType="datavizControls:RadBarcodeQR"/>
    <Style BasedOn="{StaticResource Barcode39Style}" TargetType="datavizControls:RadBarcode39"/>
    <Style BasedOn="{StaticResource Barcode39ExtendedStyle}" TargetType="datavizControls:RadBarcode39Extended"/>
    <Style BasedOn="{StaticResource Barcode93Style}" TargetType="datavizControls:RadBarcode93"/>
    <Style BasedOn="{StaticResource Barcode93ExtendedStyle}" TargetType="datavizControls:RadBarcode93Extended"/>
    <Style BasedOn="{StaticResource BarcodeUPCSupplement5Style}" TargetType="datavizControls:RadBarcodeUPCSupplement5"/>
    <Style BasedOn="{StaticResource BarcodeUPCSupplement2Style}" TargetType="datavizControls:RadBarcodeUPCSupplement2"/>
    <Style BasedOn="{StaticResource Barcode25StandardStyle}" TargetType="datavizControls:RadBarcode25Standard"/>
    <Style BasedOn="{StaticResource Barcode25InterleavedStyle}" TargetType="datavizControls:RadBarcode25Interleaved"/>
    <Style BasedOn="{StaticResource BarcodeMSIStyle}" TargetType="datavizControls:RadBarcodeMSI"/>
    <Style BasedOn="{StaticResource BarcodeCodebarStyle}" TargetType="datavizControls:RadBarcodeCodebar"/>
    <Style BasedOn="{StaticResource Barcode11Style}" TargetType="datavizControls:RadBarcode11"/>
    <Style BasedOn="{StaticResource Barcode128Style}" TargetType="datavizControls:RadBarcode128"/>
    <Style BasedOn="{StaticResource Barcode128AStyle}" TargetType="datavizControls:RadBarcode128A"/>
    <Style BasedOn="{StaticResource Barcode128BStyle}" TargetType="datavizControls:RadBarcode128B"/>
    <Style BasedOn="{StaticResource Barcode128CStyle}" TargetType="datavizControls:RadBarcode128C"/>
    <Style BasedOn="{StaticResource BarcodeEAN13Style}" TargetType="datavizControls:RadBarcodeEAN13"/>
    <Style BasedOn="{StaticResource BarcodeEAN8Style}" TargetType="datavizControls:RadBarcodeEAN8"/>
    <Style BasedOn="{StaticResource BarcodeUPCAStyle}" TargetType="datavizControls:RadBarcodeUPCA"/>
    <Style BasedOn="{StaticResource BarcodeUPCEStyle}" TargetType="datavizControls:RadBarcodeUPCE"/>
    <Style BasedOn="{StaticResource BarcodePostnetStyle}" TargetType="datavizControls:RadBarcodePostnet"/>
    <Style BasedOn="{StaticResource BarcodePDF417Style}" TargetType="datavizControls:RadBarcodePDF417"/>
    <LinearGradientBrush x:Key="DataBarValueBrush" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#BF98BED9" Offset="0"/>
        <GradientStop Color="#FF98BED9" Offset="1"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="DataBarNegativeValueBrush" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#BFC9A2C8" Offset="0"/>
        <GradientStop Color="#FFC9A2C8" Offset="1"/>
    </LinearGradientBrush>
    <system:Double x:Key="DataBarsBorderThickness">1</system:Double>
    <SolidColorBrush x:Key="DataBarValueBorderBrush" Color="#FF98BED9"/>
    <SolidColorBrush x:Key="DataBarNegativeValueBorderBrush" Color="#FFC9A2C8"/>
    <Style x:Key="DataBarShapeStyle" TargetType="dataBars:DataBarShape"/>
    <Color x:Key="Windows7Color10">#BF98BED9</Color>
    <Color x:Key="Windows7Color11">#FF98BED9</Color>
    <Color x:Key="Windows7Color20">#BF9CD084</Color>
    <Color x:Key="Windows7Color21">#FF9CD084</Color>
    <Color x:Key="Windows7Color30">#BF94A0BC</Color>
    <Color x:Key="Windows7Color31">#FF94A0BC</Color>
    <Color x:Key="Windows7Color40">#BFC9A2C8</Color>
    <Color x:Key="Windows7Color41">#FFC9A2C8</Color>
    <dataBars:BrushCollection x:Key="StackedDataBarBrushes">
        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0" PresentationOptions:Freeze="True">
            <GradientStop Color="{StaticResource Windows7Color10}" Offset="0"/>
            <GradientStop Color="{StaticResource Windows7Color11}" Offset="1"/>
        </LinearGradientBrush>
        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0" PresentationOptions:Freeze="True">
            <GradientStop Color="{StaticResource Windows7Color20}" Offset="0"/>
            <GradientStop Color="{StaticResource Windows7Color21}" Offset="1"/>
        </LinearGradientBrush>
        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0" PresentationOptions:Freeze="True">
            <GradientStop Color="{StaticResource Windows7Color30}" Offset="0"/>
            <GradientStop Color="{StaticResource Windows7Color31}" Offset="1"/>
        </LinearGradientBrush>
        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0" PresentationOptions:Freeze="True">
            <GradientStop Color="{StaticResource Windows7Color40}" Offset="0"/>
            <GradientStop Color="{StaticResource Windows7Color41}" Offset="1"/>
        </LinearGradientBrush>
    </dataBars:BrushCollection>
    <dataBars:BrushCollection x:Key="StackedDataBarBorderBrushes">
        <SolidColorBrush Color="{StaticResource Windows7Color11}" PresentationOptions:Freeze="True"/>
        <SolidColorBrush Color="{StaticResource Windows7Color21}" PresentationOptions:Freeze="True"/>
        <SolidColorBrush Color="{StaticResource Windows7Color31}" PresentationOptions:Freeze="True"/>
        <SolidColorBrush Color="{StaticResource Windows7Color41}" PresentationOptions:Freeze="True"/>
    </dataBars:BrushCollection>
    <SolidColorBrush x:Key="DataBarsForeground" Color="#FF4C607A"/>
    <SolidColorBrush x:Key="DataAxisStroke" Color="#FF4C607A"/>
    <Style x:Key="FastItemsControlBaseStyle" TargetType="sparklines:FastItemsControlBase">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="sparklines:FastItemsControlBase">
                    <Border Name="PART_ControlRoot" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}"/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="DataBarAxisStyle" TargetType="Rectangle">
        <Setter Property="Width" Value="1"/>
    </Style>
    <Style x:Key="RadDataBarStyle" TargetType="datavizControls:RadDataBar">
        <Setter Property="AxisVisibility" Value="Collapsed"/>
        <Setter Property="AxisStyle" Value="{StaticResource DataBarAxisStyle}"/>
        <Setter Property="BarHeightPercent" Value="0.66"/>
        <Setter Property="AxisStroke" Value="{StaticResource DataAxisStroke}"/>
        <Setter Property="ValueBrush" Value="{StaticResource DataBarValueBrush}"/>
        <Setter Property="NegativeValueBrush" Value="{StaticResource DataBarNegativeValueBrush}"/>
        <Setter Property="ValueBorderBrush" Value="{StaticResource DataBarValueBorderBrush}"/>
        <Setter Property="NegativeValueBorderBrush" Value="{StaticResource DataBarNegativeValueBorderBrush}"/>
        <Setter Property="Foreground" Value="{StaticResource DataBarsForeground}"/>
        <Setter Property="BarStyle" Value="{StaticResource DataBarShapeStyle}"/>
        <Setter Property="BarBorderThickness" Value="{StaticResource DataBarsBorderThickness}"/>
        <Setter Property="LabelDistance" Value="5"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="datavizControls:RadDataBar">
                    <Border Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}">
                        <Grid>
                            <dataBars:DataBarShape
                                    Fill="{TemplateBinding AppliedBarBrush}"
                                    Style="{TemplateBinding BarStyle}"
                                    Stroke="{TemplateBinding AppliedBarBorderBrush}"
                                    StrokeThickness="{TemplateBinding BarBorderThickness}"
                                    HeightPercent="{TemplateBinding BarHeightPercent}"
                                    RightPercent="{TemplateBinding BarRightPercent}"
                                    LeftPercent="{TemplateBinding BarLeftPercent}"
                                    OutOfRangeRule="{TemplateBinding AppliedOutOfRangeRule}"/>
                            <ContentPresenter ContentTemplate="{TemplateBinding AppliedOutOfRangeTemplate}"/>
                            <Rectangle
                                    Margin="{TemplateBinding AppliedAxisMargin}"
                                    Fill="{TemplateBinding AxisStroke}"
                                    Style="{TemplateBinding AxisStyle}"
                                    Visibility="{TemplateBinding AppliedAxisVisibility}"
                                    HorizontalAlignment="Left"/>
                            <TextBlock
                                    Text="{TemplateBinding LabelText}"
                                    Style="{TemplateBinding LabelStyle}"
                                    Visibility="{TemplateBinding LabelVisibility}"
                                    Margin="{TemplateBinding AppliedLabelMargin}"
                                    VerticalAlignment="Center"/>
                        </Grid>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="RadStackedDataBarStyle" TargetType="datavizControls:RadStackedDataBar">
        <Setter Property="AxisStroke" Value="{StaticResource DataAxisStroke}"/>
        <Setter Property="AxisVisibility" Value="Collapsed"/>
        <Setter Property="AxisStyle" Value="{StaticResource DataBarAxisStyle}"/>
        <Setter Property="BarHeightPercent" Value="0.66"/>
        <Setter Property="BarBrushes" Value="{StaticResource StackedDataBarBrushes}"/>
        <Setter Property="BarBorderBrushes" Value="{StaticResource StackedDataBarBorderBrushes}"/>
        <Setter Property="BarBorderThickness" Value="{StaticResource DataBarsBorderThickness}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="datavizControls:RadStackedDataBar">
                    <Border Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}">
                        <Grid>
                            <dataBars:StackedBarItemsControl
                                    BarHeightPercent="{TemplateBinding BarHeightPercent}"
                                    BarBrushes="{TemplateBinding BarBrushes}"
                                    BarBorderBrushes="{TemplateBinding BarBorderBrushes}"
                                    BarBorderThickness="{TemplateBinding BarBorderThickness}"
                                    BarStyle="{TemplateBinding BarStyle}"
                                    ItemsSource="{TemplateBinding DataBarItems}"
                                    ShowToolTips="{TemplateBinding ShowToolTips}"
                                    IsTabStop="False"/>
                            <ContentPresenter ContentTemplate="{TemplateBinding AppliedUnderflowTemplate}"/>
                            <ContentPresenter ContentTemplate="{TemplateBinding AppliedOverflowTemplate}"/>
                            <Rectangle
                                    Margin="{TemplateBinding AppliedAxisMargin}"
                                    Fill="{TemplateBinding AxisStroke}"
                                    Style="{TemplateBinding AxisStyle}"
                                    Visibility="{TemplateBinding AppliedAxisVisibility}"
                                    HorizontalAlignment="Left"/>
                        </Grid>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="RadStacked100DataBarStyle" TargetType="datavizControls:RadStacked100DataBar">
        <Setter Property="BarHeightPercent" Value="0.66"/>
        <Setter Property="BarBrushes" Value="{StaticResource StackedDataBarBrushes}"/>
        <Setter Property="BarBorderBrushes" Value="{StaticResource StackedDataBarBorderBrushes}"/>
        <Setter Property="BarBorderThickness" Value="{StaticResource DataBarsBorderThickness}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="datavizControls:RadStacked100DataBar">
                    <Border Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}">
                        <Grid>
                            <dataBars:StackedBarItemsControl
                                    BarHeightPercent="{TemplateBinding BarHeightPercent}"
                                    BarBrushes="{TemplateBinding BarBrushes}"
                                    BarBorderBrushes="{TemplateBinding BarBorderBrushes}"
                                    BarBorderThickness="{TemplateBinding BarBorderThickness}"
                                    BarStyle="{TemplateBinding BarStyle}"
                                    ItemsSource="{TemplateBinding DataBarItems}"
                                    ShowToolTips="{TemplateBinding ShowToolTips}"
                                    IsTabStop="False"/>
                        </Grid>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="StackedBarItemStyle" TargetType="dataBars:StackedBarItem">
        <Setter Property="IsTabStop" Value="False"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="dataBars:StackedBarItem">
                    <dataBars:DataBarShape
                            LeftPercent="{Binding LeftPercent}"
                            RightPercent="{Binding RightPercent}"
                            HeightPercent="{TemplateBinding BarHeightPercent}"
                            Fill="{TemplateBinding BarBrush}"
                            Stroke="{TemplateBinding BarBorderBrush}"
                            StrokeThickness="{TemplateBinding BarBorderThickness}"
                            ShowToolTip="{TemplateBinding ShowToolTip}"
                            Style="{TemplateBinding BarStyle}"/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="HorizontalDataAxisTickStyle" TargetType="dataBars:HorizontalDataAxisTick">
        <Setter Property="TickLength" Value="6"/>
        <Setter Property="IsTabStop" Value="False"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="dataBars:HorizontalDataAxisTick">
                    <Rectangle Width="1" Height="{TemplateBinding TickLength}" Fill="{TemplateBinding Stroke}"/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="VerticalDataAxisTickStyle" TargetType="dataBars:VerticalDataAxisTick">
        <Setter Property="TickLength" Value="6"/>
        <Setter Property="IsTabStop" Value="False"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="dataBars:VerticalDataAxisTick">
                    <Rectangle Width="{TemplateBinding TickLength}" Height="1" Fill="{TemplateBinding Stroke}"/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="HorizontalDataAxisLabelStyle" TargetType="dataBars:HorizontalDataAxisLabel">
        <Setter Property="IsTabStop" Value="False"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="dataBars:HorizontalDataAxisLabel">
                    <TextBlock Text="{TemplateBinding LabelText}" Style="{TemplateBinding LabelStyle}"/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="VerticalDataAxisLabelStyle" TargetType="dataBars:VerticalDataAxisLabel">
        <Setter Property="IsTabStop" Value="False"/>
        <Setter Property="Margin" Value="0 0 2 0"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="dataBars:VerticalDataAxisLabel">
                    <TextBlock Text="{TemplateBinding LabelText}" Style="{TemplateBinding LabelStyle}"/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="HorizontalDataAxisStyle" TargetType="datavizControls:RadHorizontalDataAxis">
        <Setter Property="Stroke" Value="{StaticResource DataAxisStroke}"/>
        <Setter Property="Foreground" Value="{StaticResource DataBarsForeground}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="datavizControls:RadHorizontalDataAxis">
                    <Grid>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="Auto"/>
                            <RowDefinition Height="Auto"/>
                            <RowDefinition Height="Auto"/>
                        </Grid.RowDefinitions>
                        <Rectangle Grid.Row="0" Height="1" Fill="{TemplateBinding Stroke}"/>
                        <dataBars:HorizontalDataAxisTicksControl
                                TickLength="{TemplateBinding MinorTickLength}"
                                Grid.Row="1"
                                ItemsSource="{TemplateBinding CalculatedMinorTicks}"
                                VerticalAlignment="Top"
                                Stroke="{TemplateBinding Stroke}"
                                IsTabStop="False"/>
                        <dataBars:HorizontalDataAxisTicksControl
                                TickLength="{TemplateBinding MajorTickLength}"
                                Grid.Row="1"
                                ItemsSource="{TemplateBinding CalculatedMajorTicks}"
                                VerticalAlignment="Top"
                                Stroke="{TemplateBinding Stroke}"
                                IsTabStop="False"/>
                        <dataBars:HorizontalDataAxisLabelsControl Grid.Row="2" ItemsSource="{TemplateBinding CalculatedLabelInfos}" LabelStyle="{TemplateBinding LabelStyle}" IsTabStop="False"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="VerticalDataAxisStyle" TargetType="datavizControls:RadVerticalDataAxis">
        <Setter Property="Stroke" Value="{StaticResource DataAxisStroke}"/>
        <Setter Property="Foreground" Value="{StaticResource DataBarsForeground}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="datavizControls:RadVerticalDataAxis">
                    <Grid>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="Auto"/>
                            <ColumnDefinition Width="Auto"/>
                            <ColumnDefinition Width="Auto"/>
                        </Grid.ColumnDefinitions>
                        <Rectangle Grid.Column="2" Width="1" Fill="{TemplateBinding Stroke}"/>
                        <dataBars:VerticalDataAxisTicksControl
                                TickLength="{TemplateBinding MinorTickLength}"
                                Grid.Column="1"
                                ItemsSource="{TemplateBinding CalculatedMinorTicks}"
                                HorizontalAlignment="Right"
                                Stroke="{TemplateBinding Stroke}"
                                IsTabStop="False"/>
                        <dataBars:VerticalDataAxisTicksControl
                                TickLength="{TemplateBinding MajorTickLength}"
                                Grid.Column="1"
                                ItemsSource="{TemplateBinding CalculatedMajorTicks}"
                                HorizontalAlignment="Right"
                                Stroke="{TemplateBinding Stroke}"
                                IsTabStop="False"/>
                        <dataBars:VerticalDataAxisLabelsControl Grid.Column="0" ItemsSource="{TemplateBinding CalculatedLabelInfos}" LabelStyle="{TemplateBinding LabelStyle}" IsTabStop="False"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style BasedOn="{StaticResource FastItemsControlBaseStyle}" TargetType="sparklines:FastItemsControlBase"/>
    <Style BasedOn="{StaticResource FastItemsControlBaseStyle}" TargetType="dataBars:StackedBarItemsControl"/>
    <Style BasedOn="{StaticResource FastItemsControlBaseStyle}" TargetType="dataBars:HorizontalDataAxisTicksControl"/>
    <Style BasedOn="{StaticResource FastItemsControlBaseStyle}" TargetType="dataBars:HorizontalDataAxisLabelsControl"/>
    <Style BasedOn="{StaticResource FastItemsControlBaseStyle}" TargetType="dataBars:VerticalDataAxisTicksControl"/>
    <Style BasedOn="{StaticResource FastItemsControlBaseStyle}" TargetType="dataBars:VerticalDataAxisLabelsControl"/>
    <Style BasedOn="{StaticResource RadDataBarStyle}" TargetType="datavizControls:RadDataBar"/>
    <Style BasedOn="{StaticResource RadStackedDataBarStyle}" TargetType="datavizControls:RadStackedDataBar"/>
    <Style BasedOn="{StaticResource RadStacked100DataBarStyle}" TargetType="datavizControls:RadStacked100DataBar"/>
    <Style BasedOn="{StaticResource StackedBarItemStyle}" TargetType="dataBars:StackedBarItem"/>
    <Style BasedOn="{StaticResource HorizontalDataAxisTickStyle}" TargetType="dataBars:HorizontalDataAxisTick"/>
    <Style BasedOn="{StaticResource VerticalDataAxisTickStyle}" TargetType="dataBars:VerticalDataAxisTick"/>
    <Style BasedOn="{StaticResource HorizontalDataAxisLabelStyle}" TargetType="dataBars:HorizontalDataAxisLabel"/>
    <Style BasedOn="{StaticResource VerticalDataAxisLabelStyle}" TargetType="dataBars:VerticalDataAxisLabel"/>
    <Style BasedOn="{StaticResource HorizontalDataAxisStyle}" TargetType="datavizControls:RadHorizontalDataAxis"/>
    <Style BasedOn="{StaticResource VerticalDataAxisStyle}" TargetType="datavizControls:RadVerticalDataAxis"/>
    <SolidColorBrush x:Key="MapBackground" Color="#FFDEE5EC"/>
    <SolidColorBrush x:Key="MapRibbonBackground" Color="Transparent"/>
    <Visibility x:Key="IconsVisibility">Visible</Visibility>
    <Thickness x:Key="MapDefaultLayoutMargin">5</Thickness>
    <Style x:Key="MapDefaultLayoutBorderStyle" TargetType="Border">
        <Setter Property="Height" Value="34"/>
        <Setter Property="VerticalAlignment" Value="Center"/>
        <Setter Property="BorderThickness" Value="1"/>
        <Setter Property="BorderBrush">
            <Setter.Value>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop Color="#99BED0F0" Offset="1"/>
                    <GradientStop Color="#B2FFFFFF"/>
                </LinearGradientBrush>
            </Setter.Value>
        </Setter>
        <Setter Property="CornerRadius" Value="8"/>
        <Setter Property="Background">
            <Setter.Value>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop Color="#B2FDFEFF" Offset="0"/>
                    <GradientStop Color="#B2C6D9EE" Offset="1"/>
                    <GradientStop Color="#99D4E0EC" Offset="0.5"/>
                    <GradientStop Color="#E5CEDBEE" Offset="0.5"/>
                </LinearGradientBrush>
            </Setter.Value>
        </Setter>
    </Style>
    <LinearGradientBrush x:Key="MapDefaultLayoutBorderBrush" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FF7B93AA" Offset="0"/>
        <GradientStop Color="#FF8DA8BE" Offset="1"/>
    </LinearGradientBrush>
    <CornerRadius x:Key="MapDefaultLayoutCornerRadius">7</CornerRadius>
    <system:Double x:Key="MapDropDownWidth">42</system:Double>
    <SolidColorBrush x:Key="MapDropDownBackground" Color="#6B7390B3"/>
    <LinearGradientBrush x:Key="MapDropDownBorderBrush" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFA9BFD6" Offset="1"/>
        <GradientStop Color="#FFA9BFD6"/>
    </LinearGradientBrush>
    <Thickness x:Key="MapDropDownBorderThickness">1 1 1 0</Thickness>
    <SolidColorBrush x:Key="MapDropDownOuterBackground" Color="Transparent"/>
    <SolidColorBrush x:Key="MapDropDownOuterBorderBrush" Color="#B2FFFFFF"/>
    <CornerRadius x:Key="MapDropDownOuterCornerRadius">3</CornerRadius>
    <CornerRadius x:Key="MapButtonCornerRadius">3</CornerRadius>
    <LinearGradientBrush x:Key="MapButtonBackground" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFFDFEFF" Offset="0"/>
        <GradientStop Color="#FFE6F0FA" Offset="0.5"/>
        <GradientStop Color="#FFDCE6F4" Offset="0.5"/>
        <GradientStop Color="#FFDDE9F7" Offset="1"/>
    </LinearGradientBrush>
    <FontWeight x:Key="MapButtonFontWeight">Bold</FontWeight>
    <LinearGradientBrush x:Key="MapButtonForeground" EndPoint="1,1" StartPoint="0,0">
        <GradientStop Color="#FF1E395B" Offset="0.004"/>
        <GradientStop Color="#FF4C607A" Offset="0.5"/>
        <GradientStop Color="#FFC3E4F5" Offset="1"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="MapToggleButtonBorderBrush" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FF7B93AA" Offset="0"/>
        <GradientStop Color="#FF8DA8BE" Offset="1"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="MapToggleButtonInnerBorderBrush" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFFAFCFD" Offset="0"/>
        <GradientStop Color="#FFE4EFFB" Offset="1"/>
    </LinearGradientBrush>
    <system:Double x:Key="MapDropDownButtonOpacity">1</system:Double>
    <Thickness x:Key="MapCommandBarMargin">6 0</Thickness>
    <Thickness x:Key="MapZoomBarMargin">6 0</Thickness>
    <system:Double x:Key="MapDropDownHeight">200</system:Double>
    <Thickness x:Key="MapZoomPresetsPanelMargin">35 35 0 35</Thickness>
    <system:Double x:Key="MapNavigationSize">74</system:Double>
    <SolidColorBrush x:Key="MapArrowShadow" Color="White"/>
    <Visibility x:Key="MapArrowVisibility">Visible</Visibility>
    <Visibility x:Key="MapNavigationCenterEllipseVisibility">Collapsed</Visibility>
    <SolidColorBrush x:Key="MapNavigationCenterOuterEllipseStroke" Color="Transparent"/>
    <SolidColorBrush x:Key="MapNavigationCenterEllipseBackground" Color="Transparent"/>
    <SolidColorBrush x:Key="MapNavigationCenterEllipseStroke" Color="Transparent"/>
    <system:Double x:Key="MapEyePathShadowStrokeThickness">2</system:Double>
    <LinearGradientBrush x:Key="MapEyePathStroke" EndPoint="0.5,1" StartPoint="0.5,0" MappingMode="RelativeToBoundingBox">
        <GradientStop Color="#FFB1C5D8"/>
        <GradientStop Color="#FF1E395B" Offset="1"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="MapEyePathFill" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#33FFFFFF"/>
        <GradientStop Color="#B2FFFFFF" Offset="1"/>
    </LinearGradientBrush>
    <SolidColorBrush x:Key="MapEyeBigEllipseFill" Color="Transparent"/>
    <system:Double x:Key="MapEyeEllipseStrokeThickness">2</system:Double>
    <LinearGradientBrush x:Key="MapEyeEllipseStroke" EndPoint="0.5,1" StartPoint="0.5,0" MappingMode="RelativeToBoundingBox">
        <GradientStop Color="#FFA5BACE"/>
        <GradientStop Color="#FF304A6A" Offset="1"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="MapEyeEllipseFill" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFADB8C3" Offset="1"/>
        <GradientStop Color="#FF294364"/>
    </LinearGradientBrush>
    <SolidColorBrush x:Key="MapEyeSmallEllipseFill" Color="Transparent"/>
    <system:Double x:Key="MapMagnifierShadowOpacity">1</system:Double>
    <LinearGradientBrush x:Key="MapMagnifierPathStroke" EndPoint="0.5,1" StartPoint="0.5,0" MappingMode="RelativeToBoundingBox">
        <GradientStop Color="#FFB1C5D8"/>
        <GradientStop Color="#FF1E395B" Offset="1"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="MapMagnifierPathFill" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#33FFFFFF"/>
        <GradientStop Color="#B2FFFFFF" Offset="1"/>
    </LinearGradientBrush>
    <SolidColorBrush x:Key="MapMagnifierEllipseFill" Color="Transparent"/>
    <system:Double x:Key="MapMagnifierPathSize">22</system:Double>
    <Orientation x:Key="MapScaleOrientation">Horizontal</Orientation>
    <Thickness x:Key="MapScaleMargin">0 0 20 20</Thickness>
    <LinearGradientBrush x:Key="MapScaleBackground" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FF3DA3FF"/>
        <GradientStop Color="#FFC9E4FF" Offset="0.996"/>
    </LinearGradientBrush>
    <SolidColorBrush x:Key="MapScaleForeground" Color="#FF1E395B"/>
    <LinearGradientBrush x:Key="MapScaleBorderBrush" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FF8A8FAE"/>
        <GradientStop Color="#FFC4CADB" Offset="1"/>
    </LinearGradientBrush>
    <system:Double x:Key="MapScaleHeight">6</system:Double>
    <system:Double x:Key="MapScaleRadiusX">1</system:Double>
    <system:Double x:Key="MapScaleRadiusY">1</system:Double>
    <Thickness x:Key="MapScaleLabelPadding">5 3</Thickness>
    <Thickness x:Key="MapScaleLabelMargin">5 0 0 0</Thickness>
    <LinearGradientBrush x:Key="MapScaleLabelBackground" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFFDFEFF" Offset="0"/>
        <GradientStop Color="#FFDDE9F7" Offset="1"/>
        <GradientStop Color="#FFE6F0FA" Offset="0.5"/>
        <GradientStop Color="#FFDCE6F4" Offset="0.5"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="MapScaleLabelBorderBrush" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFFAFCFD" Offset="0"/>
        <GradientStop Color="#FFE4EFFB" Offset="1"/>
    </LinearGradientBrush>
    <CornerRadius x:Key="MapScaleLabelCornerRadius">10</CornerRadius>
    <SolidColorBrush x:Key="MapScaleLabelOuterBorderBrush" Color="#FFA9BFD6"/>
    <Thickness x:Key="MapScaleLabelOuterBorderThickness">1</Thickness>
    <CornerRadius x:Key="MapScaleLabelOuterCornerRadius">11</CornerRadius>
    <Thickness x:Key="MapMouseLocationMargin">20 0 0 20</Thickness>
    <HorizontalAlignment x:Key="MapMouseLocationContentAlignment">Center</HorizontalAlignment>
    <SolidColorBrush x:Key="MiniMapViewportAreaFill" Color="#6B7390B3"/>
    <SolidColorBrush x:Key="MiniMapViewportAreaStroke" Color="#7FFFFFFF"/>
    <LinearGradientBrush x:Key="MiniMapBorderBrush" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FF7B93AA" Offset="0"/>
        <GradientStop Color="#FF8DA8BE" Offset="1"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="MapPushpinBackground" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="Red"/>
        <GradientStop Color="#FF350000" Offset="1"/>
    </LinearGradientBrush>
    <SolidColorBrush x:Key="MapPushpinStroke" Color="White"/>
    <LinearGradientBrush x:Key="SliderHandleBackground_Normal" EndPoint="1,0.5" StartPoint="0,0.5">
        <GradientStop Color="#FFFDFEFF" Offset="0"/>
        <GradientStop Color="#FFE6F0FA" Offset="0.5"/>
        <GradientStop Color="#FFDCE6F4" Offset="0.5"/>
        <GradientStop Color="#FFDDE9F7" Offset="1"/>
    </LinearGradientBrush>
    <Thickness x:Key="SliderMargin">3 0 0 0</Thickness>
    <system:Double x:Key="SliderButtonWidth">26</system:Double>
    <system:Double x:Key="SliderButtonHeight">36</system:Double>
    <Thickness x:Key="SliderButtonMargin">3 0</Thickness>
    <system:Double x:Key="SliderButtonOpacity">1</system:Double>
    <LinearGradientBrush x:Key="SliderHandleOuterBorder_Normal" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFA9BFD6"/>
        <GradientStop Color="#FFCDDAEA" Offset="1"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="SliderHandleInnerBorder_Normal" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFFAFCFD" Offset="0"/>
        <GradientStop Color="#FFE4EFFB" Offset="1"/>
    </LinearGradientBrush>
    <CornerRadius x:Key="SliderHandleOuterBorder_CornerRadius">3</CornerRadius>
    <CornerRadius x:Key="SliderHandleInnerBorder_CornerRadius">2</CornerRadius>
    <ControlTemplate x:Key="ToggleTemplate" TargetType="telerikControls:RadToggleButton">
        <ContentPresenter x:Name="Content"
                Content="{TemplateBinding Content}"
                ContentTemplate="{TemplateBinding ContentTemplate}"
                VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
                HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"/>
    </ControlTemplate>
    <ControlTemplate x:Key="ExpanderTemplate" TargetType="telerikControls:RadExpander">
        <Grid HorizontalAlignment="{TemplateBinding HorizontalAlignment}" VerticalAlignment="{TemplateBinding VerticalAlignment}">
            <VisualStateManager.VisualStateGroups>
                <VisualStateGroup x:Name="CommonStateGroup">
                    <VisualState x:Name="Normal"/>
                </VisualStateGroup>
                <VisualStateGroup x:Name="HeaderStateGroup">
                    <VisualState x:Name="NormalHeader"/>
                    <VisualState x:Name="MouseOverHeader">
                        <Storyboard>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="OuterRectangle" Storyboard.TargetProperty="Stroke" Duration="0">
                                <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource ControlOuterBorder_MouseOver}"/>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="InnerRectangle" Storyboard.TargetProperty="Stroke" Duration="0">
                                <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource ControlInnerBorder_MouseOver}"/>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="InnerRectangle" Storyboard.TargetProperty="Fill" Duration="0">
                                <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource ControlBackground_MouseOver}"/>
                            </ObjectAnimationUsingKeyFrames>
                        </Storyboard>
                    </VisualState>
                </VisualStateGroup>
                <VisualStateGroup x:Name="HeaderOrientationGroup">
                    <VisualState x:Name="HorizontalOrientation">
                        <Storyboard>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="HeaderContentTransform" Storyboard.TargetProperty="LayoutTransform">
                                <DiscreteObjectKeyFrame KeyTime="0">
                                    <DiscreteObjectKeyFrame.Value>
                                        <RotateTransform Angle="0"/>
                                    </DiscreteObjectKeyFrame.Value>
                                </DiscreteObjectKeyFrame>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="HeaderContentTransform" Storyboard.TargetProperty="(Grid.Column)">
                                <DiscreteObjectKeyFrame KeyTime="0">
                                    <DiscreteObjectKeyFrame.Value>
                                        <system:Int32>1</system:Int32>
                                    </DiscreteObjectKeyFrame.Value>
                                </DiscreteObjectKeyFrame>
                            </ObjectAnimationUsingKeyFrames>
                        </Storyboard>
                    </VisualState>
                </VisualStateGroup>
                <VisualStateGroup x:Name="ExpandStateGroup">
                    <VisualState x:Name="Expanded">
                        <Storyboard>
                            <DoubleAnimation Storyboard.TargetName="expanderArrow" Storyboard.TargetProperty="(FrameworkElement.RenderTransform).Angle" To="180" Duration="0:0:0.2"/>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="OuterRectangle" Storyboard.TargetProperty="StrokeThickness" Duration="0">
                                <DiscreteObjectKeyFrame KeyTime="0">
                                    <DiscreteObjectKeyFrame.Value>
                                        <system:Double>0</system:Double>
                                    </DiscreteObjectKeyFrame.Value>
                                </DiscreteObjectKeyFrame>
                            </ObjectAnimationUsingKeyFrames>
                        </Storyboard>
                    </VisualState>
                    <VisualState x:Name="Collapsed">
                        <Storyboard>
                            <DoubleAnimation Storyboard.TargetName="expanderArrow" Storyboard.TargetProperty="(FrameworkElement.RenderTransform).Angle" To="0" Duration="0:0:0.2"/>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="OuterRectangle" Storyboard.TargetProperty="StrokeThickness" Duration="0:0:0.2">
                                <DiscreteObjectKeyFrame KeyTime="0:0:0.2">
                                    <DiscreteObjectKeyFrame.Value>
                                        <system:Double>1</system:Double>
                                    </DiscreteObjectKeyFrame.Value>
                                </DiscreteObjectKeyFrame>
                            </ObjectAnimationUsingKeyFrames>
                        </Storyboard>
                    </VisualState>
                </VisualStateGroup>
                <VisualStateGroup x:Name="ExpandDirectionStates">
                    <VisualStateGroup.Transitions>
                        <VisualTransition>
                            <Storyboard>
                                <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Content" Storyboard.TargetProperty="(Grid.Column)">
                                    <DiscreteObjectKeyFrame KeyTime="0">
                                        <DiscreteObjectKeyFrame.Value>
                                            <system:Int32>0</system:Int32>
                                        </DiscreteObjectKeyFrame.Value>
                                    </DiscreteObjectKeyFrame>
                                </ObjectAnimationUsingKeyFrames>
                                <ObjectAnimationUsingKeyFrames Storyboard.TargetName="HeaderButton" Storyboard.TargetProperty="(Grid.Row)">
                                    <DiscreteObjectKeyFrame KeyTime="0">
                                        <DiscreteObjectKeyFrame.Value>
                                            <system:Int32>0</system:Int32>
                                        </DiscreteObjectKeyFrame.Value>
                                    </DiscreteObjectKeyFrame>
                                </ObjectAnimationUsingKeyFrames>
                                <ObjectAnimationUsingKeyFrames Storyboard.TargetName="HeaderButton" Storyboard.TargetProperty="(Grid.Column)">
                                    <DiscreteObjectKeyFrame KeyTime="0">
                                        <DiscreteObjectKeyFrame.Value>
                                            <system:Int32>0</system:Int32>
                                        </DiscreteObjectKeyFrame.Value>
                                    </DiscreteObjectKeyFrame>
                                </ObjectAnimationUsingKeyFrames>
                                <ObjectAnimationUsingKeyFrames Storyboard.TargetName="col0" Storyboard.TargetProperty="Width">
                                    <DiscreteObjectKeyFrame KeyTime="0">
                                        <DiscreteObjectKeyFrame.Value>
                                            <GridLength>Auto</GridLength>
                                        </DiscreteObjectKeyFrame.Value>
                                    </DiscreteObjectKeyFrame>
                                </ObjectAnimationUsingKeyFrames>
                                <ObjectAnimationUsingKeyFrames Storyboard.TargetName="col1" Storyboard.TargetProperty="Width">
                                    <DiscreteObjectKeyFrame KeyTime="0">
                                        <DiscreteObjectKeyFrame.Value>
                                            <GridLength>Auto</GridLength>
                                        </DiscreteObjectKeyFrame.Value>
                                    </DiscreteObjectKeyFrame>
                                </ObjectAnimationUsingKeyFrames>
                            </Storyboard>
                        </VisualTransition>
                    </VisualStateGroup.Transitions>
                    <VisualState x:Name="DirectionDown">
                        <Storyboard>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="col0" Storyboard.TargetProperty="Width">
                                <DiscreteObjectKeyFrame KeyTime="0">
                                    <DiscreteObjectKeyFrame.Value>
                                        <GridLength>*</GridLength>
                                    </DiscreteObjectKeyFrame.Value>
                                </DiscreteObjectKeyFrame>
                            </ObjectAnimationUsingKeyFrames>
                        </Storyboard>
                    </VisualState>
                </VisualStateGroup>
            </VisualStateManager.VisualStateGroups>
            <Border x:Name="BorderWrapper"
                    BorderBrush="{TemplateBinding BorderBrush}"
                    BorderThickness="{TemplateBinding BorderThickness}"
                    Background="{TemplateBinding Background}"
                    CornerRadius="0">
                <Grid>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition x:Name="col0" Width="Auto"/>
                        <ColumnDefinition x:Name="col1" Width="Auto"/>
                    </Grid.ColumnDefinitions>
                    <ContentPresenter x:Name="Content"
                            Margin="{TemplateBinding Padding}"
                            Visibility="Collapsed"
                            Content="{TemplateBinding Content}"
                            ContentTemplate="{TemplateBinding ContentTemplate}"
                            HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
                            VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
                    <telerikControls:RadToggleButton x:Name="HeaderButton"
                            IsTabStop="{TemplateBinding IsTabStop}"
                            TabIndex="{TemplateBinding TabIndex}"
                            HorizontalAlignment="{TemplateBinding HorizontalHeaderAlignment}"
                            VerticalAlignment="{TemplateBinding VerticalHeaderAlignment}"
                            HorizontalContentAlignment="{TemplateBinding HorizontalHeaderAlignment}"
                            VerticalContentAlignment="{TemplateBinding VerticalHeaderAlignment}"
                            Template="{StaticResource ToggleTemplate}"
                            Background="Transparent"
                            IsChecked="{Binding Path=IsExpanded, RelativeSource={RelativeSource TemplatedParent}, Mode=TwoWay}"
                            ClickMode="{TemplateBinding ClickMode}"
                            FontSize="{TemplateBinding FontSize}"
                            FontStyle="{TemplateBinding FontStyle}"
                            FontWeight="{TemplateBinding FontWeight}"
                            FontFamily="{TemplateBinding FontFamily}"
                            FontStretch="{TemplateBinding FontStretch}"
                            Foreground="{TemplateBinding Foreground}"
                            FocusVisualStyle="{x:Null}">
                        <Grid x:Name="HeaderPanel" Background="Transparent">
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto"/>
                                <RowDefinition Height="*"/>
                            </Grid.RowDefinitions>
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto"/>
                                <ColumnDefinition Width="*"/>
                            </Grid.ColumnDefinitions>
                            <Grid Grid.Column="0" Grid.Row="0">
                                <Rectangle x:Name="OuterRectangle" Width="20" Height="20" Stroke="{StaticResource MapToggleButtonBorderBrush}" HorizontalAlignment="Center" VerticalAlignment="Center"/>
                                <Rectangle x:Name="InnerRectangle"
                                        Width="18"
                                        Height="18"
                                        Fill="{StaticResource MapButtonBackground}"
                                        Stroke="{StaticResource MapToggleButtonInnerBorderBrush}"
                                        StrokeThickness="2"
                                        HorizontalAlignment="Center"
                                        VerticalAlignment="Center"/>
                                <Path x:Name="expanderArrow"
                                        Data="M0,0 0,6 6,6 z"
                                        Fill="{TemplateBinding Foreground}"
                                        RenderTransformOrigin="0.5,0.5"
                                        Stretch="None"
                                        HorizontalAlignment="Center"
                                        VerticalAlignment="Center">
                                    <Path.RenderTransform>
                                        <RotateTransform/>
                                    </Path.RenderTransform>
                                </Path>
                            </Grid>
                            <telerikPrimitives:LayoutTransformControl RenderTransformOrigin=".5 .5" x:Name="HeaderContentTransform" Grid.Column="0" Grid.Row="0">
                                <ContentPresenter x:Name="HeaderContent"
                                        Grid.Column="1"
                                        VerticalAlignment="Stretch"
                                        HorizontalAlignment="Stretch"
                                        Content="{TemplateBinding Header}"
                                        ContentTemplate="{TemplateBinding HeaderTemplate}"/>
                            </telerikPrimitives:LayoutTransformControl>
                        </Grid>
                    </telerikControls:RadToggleButton>
                </Grid>
            </Border>
        </Grid>
    </ControlTemplate>
    <Style x:Key="MapExpanderStyle" TargetType="telerikControls:RadExpander">
        <Setter Property="IsTabStop" Value="false"/>
        <Setter Property="HorizontalContentAlignment" Value="Stretch"/>
        <Setter Property="VerticalContentAlignment" Value="Stretch"/>
        <Setter Property="BorderBrush" Value="{StaticResource Expander_BorderBrush}"/>
        <Setter Property="BorderThickness" Value="{StaticResource Expander_BorderThickness}"/>
        <Setter Property="FocusVisualStyle" Value="{x:Null}"/>
        <Setter Property="Template" Value="{StaticResource ExpanderTemplate}"/>
        <Setter Property="Foreground" Value="{StaticResource MapButtonForeground}"/>
        <Setter Property="Background" Value="{StaticResource Expander_Background}"/>
        <Setter Property="Padding" Value="0"/>
        <Setter Property="animation:AnimationManager.AnimationSelector">
            <Setter.Value>
                <animation:AnimationSelector>
                    <animation:ExpanderExpandCollapseAnimation AnimationName="Expand" Direction="In" SpeedRatio="2" TargetElementName="Content"/>
                    <animation:ExpanderExpandCollapseAnimation AnimationName="Collapse" Direction="Out" SpeedRatio="2" TargetElementName="Content"/>
                </animation:AnimationSelector>
            </Setter.Value>
        </Setter>
    </Style>
    <ControlTemplate x:Key="DecreaseHandleRepeatButtonTemplate" TargetType="RepeatButton">
        <Grid x:Name="Root">
            <VisualStateManager.VisualStateGroups>
                <VisualStateGroup x:Name="CommonStates">
                    <VisualState x:Name="Normal"/>
                    <VisualState x:Name="MouseOver">
                        <Storyboard>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Path" Storyboard.TargetProperty="Fill">
                                <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource ControlElement_MouseOver}"/>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" Storyboard.TargetProperty="BorderBrush" Duration="0:0:0">
                                <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{StaticResource ControlOuterBorderVertical_MouseOver}"/>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" Storyboard.TargetProperty="Background" Duration="0:0:0">
                                <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{StaticResource ControlBackgroundVertical_MouseOver}"/>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="InnerBorder" Storyboard.TargetProperty="BorderBrush" Duration="0:0:0">
                                <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{StaticResource ControlInnerBorderVertical_MouseOver}"/>
                            </ObjectAnimationUsingKeyFrames>
                        </Storyboard>
                    </VisualState>
                    <VisualState x:Name="Pressed">
                        <Storyboard>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Path" Storyboard.TargetProperty="Fill">
                                <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource ControlElement_Pressed}"/>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" Storyboard.TargetProperty="BorderBrush" Duration="0:0:0">
                                <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{StaticResource ControlOuterBorderVertical_Pressed}"/>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" Storyboard.TargetProperty="Background" Duration="0:0:0">
                                <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{StaticResource ControlBackgroundVertical_Pressed}"/>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="InnerBorder" Storyboard.TargetProperty="BorderBrush" Duration="0:0:0">
                                <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{StaticResource ControlInnerBorderVertical_Pressed}"/>
                            </ObjectAnimationUsingKeyFrames>
                        </Storyboard>
                    </VisualState>
                </VisualStateGroup>
            </VisualStateManager.VisualStateGroups>
            <Border x:Name="Border"
                    CornerRadius="{StaticResource SliderHandleOuterBorder_CornerRadius}"
                    BorderBrush="{TemplateBinding BorderBrush}"
                    BorderThickness="{TemplateBinding BorderThickness}"
                    Background="{TemplateBinding Background}">
                <Border x:Name="InnerBorder"
                        BorderThickness="1"
                        CornerRadius="{StaticResource SliderHandleInnerBorder_CornerRadius}"
                        BorderBrush="{StaticResource SliderHandleInnerBorder_Normal}"/>
            </Border>
            <Path x:Name="Path"
                    Stretch="Fill"
                    HorizontalAlignment="Center"
                    VerticalAlignment="Center"
                    Width="2"
                    Height="9"
                    Data="M0,0 L0,8 8,8 8,0 z"
                    Fill="{StaticResource ControlElement_Normal}"
                    SnapsToDevicePixels="True"/>
        </Grid>
    </ControlTemplate>
    <ControlTemplate x:Key="IncreaseHandleRepeatButtonTemplate" TargetType="RepeatButton">
        <Grid x:Name="Root">
            <VisualStateManager.VisualStateGroups>
                <VisualStateGroup x:Name="CommonStates">
                    <VisualState x:Name="Normal"/>
                    <VisualState x:Name="MouseOver">
                        <Storyboard>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Path" Storyboard.TargetProperty="Fill">
                                <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource ControlElement_MouseOver}"/>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" Storyboard.TargetProperty="BorderBrush" Duration="0:0:0">
                                <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{StaticResource ControlOuterBorderVertical_MouseOver}"/>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" Storyboard.TargetProperty="Background" Duration="0:0:0">
                                <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{StaticResource ControlBackgroundVertical_MouseOver}"/>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="InnerBorder" Storyboard.TargetProperty="BorderBrush" Duration="0:0:0">
                                <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{StaticResource ControlInnerBorderVertical_MouseOver}"/>
                            </ObjectAnimationUsingKeyFrames>
                        </Storyboard>
                    </VisualState>
                    <VisualState x:Name="Pressed">
                        <Storyboard>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Path" Storyboard.TargetProperty="Fill">
                                <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource ControlElement_Pressed}"/>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" Storyboard.TargetProperty="BorderBrush" Duration="0:0:0">
                                <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{StaticResource ControlOuterBorderVertical_Pressed}"/>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" Storyboard.TargetProperty="Background" Duration="0:0:0">
                                <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{StaticResource ControlBackgroundVertical_Pressed}"/>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="InnerBorder" Storyboard.TargetProperty="BorderBrush" Duration="0:0:0">
                                <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{StaticResource ControlInnerBorderVertical_Pressed}"/>
                            </ObjectAnimationUsingKeyFrames>
                        </Storyboard>
                    </VisualState>
                </VisualStateGroup>
            </VisualStateManager.VisualStateGroups>
            <Border x:Name="Border"
                    CornerRadius="{StaticResource SliderHandleOuterBorder_CornerRadius}"
                    BorderBrush="{TemplateBinding BorderBrush}"
                    BorderThickness="{TemplateBinding BorderThickness}"
                    Background="{TemplateBinding Background}">
                <Border x:Name="InnerBorder"
                        BorderThickness="1"
                        CornerRadius="{StaticResource SliderHandleInnerBorder_CornerRadius}"
                        BorderBrush="{StaticResource SliderHandleInnerBorder_Normal}"/>
            </Border>
            <Path x:Name="Path"
                    Stretch="Fill"
                    HorizontalAlignment="Center"
                    VerticalAlignment="Center"
                    Width="9"
                    Height="9"
                    Data="M3,0 L5,0 5,3 8,3 8,5 5,5 5,8 3,8 3,5 0,5 0,3 3,3 z"
                    Fill="{StaticResource ControlElement_Normal}"
                    SnapsToDevicePixels="True"/>
        </Grid>
    </ControlTemplate>
    <Style x:Key="MapHandleStyle" TargetType="RepeatButton">
        <Setter Property="BorderThickness" Value="1"/>
        <Setter Property="BorderBrush" Value="{StaticResource SliderHandleOuterBorder_Normal}"/>
        <Setter Property="Opacity" Value="{StaticResource SliderButtonOpacity}"/>
        <Setter Property="Background" Value="{StaticResource SliderHandleBackground_Normal}"/>
        <Setter Property="Width" Value="{StaticResource SliderButtonWidth}"/>
        <Setter Property="Height" Value="{StaticResource SliderButtonHeight}"/>
        <Setter Property="Margin" Value="{StaticResource SliderButtonMargin}"/>
        <Setter Property="RenderTransformOrigin" Value="0.5,0.5"/>
        <Setter Property="RenderTransform">
            <Setter.Value>
                <ScaleTransform ScaleX="-1" ScaleY="1"/>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="Map_IncreaseHandleStyle" TargetType="RepeatButton" BasedOn="{StaticResource MapHandleStyle}">
        <Setter Property="Template" Value="{StaticResource IncreaseHandleRepeatButtonTemplate}"/>
    </Style>
    <Style x:Key="Map_DecreaseHandleStyle" TargetType="RepeatButton" BasedOn="{StaticResource MapHandleStyle}">
        <Setter Property="Template" Value="{StaticResource DecreaseHandleRepeatButtonTemplate}"/>
    </Style>
    <Style x:Key="Map_ThumbStyle" TargetType="Thumb">
        <Setter Property="Width" Value="10"/>
        <Setter Property="Height" Value="20"/>
        <Setter Property="IsTabStop" Value="True"/>
        <Setter Property="BorderThickness" Value="1"/>
        <Setter Property="BorderBrush" Value="{StaticResource SliderThumb_OuterBorder_Normal}"/>
        <Setter Property="Background" Value="{StaticResource ControlBackground_Normal}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="Thumb">
                    <Grid>
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="CommonStates">
                                <VisualState x:Name="Normal"/>
                                <VisualState x:Name="MouseOver">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" Storyboard.TargetProperty="BorderBrush" Duration="0:0:0">
                                            <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{StaticResource ControlOuterBorder_MouseOver}"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="InnerBorder" Storyboard.TargetProperty="BorderBrush" Duration="0:0:0">
                                            <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{StaticResource ControlInnerBorder_MouseOver}"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" Storyboard.TargetProperty="Background" Duration="0:0:0">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource ControlBackground_MouseOver}"/>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Pressed">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" Storyboard.TargetProperty="BorderBrush" Duration="0:0:0">
                                            <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{StaticResource ControlOuterBorder_Pressed}"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="InnerBorder" Storyboard.TargetProperty="BorderBrush" Duration="0:0:0">
                                            <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{StaticResource ControlInnerBorder_Pressed}"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" Storyboard.TargetProperty="Background" Duration="0:0:0">
                                            <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{StaticResource ControlBackground_Pressed}"/>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                        <Border x:Name="Border"
                                BorderThickness="{TemplateBinding BorderThickness}"
                                CornerRadius="{StaticResource ControlOuterBorder_CornerRadius}"
                                BorderBrush="{TemplateBinding BorderBrush}"
                                Background="{TemplateBinding Background}">
                            <Border x:Name="InnerBorder"
                                    BorderThickness="{TemplateBinding BorderThickness}"
                                    CornerRadius="{StaticResource ControlInnerBorder_CornerRadius}"
                                    BorderBrush="{StaticResource ControlInnerBorder_Normal}"/>
                        </Border>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="Map_TrackStyle" TargetType="ContentControl">
        <Setter Property="Height" Value="6"/>
        <Setter Property="IsTabStop" Value="False"/>
        <Setter Property="BorderThickness" Value="{StaticResource SliderOuterBorderTrack_BorderThickness}"/>
        <Setter Property="BorderBrush" Value="{StaticResource SliderOuterBorderTrack}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="ContentControl">
                    <Border CornerRadius="{StaticResource SliderOuterBorderTrack_CornerRadius}" BorderThickness="{TemplateBinding BorderThickness}" BorderBrush="{TemplateBinding BorderBrush}">
                        <Border
                                CornerRadius="{StaticResource SliderInnerBorderTrack_CornerRadius}"
                                BorderThickness="{StaticResource SliderInnerBorderTrack_BorderThickness}"
                                BorderBrush="{StaticResource SliderInnerBorderTrack}"
                                Background="{TemplateBinding Background}"/>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="MapSlider" TargetType="telerikControls:RadSlider" BasedOn="{StaticResource RadSliderStyle}">
        <Setter Property="Background" Value="{StaticResource SliderBackgroundTrack}"/>
        <Setter Property="Margin" Value="{StaticResource SliderMargin}"/>
        <Setter Property="Orientation" Value="Vertical"/>
        <Setter Property="HorizontalAlignment" Value="Left"/>
        <Setter Property="VerticalAlignment" Value="Stretch"/>
        <Setter Property="IsSnapToTickEnabled" Value="True"/>
        <Setter Property="TickPlacement" Value="None"/>
        <Setter Property="TickFrequency" Value="1"/>
        <Setter Property="HandlesVisibility" Value="Visible"/>
        <Setter Property="ThumbStyle" Value="{StaticResource Map_ThumbStyle}"/>
        <Setter Property="TrackStyle" Value="{StaticResource Map_TrackStyle}"/>
        <Setter Property="IncreaseHandleStyle" Value="{StaticResource Map_IncreaseHandleStyle}"/>
        <Setter Property="DecreaseHandleStyle" Value="{StaticResource Map_DecreaseHandleStyle}"/>
    </Style>
    <DataTemplate x:Key="MapShapeDataTemplate">
        <Canvas x:Name="PART_ShapeCanvas"/>
    </DataTemplate>
    <Style x:Key="RadMapStyle" TargetType="datavizControls:RadMap">
        <Setter Property="Background" Value="{StaticResource MapBackground}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="datavizControls:RadMap">
                    <Grid x:Name="PART_LayoutRoot">
                        <maps:MultiScaleImage x:Name="PART_MasterImage"/>
                        <maps:TilesVisualizationLayer x:Name="PART_TilesVisualizationLayer" Background="{TemplateBinding Background}" Grid.RowSpan="2"/>
                        <ItemsPresenter Grid.RowSpan="2"/>
                        <maps:MouseControl x:Name="PART_MouseControl" Grid.RowSpan="2"/>
                        <Grid VerticalAlignment="Bottom" Background="{StaticResource MapRibbonBackground}">
                            <maps:MapScale x:Name="PART_MapScale" DistanceUnit="{TemplateBinding DistanceUnit}" Visibility="Collapsed"/>
                            <maps:MapMouseLocationIndicator x:Name="PART_MapMouseLocationIndicator" Visibility="Collapsed"/>
                        </Grid>
                        <Grid VerticalAlignment="Bottom" Margin="{StaticResource MapDefaultLayoutMargin}" HorizontalAlignment="Center">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto"/>
                                <ColumnDefinition Width="Auto"/>
                                <ColumnDefinition Width="Auto"/>
                            </Grid.ColumnDefinitions>
                            <Border x:Name="PART_DefaultLayoutDecorator" Grid.ColumnSpan="3" Style="{StaticResource MapDefaultLayoutBorderStyle}" Visibility="Collapsed">
                                <Border x:Name="PART_DefaultLayoutInnerDecorator"
                                        BorderThickness="1"
                                        BorderBrush="{StaticResource MapDefaultLayoutBorderBrush}"
                                        CornerRadius="{StaticResource MapDefaultLayoutCornerRadius}"/>
                            </Border>
                            <maps:MapCommandBar x:Name="PART_MapCommandBar" VerticalAlignment="Center" Visibility="Collapsed" Margin="{StaticResource MapCommandBarMargin}" HorizontalAlignment="Right"/>
                            <maps:MapNavigation x:Name="PART_MapNavigation" Grid.Column="1" VerticalAlignment="Center" Visibility="Collapsed"/>
                            <maps:MapZoomBar x:Name="PART_MapZoomBar" VerticalAlignment="Center" Visibility="Collapsed" Grid.Column="2" Margin="{StaticResource MapZoomBarMargin}" HorizontalAlignment="Left"/>
                        </Grid>
                        <telerik:RadExpander x:Name="PART_MiniMapExpander"
                                Visibility="Collapsed"
                                IsExpanded="{TemplateBinding IsMiniMapExpanded}"
                                VerticalAlignment="Top"
                                HorizontalAlignment="Right"
                                HorizontalHeaderAlignment="Right"
                                VerticalHeaderAlignment="Top"
                                Style="{StaticResource MapExpanderStyle}">
                            <Border
                                    HorizontalAlignment="Stretch"
                                    VerticalAlignment="Stretch"
                                    BorderThickness="1"
                                    Padding="2"
                                    Width="{TemplateBinding MiniMapWidth}"
                                    Height="{TemplateBinding MiniMapHeight}"
                                    BorderBrush="{StaticResource MiniMapBorderBrush}"
                                    Background="White">
                                <maps:MiniMap x:Name="PART_MiniMap"/>
                            </Border>
                        </telerik:RadExpander>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="ItemsPanel">
            <Setter.Value>
                <ItemsPanelTemplate>
                    <Grid/>
                </ItemsPanelTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="datavizControls:RadMap" BasedOn="{StaticResource RadMapStyle}"/>
    <Style x:Key="MiniMapStyle" TargetType="maps:MiniMap">
        <Setter Property="Background" Value="White"/>
        <Setter Property="ViewportAreaFill" Value="{StaticResource MiniMapViewportAreaFill}"/>
        <Setter Property="ViewportAreaStroke" Value="{StaticResource MiniMapViewportAreaStroke}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="maps:MiniMap">
                    <Grid x:Name="PART_LayoutRoot">
                        <maps:MultiScaleImage x:Name="PART_MasterImage"/>
                        <maps:TilesVisualizationLayer x:Name="PART_TilesVisualizationLayer" Background="{TemplateBinding Background}"/>
                        <ItemsPresenter/>
                        <maps:MouseControl x:Name="PART_MouseControl"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="ItemsPanel">
            <Setter.Value>
                <ItemsPanelTemplate>
                    <Grid/>
                </ItemsPanelTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="maps:MiniMap" BasedOn="{StaticResource MiniMapStyle}"/>
    <Style x:Key="TilesVisualizationLayerStyle" TargetType="maps:TilesVisualizationLayer">
        <Setter Property="IsTabStop" Value="False"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="maps:TilesVisualizationLayer">
                    <Border Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}">
                        <Grid x:Name="PART_ContentGrid">
                            <Canvas>
                                <ItemsPresenter x:Name="PART_ItemsPresenter"/>
                            </Canvas>
                        </Grid>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="ItemsPanel">
            <Setter.Value>
                <ItemsPanelTemplate>
                    <maps:MapCanvas/>
                </ItemsPanelTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="InformationLayerStyle" TargetType="maps:InformationLayer">
        <Setter Property="IsTabStop" Value="False"/>
        <Setter Property="DefaultInformationLayerTemplate">
            <Setter.Value>
                <DataTemplate>
                    <maps:Pushpin/>
                </DataTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="MapShapeDataTemplate">
            <Setter.Value>
                <DataTemplate>
                    <Canvas x:Name="PART_ShapeCanvas"/>
                </DataTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="maps:InformationLayer">
                    <Border Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}">
                        <Grid>
                            <Canvas>
                                <ItemsPresenter x:Name="PART_ItemsPresenter"/>
                            </Canvas>
                        </Grid>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="ItemsPanel">
            <Setter.Value>
                <ItemsPanelTemplate>
                    <maps:MapCanvas/>
                </ItemsPanelTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="DynamicLayerStyle" TargetType="maps:DynamicLayer">
        <Setter Property="IsTabStop" Value="False"/>
        <Setter Property="DefaultInformationLayerTemplate">
            <Setter.Value>
                <DataTemplate>
                    <maps:Pushpin/>
                </DataTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="MapShapeDataTemplate">
            <Setter.Value>
                <DataTemplate>
                    <Canvas x:Name="PART_ShapeCanvas"/>
                </DataTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="maps:DynamicLayer">
                    <Border Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}">
                        <Grid>
                            <Canvas>
                                <ItemsPresenter x:Name="PART_ItemsPresenter"/>
                            </Canvas>
                        </Grid>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="ItemsPanel">
            <Setter.Value>
                <ItemsPanelTemplate>
                    <maps:MapCanvas/>
                </ItemsPanelTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="VirtualizationLayerStyle" TargetType="maps:VirtualizationLayer">
        <Setter Property="IsTabStop" Value="False"/>
        <Setter Property="DefaultInformationLayerTemplate">
            <Setter.Value>
                <DataTemplate>
                    <maps:Pushpin/>
                </DataTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="MapShapeDataTemplate">
            <Setter.Value>
                <DataTemplate>
                    <Canvas x:Name="PART_ShapeCanvas"/>
                </DataTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="maps:VirtualizationLayer">
                    <Border Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}">
                        <Grid>
                            <Canvas>
                                <ItemsPresenter x:Name="PART_ItemsPresenter"/>
                            </Canvas>
                        </Grid>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="ItemsPanel">
            <Setter.Value>
                <ItemsPanelTemplate>
                    <maps:MapCanvas/>
                </ItemsPanelTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="VisualizationLayerStyle" TargetType="maps:VisualizationLayer">
        <Setter Property="IsTabStop" Value="False"/>
        <Setter Property="DefaultClusterTemplate">
            <Setter.Value>
                <DataTemplate>
                    <Grid x:Name="ParentRoot" Width="40" Height="25" maps:MapLayer.HotSpot="0.5,1">
                        <Path
                                Width="{Binding Width,ElementName=ParentRoot}"
                                Height="{Binding Height,ElementName=ParentRoot}"
                                Data="M978.6,491.3L958.6,491.3L954.4,500.8L949.9,491.3L930.6,491.3C928.4,491.3,926.6,489.5,926.6,487.3L926.6,433.2C926.6,431.0,928.4,429.2,930.6,429.2L978.6,429.2C980.8,429.2,982.6,431.0,982.6,433.2L982.6,487.3C982.6,489.5,980.8,491.3,978.6,491.3z"
                                StrokeStartLineCap="Flat"
                                Stretch="Fill"
                                StrokeEndLineCap="Flat"
                                Stroke="White"
                                StrokeThickness="1"
                                StrokeMiterLimit="10"
                                StrokeLineJoin="Miter"
                                Fill="#7F000000"/>
                        <StackPanel Margin="5 2 5 5">
                            <TextBlock Foreground="White" HorizontalAlignment="Center" Text="{Binding Path=Count}"/>
                        </StackPanel>
                    </Grid>
                </DataTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="DefaultItemTemplate">
            <Setter.Value>
                <DataTemplate>
                    <maps:Pushpin/>
                </DataTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="DefaultKmlItemTemplate">
            <Setter.Value>
                <DataTemplate>
                    <StackPanel x:Name="PART_Panel"
                            Orientation="Horizontal"
                            maps:MapLayer.Location="{Binding Location}"
                            maps:MapLayer.HotSpot="{Binding HotSpot}"
                            ToolTipService.ToolTip="{Binding ToolTip}">
                        <Image x:Name="PART_Image" Stretch="None" Visibility="{Binding ImageVisibility}" Source="{Binding ImageSource}" RenderTransform="{Binding ImageTransform}"/>
                        <TextBlock x:Name="PART_Text" Margin="2 0 0 0" VerticalAlignment="Center" Text="{Binding Text}"/>
                    </StackPanel>
                </DataTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="ShapeTemplate">
            <Setter.Value>
                <DataTemplate>
                    <Path x:Name="PART_RangePath"
                            Fill="{Binding ActiveShapeFill.Fill}"
                            Stroke="{Binding ActiveShapeFill.Stroke}"
                            StrokeDashArray="{Binding ActiveShapeFill.StrokeDashArray}"
                            StrokeDashCap="{Binding ActiveShapeFill.StrokeDashCap}"
                            StrokeDashOffset="{Binding ActiveShapeFill.StrokeDashOffset}"
                            StrokeEndLineCap="{Binding ActiveShapeFill.StrokeEndLineCap}"
                            StrokeLineJoin="{Binding ActiveShapeFill.StrokeLineJoin}"
                            StrokeMiterLimit="{Binding ActiveShapeFill.StrokeMiterLimit}"
                            StrokeStartLineCap="{Binding ActiveShapeFill.StrokeStartLineCap}"
                            StrokeThickness="{Binding ActiveShapeFill.StrokeThickness}"
                            Data="{Binding Path=Geometry,Mode=OneWay}"
                            RenderTransformOrigin="{Binding Path=RenderTransformOrigin,Mode=OneWay}"
                            RenderTransform="{Binding Path=Transform,Mode=OneWay}"/>
                </DataTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="maps:VisualizationLayer">
                    <Border Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}">
                        <Grid x:Name="PART_LayerRoot">
                            <Canvas x:Name="PART_CellCanvas"/>
                        </Grid>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="maps:TilesVisualizationLayer" BasedOn="{StaticResource TilesVisualizationLayerStyle}"/>
    <Style TargetType="maps:InformationLayer" BasedOn="{StaticResource InformationLayerStyle}"/>
    <Style TargetType="maps:DynamicLayer" BasedOn="{StaticResource DynamicLayerStyle}"/>
    <Style TargetType="maps:VirtualizationLayer" BasedOn="{StaticResource VirtualizationLayerStyle}"/>
    <Style TargetType="maps:VisualizationLayer" BasedOn="{StaticResource VisualizationLayerStyle}"/>
    <Style x:Key="MouseControlStyle" TargetType="maps:MouseControl">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="maps:MouseControl">
                    <Canvas>
                        <Rectangle x:Name="PART_PixelBox"
                                Fill="#3E1157DC"
                                Stroke="#FF0781F7"
                                StrokeDashArray="20 8"
                                StrokeEndLineCap="Round"
                                StrokeDashCap="Round"
                                StrokeThickness="1.5"
                                RadiusY="8"
                                RadiusX="8"
                                Visibility="Collapsed"/>
                    </Canvas>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="maps:MouseControl" BasedOn="{StaticResource MouseControlStyle}"/>
    <Style x:Key="MapArrowStyle" TargetType="maps:Arrow">
        <Setter Property="IsTabStop" Value="False"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate>
                    <Grid HorizontalAlignment="Center" VerticalAlignment="Center">
                        <Path
                                Width="8"
                                Height="4"
                                Data="M0,0 L7,0 7,1 6,1 6,2 5,2 5,3 4,3 4,4 3,4 3,3 2,3 2,2 1,2 1,1 0,1 z"
                                Stretch="Fill"
                                Fill="{StaticResource MapArrowShadow}"
                                RenderTransformOrigin="0.5 0.5">
                            <Path.RenderTransform>
                                <RotateTransform x:Name="PART_OuterArrowTransform"/>
                            </Path.RenderTransform>
                        </Path>
                        <Path
                                Width="8"
                                Height="4"
                                Data="M0,0 L7,0 7,1 6,1 6,2 5,2 5,3 4,3 4,4 3,4 3,3 2,3 2,2 1,2 1,1 0,1 z"
                                Stretch="Fill"
                                Fill="{TemplateBinding Foreground}"
                                Margin="0 0 0 2"
                                RenderTransformOrigin="0.5 0.5">
                            <Path.RenderTransform>
                                <RotateTransform x:Name="PART_InnerArrowTransform"/>
                            </Path.RenderTransform>
                        </Path>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="MapNavigationStyle" TargetType="maps:MapNavigation">
        <Setter Property="IsTabStop" Value="False"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="maps:MapNavigation">
                    <Grid x:Name="mapNavigation"
                            HorizontalAlignment="Center"
                            VerticalAlignment="Center"
                            Width="{StaticResource MapNavigationSize}"
                            Height="{StaticResource MapNavigationSize}">
                        <telerikControls:RadButton x:Name="PART_ArrowLeft" HorizontalAlignment="Left" Width="30" Height="30" Padding="0 0 12 0" CornerRadius="9 15 15 9">
                            <telerikControls:RadButton.Foreground>
                                <LinearGradientBrush EndPoint="1,1" StartPoint="0,0">
                                    <GradientStop Color="#FF1E395B" Offset="0.004"/>
                                    <GradientStop Color="#FFC3E4F5" Offset="1"/>
                                    <GradientStop Color="#FF4C607A" Offset="0.5"/>
                                </LinearGradientBrush>
                            </telerikControls:RadButton.Foreground>
                            <telerikControls:RadButton.Background>
                                <LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">
                                    <GradientStop Color="#FFFDFEFF" Offset="0"/>
                                    <GradientStop Color="#FFE6F0FA" Offset="0.5"/>
                                    <GradientStop Color="#FFDCE6F4" Offset="0.5"/>
                                    <GradientStop Color="#FFDDE9F7" Offset="1"/>
                                </LinearGradientBrush>
                            </telerikControls:RadButton.Background>
                            <maps:Arrow Direction="Left" Visibility="{StaticResource MapArrowVisibility}"/>
                        </telerikControls:RadButton>
                        <telerikControls:RadButton x:Name="PART_ArrowRight" HorizontalAlignment="Right" Width="30" Height="30" Padding="12 0 0 0" CornerRadius="15 9 9 15">
                            <telerikControls:RadButton.Foreground>
                                <LinearGradientBrush EndPoint="1,1" StartPoint="0,0">
                                    <GradientStop Color="#FF1E395B" Offset="0.004"/>
                                    <GradientStop Color="#FFC3E4F5" Offset="1"/>
                                    <GradientStop Color="#FF4C607A" Offset="0.5"/>
                                </LinearGradientBrush>
                            </telerikControls:RadButton.Foreground>
                            <telerikControls:RadButton.Background>
                                <LinearGradientBrush EndPoint="0,0.5" StartPoint="1,0.5">
                                    <GradientStop Color="#FFFDFEFF" Offset="0"/>
                                    <GradientStop Color="#FFDDE9F7" Offset="1"/>
                                    <GradientStop Color="#FFE6F0FA" Offset="0.5"/>
                                    <GradientStop Color="#FFDCE6F4" Offset="0.5"/>
                                </LinearGradientBrush>
                            </telerikControls:RadButton.Background>
                            <maps:Arrow Direction="Right" Visibility="{StaticResource MapArrowVisibility}"/>
                        </telerikControls:RadButton>
                        <telerikControls:RadButton x:Name="PART_ArrowUp"
                                VerticalAlignment="Top"
                                Width="30"
                                Height="30"
                                Padding="0 0 0 12"
                                CornerRadius="9 9 15 15"
                                Background="{StaticResource MapButtonBackground}"
                                Foreground="{StaticResource MapButtonForeground}">
                            <maps:Arrow Direction="Up" Visibility="{StaticResource MapArrowVisibility}"/>
                        </telerikControls:RadButton>
                        <telerikControls:RadButton x:Name="PART_ArrowDown" VerticalAlignment="Bottom" Width="30" Height="30" Padding="0 12 0 0" CornerRadius="15 15 9 9">
                            <telerikControls:RadButton.Foreground>
                                <LinearGradientBrush EndPoint="1,1" StartPoint="0,0">
                                    <GradientStop Color="#FF1E395B" Offset="0.004"/>
                                    <GradientStop Color="#FFC3E4F5" Offset="1"/>
                                    <GradientStop Color="#FF4C607A" Offset="0.5"/>
                                </LinearGradientBrush>
                            </telerikControls:RadButton.Foreground>
                            <telerikControls:RadButton.Background>
                                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                    <GradientStop Color="#FFFDFEFF" Offset="0"/>
                                    <GradientStop Color="#FFDDE9F7" Offset="1"/>
                                    <GradientStop Color="#FFE6F0FA" Offset="0.5"/>
                                    <GradientStop Color="#FFDCE6F4" Offset="0.5"/>
                                </LinearGradientBrush>
                            </telerikControls:RadButton.Background>
                            <maps:Arrow Direction="Down" Visibility="{StaticResource MapArrowVisibility}"/>
                        </telerikControls:RadButton>
                        <Ellipse
                                StrokeThickness="5"
                                Width="47"
                                Height="47"
                                VerticalAlignment="Center"
                                HorizontalAlignment="Center"
                                Fill="{StaticResource MapNavigationCenterEllipseBackground}"
                                Stroke="{StaticResource MapNavigationCenterEllipseStroke}"
                                Visibility="{StaticResource MapNavigationCenterEllipseVisibility}"
                                SnapsToDevicePixels="True"/>
                        <Ellipse
                                HorizontalAlignment="Center"
                                VerticalAlignment="Center"
                                StrokeThickness="1"
                                Height="47"
                                Width="47"
                                Stroke="{StaticResource MapNavigationCenterOuterEllipseStroke}"
                                Visibility="{StaticResource MapNavigationCenterEllipseVisibility}"
                                SnapsToDevicePixels="True"/>
                        <telerikControls:RadButton x:Name="PART_CenterButton" Opacity="0.8" Width="26" Height="26" telerik:RadButton.CornerRadius="13">
                            <telerikControls:RadButton.Foreground>
                                <LinearGradientBrush EndPoint="1,1" StartPoint="0,0">
                                    <GradientStop Color="#FF1E395B" Offset="0.004"/>
                                    <GradientStop Color="#FFC3E4F5" Offset="1"/>
                                    <GradientStop Color="#FF4C607A" Offset="0.5"/>
                                </LinearGradientBrush>
                            </telerikControls:RadButton.Foreground>
                            <telerikControls:RadButton.Background>
                                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                    <GradientStop Color="#FFFDFEFF" Offset="1"/>
                                    <GradientStop Color="#FFDCE6F4"/>
                                </LinearGradientBrush>
                            </telerikControls:RadButton.Background>
                        </telerikControls:RadButton>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="maps:Arrow" BasedOn="{StaticResource MapArrowStyle}"/>
    <Style TargetType="maps:MapNavigation" BasedOn="{StaticResource MapNavigationStyle}"/>
    <Style x:Key="MapZoomBarStyle" TargetType="maps:MapZoomBar">
        <Setter Property="IsTabStop" Value="False"/>
        <Setter Property="ZoomLevelButtonTemplate">
            <Setter.Value>
                <DataTemplate>
                    <telerik:RadRadioButton
                            Command="{Binding Path=Command}"
                            CommandParameter="{Binding Path=CommandParameter}"
                            Content="{Binding Path=Command.Text}"
                            GroupName="ZoomLevelButtons"
                            MinWidth="55"
                            Height="24"
                            Opacity="{StaticResource MapDropDownButtonOpacity}"
                            CornerRadius="{StaticResource MapButtonCornerRadius}"
                            Padding="7 0"
                            FontWeight="{StaticResource MapButtonFontWeight}"
                            FontSize="11"
                            Background="{StaticResource MapButtonBackground}"
                            BorderBrush="{StaticResource ControlOuterBorderVertical_Normal}"/>
                </DataTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="maps:MapZoomBar">
                    <Grid x:Name="mapNavigation" Background="Transparent">
                        <telerik:RadDropDownButton x:Name="PART_MapNavigationDropDown"
                                Grid.Column="1"
                                HoverDelay="0:0:0.01"
                                KeepOpen="True"
                                CloseOnEscape="True"
                                DropDownPlacement="Top"
                                DropDownIndicatorVisibility="Collapsed"
                                DropDownHeight="{StaticResource MapDropDownHeight}"
                                Width="36"
                                Height="26"
                                Padding="0"
                                CornerRadius="3"
                                BorderBrush="{StaticResource ControlOuterBorderVertical_Normal}">
                            <telerik:RadDropDownButton.Background>
                                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                    <GradientStop Color="#FFFDFEFF" Offset="0"/>
                                    <GradientStop Color="#FFDDE9F7" Offset="1"/>
                                    <GradientStop Color="#FFE6F0FA" Offset="0.5"/>
                                    <GradientStop Color="#FFDCE6F4" Offset="0.5"/>
                                </LinearGradientBrush>
                            </telerik:RadDropDownButton.Background>
                            <telerik:RadDropDownButton.DropDownContent>
                                <Grid x:Name="PART_DropDownPopupWrapper" Background="#01ffffff" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
                                    <Border
                                            BorderBrush="{StaticResource MapDropDownOuterBorderBrush}"
                                            Background="{StaticResource MapDropDownOuterBackground}"
                                            BorderThickness="1 1 1 0"
                                            CornerRadius="{StaticResource MapDropDownOuterCornerRadius}"
                                            HorizontalAlignment="Left"
                                            Width="{StaticResource MapDropDownWidth}">
                                        <Border
                                                Background="{StaticResource MapDropDownBackground}"
                                                BorderBrush="{StaticResource MapDropDownBorderBrush}"
                                                BorderThickness="{StaticResource MapDropDownBorderThickness}"
                                                CornerRadius="2"
                                                Margin="1 0"/>
                                    </Border>
                                    <telerik:RadSlider Grid.ColumnSpan="2" x:Name="PART_ZoomSlider" Style="{StaticResource MapSlider}" Minimum="1" Maximum="20"/>
                                    <Grid x:Name="PART_ZoomPresetsPanel"
                                            Margin="{StaticResource MapZoomPresetsPanelMargin}"
                                            Grid.Column="1"
                                            Grid.ColumnSpan="2"
                                            HorizontalAlignment="Stretch"
                                            VerticalAlignment="Stretch"/>
                                </Grid>
                            </telerik:RadDropDownButton.DropDownContent>
                            <Grid>
                                <Path
                                        StrokeThickness="2"
                                        Width="{StaticResource MapMagnifierPathSize}"
                                        Height="{StaticResource MapMagnifierPathSize}"
                                        Data="M14,12.2 L21,19.6 19.6,21 12.5,13.7 M8,1 C12,1 15,4 15,8 15,12 12,15 8,15 4,15 1,12 1,8 1,4 4,1 8,1z"
                                        Stroke="{StaticResource MapMagnifierPathStroke}"
                                        Fill="{StaticResource MapMagnifierPathFill}"
                                        SnapsToDevicePixels="True">
                                    <Path.Effect>
                                        <DropShadowEffect BlurRadius="3" Color="#FFFFFFFF" ShadowDepth="0" Opacity="{StaticResource MapMagnifierShadowOpacity}"/>
                                    </Path.Effect>
                                </Path>
                                <Ellipse HorizontalAlignment="Left" VerticalAlignment="Top" Margin="4 4 0 0" Width="6" Height="6" Fill="{StaticResource MapMagnifierEllipseFill}"/>
                            </Grid>
                        </telerik:RadDropDownButton>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="maps:MapZoomBar" BasedOn="{StaticResource MapZoomBarStyle}"/>
    <Style x:Key="MapScaleStyle" TargetType="maps:MapScale">
        <Setter Property="Margin" Value="{StaticResource MapScaleMargin}"/>
        <Setter Property="HorizontalAlignment" Value="Right"/>
        <Setter Property="VerticalAlignment" Value="Center"/>
        <Setter Property="HorizontalContentAlignment" Value="Right"/>
        <Setter Property="FontSize" Value="10"/>
        <Setter Property="Foreground" Value="{StaticResource MapScaleForeground}"/>
        <Setter Property="Background" Value="{StaticResource MapScaleBackground}"/>
        <Setter Property="BorderBrush" Value="{StaticResource MapScaleBorderBrush}"/>
        <Setter Property="StrokeThickness" Value="1"/>
        <Setter Property="ScaleLabelBackground" Value="{StaticResource MapScaleLabelBackground}"/>
        <Setter Property="ScaleLabelBorderBrush" Value="{StaticResource MapScaleLabelBorderBrush}"/>
        <Setter Property="BorderThickness" Value="1"/>
        <Setter Property="IsTabStop" Value="False"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="maps:MapScale">
                    <StackPanel Orientation="{StaticResource MapScaleOrientation}">
                        <Rectangle x:Name="PART_Rectangle"
                                HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
                                Fill="{TemplateBinding Background}"
                                Stroke="{TemplateBinding BorderBrush}"
                                StrokeThickness="{TemplateBinding StrokeThickness}"
                                Height="{StaticResource MapScaleHeight}"
                                RadiusX="{StaticResource MapScaleRadiusX}"
                                RadiusY="{StaticResource MapScaleRadiusY}"/>
                        <Border
                                Grid.Column="1"
                                Margin="{StaticResource MapScaleLabelMargin}"
                                HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
                                BorderBrush="{StaticResource MapScaleLabelOuterBorderBrush}"
                                BorderThickness="{StaticResource MapScaleLabelOuterBorderThickness}"
                                CornerRadius="{StaticResource MapScaleLabelOuterCornerRadius}">
                            <Border
                                    Background="{TemplateBinding ScaleLabelBackground}"
                                    BorderBrush="{TemplateBinding ScaleLabelBorderBrush}"
                                    BorderThickness="{TemplateBinding BorderThickness}"
                                    CornerRadius="{StaticResource MapScaleLabelCornerRadius}">
                                <TextBlock x:Name="PART_TextBlock" HorizontalAlignment="Center" VerticalAlignment="Center" Padding="{StaticResource MapScaleLabelPadding}"/>
                            </Border>
                        </Border>
                    </StackPanel>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="MapMouseLocationIndicatorStyle" TargetType="maps:MapMouseLocationIndicator">
        <Setter Property="MinWidth" Value="190"/>
        <Setter Property="Margin" Value="{StaticResource MapMouseLocationMargin}"/>
        <Setter Property="HorizontalAlignment" Value="Left"/>
        <Setter Property="VerticalAlignment" Value="Center"/>
        <Setter Property="HorizontalContentAlignment" Value="{StaticResource MapMouseLocationContentAlignment}"/>
        <Setter Property="FontSize" Value="10"/>
        <Setter Property="Foreground" Value="{StaticResource MapScaleForeground}"/>
        <Setter Property="Background" Value="{StaticResource MapScaleBackground}"/>
        <Setter Property="BorderBrush" Value="{StaticResource MapScaleBorderBrush}"/>
        <Setter Property="StrokeThickness" Value="1"/>
        <Setter Property="IndicatorLabelBackground" Value="{StaticResource MapScaleLabelBackground}"/>
        <Setter Property="IndicatorLabelBorderBrush" Value="{StaticResource MapScaleLabelBorderBrush}"/>
        <Setter Property="BorderThickness" Value="1"/>
        <Setter Property="IsTabStop" Value="False"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="maps:MapMouseLocationIndicator">
                    <Grid>
                        <Border BorderBrush="{StaticResource MapScaleLabelOuterBorderBrush}" BorderThickness="{StaticResource MapScaleLabelOuterBorderThickness}" CornerRadius="{StaticResource MapScaleLabelOuterCornerRadius}">
                            <Border
                                    Background="{TemplateBinding IndicatorLabelBackground}"
                                    BorderBrush="{TemplateBinding IndicatorLabelBorderBrush}"
                                    BorderThickness="{TemplateBinding BorderThickness}"
                                    CornerRadius="{StaticResource MapScaleLabelCornerRadius}">
                                <TextBlock x:Name="PART_TextBlock" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Padding="{StaticResource MapScaleLabelPadding}"/>
                            </Border>
                        </Border>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="maps:MapScale" BasedOn="{StaticResource MapScaleStyle}"/>
    <Style TargetType="maps:MapMouseLocationIndicator" BasedOn="{StaticResource MapMouseLocationIndicatorStyle}"/>
    <Style x:Key="MapCommandBarStyle" TargetType="maps:MapCommandBar">
        <Setter Property="IsTabStop" Value="False"/>
        <Setter Property="MapSwitchModeButtonTemplate">
            <Setter.Value>
                <DataTemplate>
                    <telerikControls:RadToggleButton x:Name="PART_IsLabelVisible"
                            Command="{Binding Path=Command}"
                            IsChecked="{Binding Path=IsSelected, Mode=TwoWay}"
                            HorizontalAlignment="Stretch"
                            HorizontalContentAlignment="Stretch"
                            Height="26"
                            Margin="0 3"
                            CornerRadius="{StaticResource MapButtonCornerRadius}"
                            Opacity="{StaticResource MapDropDownButtonOpacity}"
                            BorderBrush="{StaticResource ControlOuterBorderVertical_Normal}"
                            Background="{StaticResource MapButtonBackground}">
                        <Grid HorizontalAlignment="Stretch">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition/>
                                <ColumnDefinition Width="32"/>
                            </Grid.ColumnDefinitions>
                            <TextBlock Text="{Binding Path=Command.Text}" TextAlignment="Center" HorizontalAlignment="Stretch" Padding="7 0" FontWeight="{StaticResource MapButtonFontWeight}" FontSize="11"/>
                            <Image
                                    Grid.Column="1"
                                    Width="16"
                                    Height="16"
                                    HorizontalAlignment="Center"
                                    VerticalAlignment="Center"
                                    Stretch="None"
                                    Visibility="{StaticResource IconsVisibility}"
                                    Source="/Telerik.Windows.Controls.DataVisualization;component/Themes/label.png"/>
                        </Grid>
                    </telerikControls:RadToggleButton>
                </DataTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="MapSourceButtonTemplate">
            <Setter.Value>
                <DataTemplate>
                    <telerikControls:RadRadioButton x:Name="mapRadioButton"
                            Command="{Binding Path=Command}"
                            CommandParameter="{Binding Path=CommandParameter}"
                            IsChecked="{Binding Path=IsSelected, Mode=TwoWay}"
                            HorizontalAlignment="Stretch"
                            HorizontalContentAlignment="Stretch"
                            Height="26"
                            Margin="0 2"
                            Opacity="{StaticResource MapDropDownButtonOpacity}"
                            CornerRadius="{StaticResource MapButtonCornerRadius}"
                            Background="{StaticResource MapButtonBackground}"
                            BorderBrush="{StaticResource ControlOuterBorderVertical_Normal}">
                        <Grid HorizontalAlignment="Stretch">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition/>
                                <ColumnDefinition Width="32"/>
                            </Grid.ColumnDefinitions>
                            <TextBlock Text="{Binding Path=Command.Text}" TextAlignment="Center" HorizontalAlignment="Stretch" Padding="7 0" FontWeight="{StaticResource MapButtonFontWeight}" FontSize="11"/>
                            <Image
                                    Grid.Column="1"
                                    Width="16"
                                    Height="16"
                                    HorizontalAlignment="Center"
                                    VerticalAlignment="Center"
                                    Visibility="{StaticResource IconsVisibility}"
                                    Source="{Binding ImageUri}"/>
                        </Grid>
                    </telerikControls:RadRadioButton>
                </DataTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="maps:MapCommandBar">
                    <telerikControls:RadDropDownButton x:Name="PART_MapCommandDropDown"
                            HoverDelay="0:0:0.01"
                            KeepOpen="True"
                            CloseOnEscape="True"
                            DropDownPlacement="Top"
                            DropDownIndicatorVisibility="Collapsed"
                            CornerRadius="3"
                            Width="36"
                            Height="26">
                        <telerikControls:RadDropDownButton.Background>
                            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                <GradientStop Color="#FFFDFEFF" Offset="0"/>
                                <GradientStop Color="#FFDDE9F7" Offset="1"/>
                                <GradientStop Color="#FFE6F0FA" Offset="0.5"/>
                                <GradientStop Color="#FFDCE6F4" Offset="0.5"/>
                            </LinearGradientBrush>
                        </telerikControls:RadDropDownButton.Background>
                        <telerikControls:RadDropDownButton.DropDownContent>
                            <Grid x:Name="PART_DropDownPopupWrapper" Background="#01ffffff" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
                                <Border
                                        HorizontalAlignment="Right"
                                        Width="42"
                                        BorderBrush="{StaticResource MapDropDownOuterBorderBrush}"
                                        BorderThickness="1 1 1 0"
                                        CornerRadius="{StaticResource MapDropDownOuterCornerRadius}"
                                        Background="{StaticResource MapDropDownOuterBackground}">
                                    <Border
                                            Margin="1 0"
                                            Background="{StaticResource MapDropDownBackground}"
                                            BorderBrush="{StaticResource MapDropDownBorderBrush}"
                                            BorderThickness="{StaticResource MapDropDownBorderThickness}"
                                            CornerRadius="2"/>
                                </Border>
                                <StackPanel x:Name="PART_CommandPanel" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="0 5 5 5"/>
                            </Grid>
                        </telerikControls:RadDropDownButton.DropDownContent>
                        <Grid>
                            <Path
                                    Stretch="Fill"
                                    StrokeThickness="{StaticResource MapEyePathShadowStrokeThickness}"
                                    HorizontalAlignment="Center"
                                    VerticalAlignment="Center"
                                    Width="24"
                                    Height="12"
                                    Data="M23,6 C23,7.545 18.075132,11 12,11 5.9248678,11 1,6.955 1,6 1,5.045 5.9248678,1 12,1 18.075132,1 23,4.455 23,6 z"
                                    Stroke="{StaticResource MapEyePathStroke}"
                                    Fill="{StaticResource MapEyePathFill}"
                                    SnapsToDevicePixels="True">
                                <Path.Effect>
                                    <DropShadowEffect BlurRadius="3" Color="#FFFFFFFF" ShadowDepth="0"/>
                                </Path.Effect>
                            </Path>
                            <Ellipse Width="13" Height="13" HorizontalAlignment="Center" VerticalAlignment="Center" Fill="{StaticResource MapEyeBigEllipseFill}"/>
                            <Ellipse
                                    StrokeThickness="{StaticResource MapEyeEllipseStrokeThickness}"
                                    HorizontalAlignment="Center"
                                    VerticalAlignment="Center"
                                    Width="7"
                                    Height="7"
                                    Stroke="{StaticResource MapEyeEllipseStroke}"
                                    Fill="{StaticResource MapEyeEllipseFill}"/>
                            <Ellipse Fill="{StaticResource MapEyeSmallEllipseFill}" Width="3" Height="3" Margin="12 3 9 0" VerticalAlignment="Top"/>
                        </Grid>
                    </telerikControls:RadDropDownButton>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="maps:MapCommandBar" BasedOn="{StaticResource MapCommandBarStyle}"/>
    <Style x:Key="MapPinPointStyle" TargetType="maps:MapPinPoint">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="maps:MapPinPoint">
                    <Border Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="1" CornerRadius="3" Padding="2">
                        <StackPanel Name="PART_Panel" Orientation="Horizontal">
                            <Image Name="PART_Image" Visibility="Collapsed" Stretch="None" Source="{TemplateBinding ImageSource}"/>
                            <TextBlock Name="PART_Text" Margin="2 0 0 0" VerticalAlignment="Center" Text="{TemplateBinding Text}"/>
                        </StackPanel>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="PushpinStyle" TargetType="maps:Pushpin">
        <Setter Property="Background" Value="{StaticResource MapPushpinBackground}"/>
        <Setter Property="maps:MapLayer.HotSpot" Value="0.5,Fraction,40,InsetPixels"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="maps:Pushpin">
                    <Border>
                        <maps:MapLayer.HotSpot>
                            <datavizControls:HotSpot X="0.5" Y="40" XUnits="Fraction" YUnits="InsetPixels"/>
                        </maps:MapLayer.HotSpot>
                        <Path
                                Stretch="None"
                                Stroke="{StaticResource MapPushpinStroke}"
                                StrokeThickness="6"
                                Data="M12,26.0 L16,26.0 13.9,32.0 z M14,3 C20.0,3 25,7.9 25,14 25,20.0 20.0,25 14,25 7.9,25 3,20.0 3,14 3,7.9 7.9,3 14,3 z"
                                Fill="{TemplateBinding Background}">
                            <Path.Effect>
                                <telerikControls:IsFullTrust>&lt;DropShadowEffect xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                                        BlurRadius="7" ShadowDepth="1" /&gt;</telerikControls:IsFullTrust>
                            </Path.Effect>
                        </Path>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <DataTemplate x:Key="DefaultInformationLayerTemplate">
        <maps:Pushpin/>
    </DataTemplate>
    <Style x:Key="BalloonStyle" TargetType="maps:Balloon">
        <Setter Property="Background" Value="Transparent"/>
        <Setter Property="BorderBrush" Value="Transparent"/>
        <Setter Property="BorderThickness" Value="0"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="maps:Balloon">
                    <Border Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="5">
                        <ContentPresenter Margin="5" Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}"/>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="maps:MapPinPoint" BasedOn="{StaticResource MapPinPointStyle}"/>
    <Style TargetType="maps:Pushpin" BasedOn="{StaticResource PushpinStyle}"/>
    <Style TargetType="maps:Balloon" BasedOn="{StaticResource BalloonStyle}"/>
    <Style x:Key="MapLegendCanvasItemStyle" TargetType="maps:MapLegendCanvasItem">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="maps:MapLegendCanvasItem">
                    <Canvas>
                        <TextBlock x:Name="PART_MinLabel" Text="{TemplateBinding Min}"/>
                        <TextBlock x:Name="PART_MaxLabel" Text="{TemplateBinding Max}"/>
                        <Rectangle x:Name="PART_Rectangle"
                                Width="{TemplateBinding MarkerWidth}"
                                Height="{TemplateBinding MarkerHeight}"
                                RadiusX="{TemplateBinding RadiusX}"
                                RadiusY="{TemplateBinding RadiusY}"
                                Fill="{TemplateBinding Fill}"
                                Stroke="{TemplateBinding Stroke}"
                                StrokeThickness="{TemplateBinding StrokeThickness}"/>
                    </Canvas>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="MapLegendStyle" TargetType="maps:MapLegend">
        <Setter Property="Background" Value="#ABFFFFFF"/>
        <Setter Property="BorderBrush" Value="#FFFFFFFF"/>
        <Setter Property="BorderThickness" Value="1"/>
        <Setter Property="Padding" Value="12 10"/>
        <Setter Property="HorizontalContentAlignment" Value="Stretch"/>
        <Setter Property="VerticalContentAlignment" Value="Stretch"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="maps:MapLegend">
                    <Border Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}">
                        <Grid Margin="{TemplateBinding Padding}">
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto"/>
                                <RowDefinition Height="*"/>
                            </Grid.RowDefinitions>
                            <ContentControl x:Name="PART_HeaderContentControl" Foreground="{TemplateBinding Foreground}" Content="{TemplateBinding Header}" ContentTemplate="{TemplateBinding HeaderTemplate}"/>
                            <ItemsPresenter Grid.Row="1" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
                        </Grid>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="ItemsPanel">
            <Setter.Value>
                <ItemsPanelTemplate>
                    <maps:MapLegendCanvas/>
                </ItemsPanelTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="maps:MapLegendCanvasItem" BasedOn="{StaticResource MapLegendCanvasItemStyle}"/>
    <Style TargetType="maps:MapLegend" BasedOn="{StaticResource MapLegendStyle}"/>
    <heatMaps:PositionToGridRowConverter x:Key="PositionToGridRowConverter"/>
    <heatMaps:PositionToGridColumnConverter x:Key="PositionToGridColumnConverter"/>
    <Style x:Key="HeatMapColumnHeaderDecoratorStyle" TargetType="heatMaps:HeatMapColumnHeaderDecorator">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="heatMaps:HeatMapColumnHeaderDecorator">
                    <Border Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}"/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="HeatMapRowHeaderDecoratorStyle" TargetType="heatMaps:HeatMapRowHeaderDecorator">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="heatMaps:HeatMapRowHeaderDecorator">
                    <Border Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}"/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="HeatMapColorGridStyle" TargetType="heatMaps:HeatMapColorGrid">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="heatMaps:HeatMapColorGrid">
                    <Border Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}">
                        <Image Source="{TemplateBinding Bitmap}"/>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="HeatMapLabelsGridStyle" TargetType="heatMaps:HeatMapLabelsGrid">
        <Setter Property="IsHitTestVisible" Value="False"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="heatMaps:HeatMapLabelsGrid">
                    <Canvas x:Name="PART_RenderSurface"/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="HeatMapRowLabelStyle" TargetType="heatMaps:HeatMapRowLabel">
        <Setter Property="Margin" Value="2 0"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="heatMaps:HeatMapRowLabel">
                    <TextBlock Text="{TemplateBinding LabelText}" Style="{TemplateBinding AppliedLabelStyle}"/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="HeatMapColumnLabelStyle" TargetType="heatMaps:HeatMapColumnLabel">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="heatMaps:HeatMapColumnLabel">
                    <TextBlock Text="{Binding LabelText}" Style="{TemplateBinding AppliedLabelStyle}">
                        <TextBlock.LayoutTransform>
                            <RotateTransform x:Name="PART_RotateTransform"/>
                        </TextBlock.LayoutTransform>
                    </TextBlock>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="RadHeatMapStyle" TargetType="datavizControls:RadHeatMap">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="datavizControls:RadHeatMap">
                    <Border Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}">
                        <Grid>
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto"/>
                                <RowDefinition/>
                                <RowDefinition Height="Auto"/>
                            </Grid.RowDefinitions>
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto"/>
                                <ColumnDefinition/>
                                <ColumnDefinition Width="Auto"/>
                            </Grid.ColumnDefinitions>
                            <heatMaps:HeatMapColorGrid
                                    Definition="{TemplateBinding Definition}"
                                    CellBorderThickness="{TemplateBinding CellBorderThickness}"
                                    CellBorderColor="{TemplateBinding CellBorderColor}"
                                    HoveredCellDataPoint="{Binding HoveredCellDataPoint, RelativeSource={RelativeSource TemplatedParent}, Mode=TwoWay}"
                                    HoveredCellBorderThickness="{TemplateBinding HoveredCellBorderThickness}"
                                    HoveredCellBorderColor="{TemplateBinding HoveredCellBorderColor}"
                                    SelectedCellBorderThickness="{TemplateBinding SelectedCellBorderThickness}"
                                    SelectedCellBorderColor="{TemplateBinding SelectedCellBorderColor}"
                                    ShowToolTips="{TemplateBinding ShowToolTips}"
                                    ToolTipSettings="{TemplateBinding ToolTipSettings}"
                                    Grid.Row="1"
                                    Grid.Column="1"/>
                            <heatMaps:HeatMapLabelsGrid
                                    Definition="{TemplateBinding Definition}"
                                    CellBorderThickness="{TemplateBinding CellBorderThickness}"
                                    CellLabelSettings="{TemplateBinding CellLabelSettings}"
                                    Grid.Row="1"
                                    Grid.Column="1"/>
                            <heatMaps:HeatMapColumnHeaderDecorator Grid.ColumnSpan="3" Grid.Row="{Binding ColumnHeaderSettings.LabelsPanelPosition, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource PositionToGridRowConverter}}"/>
                            <heatMaps:HeatMapRowHeaderDecorator Grid.RowSpan="3" Grid.Column="{Binding RowHeaderSettings.LabelsPanelPosition, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource PositionToGridColumnConverter}}"/>
                            <heatMaps:HeatMapColumnLabelsControl
                                    ItemsSource="{TemplateBinding ColumnHeaders}"
                                    LabelRotationAngle="{Binding ColumnHeaderSettings.LabelRotationAngle, RelativeSource={RelativeSource TemplatedParent}}"
                                    LabelStyle="{Binding ColumnHeaderSettings.LabelStyle, RelativeSource={RelativeSource TemplatedParent}}"
                                    HoveredLabelStyle="{Binding ColumnHeaderSettings.HoveredLabelStyle, RelativeSource={RelativeSource TemplatedParent}}"
                                    Position="{Binding ColumnHeaderSettings.LabelsPanelPosition, RelativeSource={RelativeSource TemplatedParent}}"
                                    LabelHorizontalAlignment="{Binding ColumnHeaderSettings.LabelHorizontalAlignment, RelativeSource={RelativeSource TemplatedParent}}"
                                    LabelVerticalAlignment="{Binding ColumnHeaderSettings.LabelVerticalAlignment, RelativeSource={RelativeSource TemplatedParent}}"
                                    LabelClipToBounds="{Binding ColumnHeaderSettings.LabelClipToBounds, RelativeSource={RelativeSource TemplatedParent}}"
                                    CellBorderThickness="{TemplateBinding CellBorderThickness}"
                                    ColumnsCount="{TemplateBinding ColumnsCount}"
                                    Grid.Row="{Binding ColumnHeaderSettings.LabelsPanelPosition, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource PositionToGridRowConverter}}"
                                    Grid.Column="1"/>
                            <heatMaps:HeatMapRowLabelsControl
                                    ItemsSource="{TemplateBinding RowHeaders}"
                                    LabelStyle="{Binding RowHeaderSettings.LabelStyle, RelativeSource={RelativeSource TemplatedParent}}"
                                    HoveredLabelStyle="{Binding RowHeaderSettings.HoveredLabelStyle, RelativeSource={RelativeSource TemplatedParent}}"
                                    Position="{Binding RowHeaderSettings.LabelsPanelPosition, RelativeSource={RelativeSource TemplatedParent}}"
                                    LabelHorizontalAlignment="{Binding RowHeaderSettings.LabelHorizontalAlignment, RelativeSource={RelativeSource TemplatedParent}}"
                                    LabelVerticalAlignment="{Binding RowHeaderSettings.LabelVerticalAlignment, RelativeSource={RelativeSource TemplatedParent}}"
                                    LabelClipToBounds="{Binding RowHeaderSettings.LabelClipToBounds, RelativeSource={RelativeSource TemplatedParent}}"
                                    CellBorderThickness="{TemplateBinding CellBorderThickness}"
                                    RowsCount="{TemplateBinding RowsCount}"
                                    Grid.Row="1"
                                    Grid.Column="{Binding RowHeaderSettings.LabelsPanelPosition, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource PositionToGridColumnConverter}}"/>
                            <ContentPresenter Content="{TemplateBinding DescriptionContent}" Grid.Row="{Binding ColumnHeaderSettings.LabelsPanelPosition, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource PositionToGridRowConverter}}" Grid.Column="{Binding RowHeaderSettings.LabelsPanelPosition, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource PositionToGridColumnConverter}}"/>
                        </Grid>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="heatMaps:HeatMapColumnHeaderDecorator" BasedOn="{StaticResource HeatMapColumnHeaderDecoratorStyle}"/>
    <Style TargetType="heatMaps:HeatMapRowHeaderDecorator" BasedOn="{StaticResource HeatMapRowHeaderDecoratorStyle}"/>
    <Style TargetType="heatMaps:HeatMapColorGrid" BasedOn="{StaticResource HeatMapColorGridStyle}"/>
    <Style TargetType="heatMaps:HeatMapLabelsGrid" BasedOn="{StaticResource HeatMapLabelsGridStyle}"/>
    <Style TargetType="heatMaps:HeatMapRowLabel" BasedOn="{StaticResource HeatMapRowLabelStyle}"/>
    <Style TargetType="heatMaps:HeatMapColumnLabel" BasedOn="{StaticResource HeatMapColumnLabelStyle}"/>
    <Style TargetType="datavizControls:RadHeatMap" BasedOn="{StaticResource RadHeatMapStyle}"/>
    <Style TargetType="heatMaps:HeatMapColumnLabelsControl" BasedOn="{StaticResource FastItemsControlBaseStyle}"/>
    <Style TargetType="heatMaps:HeatMapRowLabelsControl" BasedOn="{StaticResource FastItemsControlBaseStyle}"/>
    <Style x:Key="RadTreeMapStyle" TargetType="datavizControls:RadTreeMap">
        <Setter Property="DefaultItemTemplate">
            <Setter.Value>
                <HierarchicalDataTemplate ItemsSource="{Binding Children}">
                    <TextBlock Text="{Binding Label}" TextWrapping="Wrap" Effect="{Binding Path=HeaderEffect, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type treemaps:RadTreeMapItem}}}"/>
                </HierarchicalDataTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="datavizControls:RadTreeMap">
                    <treemaps:RadTreeMapItem x:Name="PART_RootItem"
                            Background="{TemplateBinding Background}"
                            BorderBrush="{TemplateBinding BorderBrush}"
                            BorderThickness="{TemplateBinding BorderThickness}"
                            Padding="{TemplateBinding Padding}"
                            DataMappingSelector="{TemplateBinding DataMappingSelector}"
                            Mappings="{TemplateBinding Mappings}"
                            LayoutStrategies="{TemplateBinding LayoutStrategies}"
                            ItemTemplateSelector="{TemplateBinding ItemTemplateSelector}"
                            ItemsSource="{TemplateBinding DataView}"
                            DataContext="{x:Null}"/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="RadPivotMapStyle" TargetType="datavizControls:RadPivotMap">
        <Setter Property="GroupTemplate">
            <Setter.Value>
                <HierarchicalDataTemplate ItemsSource="{Binding Children}">
                    <TextBlock Text="{Binding GroupKey}" TextWrapping="Wrap" Effect="{Binding Path=HeaderEffect, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type treemaps:RadTreeMapItem}}}"/>
                </HierarchicalDataTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="LeafTemplate">
            <Setter.Value>
                <DataTemplate>
                    <TextBlock Text="{Binding Label}" TextWrapping="Wrap" Effect="{Binding Path=HeaderEffect, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type treemaps:RadTreeMapItem}}}"/>
                </DataTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="datavizControls:RadPivotMap">
                    <treemaps:RadTreeMapItem
                            Background="{TemplateBinding Background}"
                            BorderBrush="{TemplateBinding BorderBrush}"
                            BorderThickness="{TemplateBinding BorderThickness}"
                            Padding="{TemplateBinding Padding}"
                            DataMappingSelector="{TemplateBinding DataMappingSelector}"
                            Mappings="{TemplateBinding Mappings}"
                            LayoutStrategies="{TemplateBinding LayoutStrategies}"
                            ItemTemplateSelector="{TemplateBinding ItemTemplateSelector}"
                            ItemsSource="{TemplateBinding DataView}"
                            DataContext="{x:Null}"/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="RadTreeMapItemStyle" TargetType="treemaps:RadTreeMapItem">
        <Setter Property="ItemsPanel">
            <Setter.Value>
                <ItemsPanelTemplate>
                    <treemaps:TreeMapPanel/>
                </ItemsPanelTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="Value" Value="{Binding Path=Value}"/>
        <Setter Property="Foreground" Value="Black"/>
        <Setter Property="BorderBrush" Value="Black"/>
        <Setter Property="Background" Value="Transparent"/>
        <Setter Property="BorderThickness" Value="1"/>
        <Setter Property="Margin" Value="1"/>
        <Setter Property="HorizontalContentAlignment" Value="Center"/>
        <Setter Property="VerticalContentAlignment" Value="Center"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="treemaps:RadTreeMapItem">
                    <Grid>
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="CommonStates">
                                <VisualState x:Name="Normal"/>
                                <VisualState x:Name="MouseOver">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="MouseOverVisual" Storyboard.TargetProperty="BorderBrush" Duration="0.00:00:00.05">
                                            <DiscreteObjectKeyFrame KeyTime="0.00:00:00.0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <LinearGradientBrush StartPoint="0,0" EndPoint="3,3" MappingMode="Absolute" SpreadMethod="Repeat">
                                                        <GradientStop Color="#B2000000" Offset="0"/>
                                                        <GradientStop Color="#B2000000" Offset="0.5"/>
                                                        <GradientStop Color="#D8FFFFFF" Offset="0.5"/>
                                                        <GradientStop Color="#D8FFFFFF" Offset="1"/>
                                                    </LinearGradientBrush>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Pressed">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="SelectedVisual" Storyboard.TargetProperty="Background" Duration="0.00:00:00.05">
                                            <DiscreteObjectKeyFrame KeyTime="0.00:00:00.0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <LinearGradientBrush StartPoint="0,0" EndPoint="3,3" MappingMode="Absolute" SpreadMethod="Repeat">
                                                        <GradientStop Color="#66000000" Offset="0"/>
                                                        <GradientStop Color="#66000000" Offset="0.15"/>
                                                        <GradientStop Color="#26FFFFFF" Offset="0.15"/>
                                                        <GradientStop Color="#26FFFFFF" Offset="1"/>
                                                    </LinearGradientBrush>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                        <Border
                                Name="border"
                                Background="{TemplateBinding Background}"
                                BorderBrush="{TemplateBinding BorderBrush}"
                                BorderThickness="{TemplateBinding BorderThickness}"
                                SnapsToDevicePixels="True">
                            <Border x:Name="SelectedVisual">
                                <Grid Margin="{TemplateBinding Padding}">
                                    <Grid.RowDefinitions>
                                        <RowDefinition Height="Auto"/>
                                        <RowDefinition Height="*"/>
                                    </Grid.RowDefinitions>
                                    <ContentPresenter
                                            Grid.Row="0"
                                            Content="{TemplateBinding Header}"
                                            ContentTemplate="{TemplateBinding HeaderTemplate}"
                                            ContentTemplateSelector="{TemplateBinding HeaderTemplateSelector}"
                                            HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
                                            VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
                                    <ItemsPresenter Grid.Row="1"/>
                                </Grid>
                            </Border>
                        </Border>
                        <Border x:Name="MouseOverVisual" BorderThickness="1" SnapsToDevicePixels="True"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="datavizControls:RadTreeMap" BasedOn="{StaticResource RadTreeMapStyle}"/>
    <Style TargetType="datavizControls:RadPivotMap" BasedOn="{StaticResource RadPivotMapStyle}"/>
    <Style TargetType="treemaps:RadTreeMapItem" BasedOn="{StaticResource RadTreeMapItemStyle}"/>
    <SolidColorBrush x:Key="AxisStroke" Color="#FF564A44"/>
    <SolidColorBrush x:Key="SparklineStroke" Color="#FFA18B7E"/>
    <SolidColorBrush x:Key="NegativeSparklineStroke" Color="#FFA18B7E"/>
    <LinearGradientBrush x:Key="PositiveAreaBackground" EndPoint="0.5,0" StartPoint="0.5,1">
        <GradientStop Color="#99D5AF8C" Offset="0"/>
        <GradientStop Color="#99B9A497" Offset="1"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="NegativeAreaBackground" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#99D5AF8C" Offset="0"/>
        <GradientStop Color="#99B9A497" Offset="1"/>
    </LinearGradientBrush>
    <SolidColorBrush x:Key="PointBackground" Color="#FF564A44"/>
    <SolidColorBrush x:Key="NegativePointBackground" Color="#FFFFFFFF"/>
    <SolidColorBrush x:Key="ColumnBackground" Color="#FFA18B7E"/>
    <SolidColorBrush x:Key="NegativeColumnBackground" Color="#FF443B36"/>
    <SolidColorBrush x:Key="FirstLastPointBackground" Color="#FF779EE8"/>
    <SolidColorBrush x:Key="HighLowPointBackground" Color="#FFF2A667"/>
    <SolidColorBrush x:Key="FirstLastColumnBackground" Color="#FF779EE8"/>
    <SolidColorBrush x:Key="HighLowColumnBackground" Color="#FFF2A667"/>
    <Style x:Key="NegativeIndicatorStyle" TargetType="sparklines:IndicatorItem">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="sparklines:IndicatorItem">
                    <Ellipse Stroke="#FF443B36" StrokeThickness="1" Fill="{TemplateBinding Fill}" Height="4" Width="4"/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="NegativeScatterStyle" TargetType="sparklines:ScatterItem">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="sparklines:ScatterItem">
                    <Ellipse Stroke="#FF443B36" StrokeThickness="1" Fill="{TemplateBinding Fill}" Height="4" Width="4"/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="FirstLastIndicatorStyle" TargetType="sparklines:IndicatorItem">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="sparklines:IndicatorItem">
                    <Ellipse Fill="{TemplateBinding Fill}" Height="4" Width="4"/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="HighLowIndicatorStyle" TargetType="sparklines:IndicatorItem">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="sparklines:IndicatorItem">
                    <Ellipse Fill="{TemplateBinding Fill}" Height="4" Width="4"/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="FirstLastScatterStyle" TargetType="sparklines:ScatterItem">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="sparklines:ScatterItem">
                    <Ellipse Fill="{TemplateBinding Fill}" Height="4" Width="4"/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="HighLowScatterStyle" TargetType="sparklines:ScatterItem">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="sparklines:ScatterItem">
                    <Ellipse Fill="{TemplateBinding Fill}" Height="4" Width="4"/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <SolidColorBrush x:Key="NormalRangeBackground" Color="#26FFC378"/>
    <sparklines:PointCollectionCloneConverter x:Key="PointCollectionCloneConverter"/>
    <sparklines:RectToRectangleGeometryConverter x:Key="RectToRectangleGeometryConverter"/>
    <Style x:Key="RadWinLossSparklineStyle" TargetType="datavizControls:RadWinLossSparkline">
        <Setter Property="AxisStroke" Value="{StaticResource AxisStroke}"/>
        <Setter Property="ItemFill" Value="{StaticResource ColumnBackground}"/>
        <Setter Property="NegativePointBrush" Value="{StaticResource NegativeColumnBackground}"/>
        <Setter Property="FirstPointBrush" Value="{StaticResource FirstLastColumnBackground}"/>
        <Setter Property="LastPointBrush" Value="{StaticResource FirstLastColumnBackground}"/>
        <Setter Property="LowPointBrush" Value="{StaticResource HighLowColumnBackground}"/>
        <Setter Property="HighPointBrush" Value="{StaticResource HighLowColumnBackground}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="datavizControls:RadWinLossSparkline">
                    <Border Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}">
                        <Grid>
                            <sparklines:ColumnsContainer x:Name="PART_IndicatorsContainer" ItemStyle="{TemplateBinding ItemStyle}" ItemsSource="{TemplateBinding Tag}"/>
                            <Line
                                    Stroke="{TemplateBinding AxisStroke}"
                                    StrokeThickness="1"
                                    X1="0"
                                    Y1="{TemplateBinding ZeroYPosition}"
                                    X2="{TemplateBinding AxisWidth}"
                                    Y2="{TemplateBinding ZeroYPosition}"
                                    Visibility="{TemplateBinding AxisVisibility}"/>
                        </Grid>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="RadColumnSparklineStyle" TargetType="datavizControls:RadColumnSparkline">
        <Setter Property="AxisStroke" Value="{StaticResource AxisStroke}"/>
        <Setter Property="ItemFill" Value="{StaticResource ColumnBackground}"/>
        <Setter Property="NegativePointBrush" Value="{StaticResource NegativeColumnBackground}"/>
        <Setter Property="FirstPointBrush" Value="{StaticResource FirstLastColumnBackground}"/>
        <Setter Property="LastPointBrush" Value="{StaticResource FirstLastColumnBackground}"/>
        <Setter Property="LowPointBrush" Value="{StaticResource HighLowColumnBackground}"/>
        <Setter Property="HighPointBrush" Value="{StaticResource HighLowColumnBackground}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="datavizControls:RadColumnSparkline">
                    <Border Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}">
                        <Grid>
                            <sparklines:ColumnsContainer x:Name="PART_IndicatorsContainer" ColumnLayoutMode="{TemplateBinding ColumnLayoutMode}" ItemStyle="{TemplateBinding ItemStyle}" ItemsSource="{TemplateBinding Tag}"/>
                            <Line
                                    Stroke="{TemplateBinding AxisStroke}"
                                    StrokeThickness="1"
                                    X1="0"
                                    Y1="{TemplateBinding ZeroYPosition}"
                                    X2="{TemplateBinding AxisWidth}"
                                    Y2="{TemplateBinding ZeroYPosition}"
                                    Visibility="{TemplateBinding AxisVisibility}"/>
                        </Grid>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="RadAreaSparklineStyle" TargetType="datavizControls:RadAreaSparkline">
        <Setter Property="PositiveAreaFill" Value="{StaticResource PositiveAreaBackground}"/>
        <Setter Property="PositiveAreaStroke" Value="{StaticResource SparklineStroke}"/>
        <Setter Property="NegativeAreaStroke" Value="{StaticResource NegativeSparklineStroke}"/>
        <Setter Property="FirstPointBrush" Value="{StaticResource FirstLastPointBackground}"/>
        <Setter Property="LastPointBrush" Value="{StaticResource FirstLastPointBackground}"/>
        <Setter Property="NegativeAreaFill" Value="{StaticResource NegativeAreaBackground}"/>
        <Setter Property="FirstPointStyle" Value="{StaticResource FirstLastIndicatorStyle}"/>
        <Setter Property="LastPointStyle" Value="{StaticResource FirstLastIndicatorStyle}"/>
        <Setter Property="LowPointStyle" Value="{StaticResource HighLowIndicatorStyle}"/>
        <Setter Property="HighPointStyle" Value="{StaticResource HighLowIndicatorStyle}"/>
        <Setter Property="NegativePointStyle" Value="{StaticResource NegativeIndicatorStyle}"/>
        <Setter Property="AxisStroke" Value="{StaticResource AxisStroke}"/>
        <Setter Property="MarkersBrush" Value="{StaticResource PointBackground}"/>
        <Setter Property="NegativePointBrush" Value="{StaticResource NegativePointBackground}"/>
        <Setter Property="LowPointBrush" Value="{StaticResource HighLowPointBackground}"/>
        <Setter Property="HighPointBrush" Value="{StaticResource HighLowPointBackground}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="datavizControls:RadAreaSparkline">
                    <Border Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}">
                        <Grid>
                            <Polyline
                                    Visibility="{TemplateBinding TopLineVisibility}"
                                    Clip="{Binding TopClipRect, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource RectToRectangleGeometryConverter}}"
                                    Points="{Binding AreaPoints, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource PointCollectionCloneConverter}}"
                                    Fill="{TemplateBinding PositiveAreaFill}"
                                    Style="{TemplateBinding PositiveAreaShapeStyle}"/>
                            <Polyline
                                    Visibility="{TemplateBinding TopLineVisibility}"
                                    Clip="{Binding TopClipRect, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource RectToRectangleGeometryConverter}}"
                                    Points="{Binding LinePoints, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource PointCollectionCloneConverter}}"
                                    StrokeLineJoin="Round"
                                    StrokeThickness="1"
                                    Stroke="{TemplateBinding PositiveAreaStroke}"
                                    Style="{TemplateBinding PositiveLineShapeStyle}"/>
                            <Polyline
                                    Visibility="{TemplateBinding BottomLineVisibility}"
                                    Clip="{Binding BottomClipRect, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource RectToRectangleGeometryConverter}}"
                                    Points="{Binding AreaPoints, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource PointCollectionCloneConverter}}"
                                    Fill="{TemplateBinding NegativeAreaFill}"
                                    Style="{TemplateBinding NegativeAreaShapeStyle}"/>
                            <Polyline
                                    Visibility="{TemplateBinding BottomLineVisibility}"
                                    Clip="{Binding BottomClipRect, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource RectToRectangleGeometryConverter}}"
                                    Points="{Binding LinePoints, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource PointCollectionCloneConverter}}"
                                    StrokeLineJoin="Round"
                                    StrokeThickness="1"
                                    Stroke="{TemplateBinding NegativeAreaStroke}"
                                    Style="{TemplateBinding NegativeLineShapeStyle}"/>
                            <Line
                                    Stroke="{TemplateBinding AxisStroke}"
                                    X1="0"
                                    Y1="{TemplateBinding ZeroYPosition}"
                                    X2="{TemplateBinding AxisWidth}"
                                    Y2="{TemplateBinding ZeroYPosition}"
                                    StrokeThickness="1"
                                    Visibility="{TemplateBinding AxisVisibility}"/>
                            <sparklines:IndicatorsContainer x:Name="PART_IndicatorsContainer"
                                    ItemStyle="{TemplateBinding IndicatorStyle}"
                                    ItemsSource="{TemplateBinding IndicatorsPoints}"
                                    Visibility="{TemplateBinding IndicatorsVisibility}"/>
                        </Grid>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="RadLinearSparklineStyle" TargetType="datavizControls:RadLinearSparkline">
        <Setter Property="FirstPointStyle" Value="{StaticResource FirstLastIndicatorStyle}"/>
        <Setter Property="LastPointStyle" Value="{StaticResource FirstLastIndicatorStyle}"/>
        <Setter Property="LowPointStyle" Value="{StaticResource HighLowIndicatorStyle}"/>
        <Setter Property="HighPointStyle" Value="{StaticResource HighLowIndicatorStyle}"/>
        <Setter Property="NegativePointStyle" Value="{StaticResource NegativeIndicatorStyle}"/>
        <Setter Property="AxisStroke" Value="{StaticResource AxisStroke}"/>
        <Setter Property="MarkersBrush" Value="{StaticResource PointBackground}"/>
        <Setter Property="NegativePointBrush" Value="{StaticResource NegativePointBackground}"/>
        <Setter Property="FirstPointBrush" Value="{StaticResource FirstLastPointBackground}"/>
        <Setter Property="LastPointBrush" Value="{StaticResource FirstLastPointBackground}"/>
        <Setter Property="LowPointBrush" Value="{StaticResource HighLowPointBackground}"/>
        <Setter Property="HighPointBrush" Value="{StaticResource HighLowPointBackground}"/>
        <Setter Property="NormalRangeFill" Value="{StaticResource NormalRangeBackground}"/>
        <Setter Property="LineStroke" Value="{StaticResource SparklineStroke}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="datavizControls:RadLinearSparkline">
                    <Border Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}">
                        <Grid>
                            <Path Fill="{TemplateBinding NormalRangeFill}" Data="{Binding NormalRangeRect, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource RectToRectangleGeometryConverter}}" Visibility="{TemplateBinding NormalRangeVisibility}"/>
                            <Polyline
                                    Visibility="{TemplateBinding LineShapeVisibility}"
                                    Style="{TemplateBinding LineShapeStyle}"
                                    Points="{Binding LinePoints, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource PointCollectionCloneConverter}}"
                                    StrokeLineJoin="Round"
                                    Stroke="{TemplateBinding LineStroke}"/>
                            <Line
                                    Stroke="{TemplateBinding AxisStroke}"
                                    StrokeThickness="1"
                                    X1="0"
                                    Y1="{TemplateBinding ZeroYPosition}"
                                    X2="{TemplateBinding AxisWidth}"
                                    Y2="{TemplateBinding ZeroYPosition}"
                                    Visibility="{TemplateBinding AxisVisibility}"/>
                            <sparklines:IndicatorsContainer x:Name="PART_IndicatorsContainer"
                                    ItemStyle="{TemplateBinding IndicatorStyle}"
                                    ItemsSource="{TemplateBinding IndicatorsPoints}"
                                    Visibility="{TemplateBinding IndicatorsVisibility}"/>
                        </Grid>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="RadScatterSparklineStyle" TargetType="datavizControls:RadScatterSparkline">
        <Setter Property="FirstPointStyle" Value="{StaticResource FirstLastScatterStyle}"/>
        <Setter Property="LastPointStyle" Value="{StaticResource FirstLastScatterStyle}"/>
        <Setter Property="LowPointStyle" Value="{StaticResource HighLowScatterStyle}"/>
        <Setter Property="HighPointStyle" Value="{StaticResource HighLowScatterStyle}"/>
        <Setter Property="NegativePointStyle" Value="{StaticResource NegativeScatterStyle}"/>
        <Setter Property="AxisStroke" Value="{StaticResource AxisStroke}"/>
        <Setter Property="ItemFill" Value="{StaticResource PointBackground}"/>
        <Setter Property="NegativePointBrush" Value="{StaticResource NegativePointBackground}"/>
        <Setter Property="FirstPointBrush" Value="{StaticResource FirstLastPointBackground}"/>
        <Setter Property="LastPointBrush" Value="{StaticResource FirstLastPointBackground}"/>
        <Setter Property="LowPointBrush" Value="{StaticResource HighLowPointBackground}"/>
        <Setter Property="HighPointBrush" Value="{StaticResource HighLowPointBackground}"/>
        <Setter Property="NormalRangeFill" Value="{StaticResource NormalRangeBackground}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="datavizControls:RadScatterSparkline">
                    <Border Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}">
                        <Grid>
                            <Path Fill="{TemplateBinding NormalRangeFill}" Data="{Binding NormalRangeRect, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource RectToRectangleGeometryConverter}}" Visibility="{TemplateBinding NormalRangeVisibility}"/>
                            <Line
                                    Stroke="{TemplateBinding AxisStroke}"
                                    StrokeThickness="1"
                                    X1="0"
                                    Y1="{TemplateBinding ZeroYPosition}"
                                    X2="{TemplateBinding AxisWidth}"
                                    Y2="{TemplateBinding ZeroYPosition}"
                                    Visibility="{TemplateBinding AxisVisibility}"/>
                            <sparklines:ScatterContainer x:Name="PART_IndicatorsContainer" ItemStyle="{TemplateBinding ItemStyle}" ItemsSource="{TemplateBinding Tag}"/>
                        </Grid>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="ColumnStyle" TargetType="sparklines:Column">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="sparklines:Column">
                    <Rectangle Fill="{TemplateBinding Fill}"/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="ScatterItemStyle" TargetType="sparklines:ScatterItem">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="sparklines:ScatterItem">
                    <Ellipse Fill="{TemplateBinding Fill}" Width="3" Height="3"/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="IndicatorItemStyle" TargetType="sparklines:IndicatorItem">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="sparklines:IndicatorItem">
                    <Ellipse Fill="{TemplateBinding Fill}" Width="3" Height="3"/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="sparklines:ColumnsContainer" BasedOn="{StaticResource FastItemsControlBaseStyle}"/>
    <Style TargetType="sparklines:ScatterContainer" BasedOn="{StaticResource FastItemsControlBaseStyle}"/>
    <Style TargetType="sparklines:IndicatorsContainer" BasedOn="{StaticResource FastItemsControlBaseStyle}"/>
    <Style TargetType="datavizControls:RadWinLossSparkline" BasedOn="{StaticResource RadWinLossSparklineStyle}"/>
    <Style TargetType="datavizControls:RadColumnSparkline" BasedOn="{StaticResource RadColumnSparklineStyle}"/>
    <Style TargetType="datavizControls:RadAreaSparkline" BasedOn="{StaticResource RadAreaSparklineStyle}"/>
    <Style TargetType="datavizControls:RadLinearSparkline" BasedOn="{StaticResource RadLinearSparklineStyle}"/>
    <Style TargetType="datavizControls:RadScatterSparkline" BasedOn="{StaticResource RadScatterSparklineStyle}"/>
    <Style TargetType="sparklines:Column" BasedOn="{StaticResource ColumnStyle}"/>
    <Style TargetType="sparklines:ScatterItem" BasedOn="{StaticResource ScatterItemStyle}"/>
    <Style TargetType="sparklines:IndicatorItem" BasedOn="{StaticResource IndicatorItemStyle}"/>
    <SolidColorBrush x:Key="LinearTickBackground" Color="#FF2366B0"/>
    <SolidColorBrush x:Key="RadialTickBackground" Color="#FF606060"/>
    <SolidColorBrush x:Key="GaugeForeground" Color="#FF606060"/>
    <SolidColorBrush x:Key="GaugeNumericForeground" Color="#FF606060"/>
    <system:Double x:Key="RadialScaleRadius">1</system:Double>
    <SolidColorBrush x:Key="LinearScaleBarBackground" Color="#FFE5F4F9"/>
    <gauges:ScaleObjectLocation x:Key="TickLocation">OverOutside</gauges:ScaleObjectLocation>
    <gauges:GaugeMeasure x:Key="MajorTickRelativeHeight">0.07*</gauges:GaugeMeasure>
    <gauges:GaugeMeasure x:Key="MiddleTickRelativeHeight">0.05*</gauges:GaugeMeasure>
    <gauges:GaugeMeasure x:Key="MinorTickRelativeHeight">0.03*</gauges:GaugeMeasure>
    <gauges:GaugeMeasure x:Key="TickRelativeWidth">0.005*</gauges:GaugeMeasure>
    <gauges:ScaleObjectLocation x:Key="LabelLocation">Inside</gauges:ScaleObjectLocation>
    <gauges:RotationMode x:Key="LabelRotationDefaultMode">Automatic</gauges:RotationMode>
    <gauges:RotationMode x:Key="LabelRotationSurroundInMode">SurroundIn</gauges:RotationMode>
    <gauges:RotationMode x:Key="LabelRotationSurroundOutMode">SurroundOut</gauges:RotationMode>
    <SolidColorBrush x:Key="MarkerBackground" Color="#FF2366B0"/>
    <SolidColorBrush x:Key="BarBackground" Color="#FF17D6F8"/>
    <SolidColorBrush x:Key="BarStroke" Color="#FF2AADC4"/>
    <system:Double x:Key="BarStrokeThickness">1</system:Double>
    <SolidColorBrush x:Key="NeedleBackground" Color="#FF2366B0"/>
    <gauges:GaugeMeasure x:Key="NeedleEllipseSize">0.11*</gauges:GaugeMeasure>
    <system:Double x:Key="NeedleEllipseStrokeThickness">0</system:Double>
    <SolidColorBrush x:Key="NeedleEllipseBrush" Color="Transparent"/>
    <SolidColorBrush x:Key="NeedleEllipseBackground" Color="#FF2366B0"/>
    <SolidColorBrush x:Key="GaugeBackground" Color="#FFFFFFFF"/>
    <SolidColorBrush x:Key="GaugeStroke" Color="#FF2366B0"/>
    <system:Double x:Key="GaugeStrokeThickness">2</system:Double>
    <SolidColorBrush x:Key="GaugeInnerBackground" Color="Transparent"/>
    <SolidColorBrush x:Key="GaugeInnerStroke" Color="Transparent"/>
    <system:Double x:Key="GaugeInnerStrokeThickness">0</system:Double>
    <Point x:Key="QuadrantGaugeNWCenter">0.9 0.9</Point>
    <Point x:Key="QuadrantGaugeNECenter">0.1 0.9</Point>
    <Point x:Key="QuadrantGaugeSECenter">0.1 0.1</Point>
    <Point x:Key="QuadrantGaugeSWCenter">0.9 0.1</Point>
    <system:Double x:Key="QuadrantGaugeRadius">0.85</system:Double>
    <system:Double x:Key="QuadrantGaugeNWStartAngle">180</system:Double>
    <system:Double x:Key="QuadrantGaugeNEStartAngle">270</system:Double>
    <system:Double x:Key="QuadrantGaugeSEStartAngle">0</system:Double>
    <system:Double x:Key="QuadrantGaugeSWStartAngle">90</system:Double>
    <system:Double x:Key="QuadrantGaugeSweepAngle">90</system:Double>
    <SolidColorBrush x:Key="QuadrantGaugeBackground" Color="#FFFFFFFF"/>
    <SolidColorBrush x:Key="QuadrantGaugeInnerBackground" Color="Transparent"/>
    <Point x:Key="HalfGaugeNCenter">0.5 0.9</Point>
    <Point x:Key="HalfGaugeSCenter">0.5 0.1</Point>
    <Point x:Key="HalfGaugeECenter">0.1 0.5</Point>
    <Point x:Key="HalfGaugeWCenter">0.9 0.5</Point>
    <system:Double x:Key="HalfGaugeRadius">0.85</system:Double>
    <system:Double x:Key="HalfGaugeNStartAngle">180</system:Double>
    <system:Double x:Key="HalfGaugeSStartAngle">0</system:Double>
    <system:Double x:Key="HalfGaugeEStartAngle">270</system:Double>
    <system:Double x:Key="HalfGaugeWStartAngle">90</system:Double>
    <system:Double x:Key="HalfGaugeSweepAngle">180</system:Double>
    <SolidColorBrush x:Key="HalfGaugeBackground" Color="#FFFFFFFF"/>
    <SolidColorBrush x:Key="HalfGaugeBackgroundReversed" Color="#FFFFFFFF"/>
    <SolidColorBrush x:Key="HalfGaugeInnerBackground" Color="Transparent"/>
    <SolidColorBrush x:Key="HalfGaugeInnerStroke" Color="Transparent"/>
    <system:Double x:Key="HalfGaugeInnerStrokeThickness">0</system:Double>
    <SolidColorBrush x:Key="HalfGaugeInnerBackgroundReversed" Color="Transparent"/>
    <SolidColorBrush x:Key="HalfGaugeInnerStrokeReversed" Color="Transparent"/>
    <gauges:ScaleObjectLocation x:Key="HalfGaugeTickLocation">CenterInside</gauges:ScaleObjectLocation>
    <SolidColorBrush x:Key="LinearGaugeOuterBackground" Color="Transparent"/>
    <SolidColorBrush x:Key="HorizontalLinearGaugeOuterBackground" Color="Transparent"/>
    <SolidColorBrush x:Key="LinearGaugeOuterBorderBrush" Color="Transparent"/>
    <SolidColorBrush x:Key="LinearGaugeInnerBackground" Color="Transparent"/>
    <SolidColorBrush x:Key="HorizontalLinearGaugeInnerBackground" Color="Transparent"/>
    <SolidColorBrush x:Key="LinearGaugeInnerBorderBrush" Color="Transparent"/>
    <Thickness x:Key="LinearGaugeInnerBorderThickness">0</Thickness>
    <DataTemplate x:Key="FontNumberPositionTemplate">
        <Grid>
            <TextBlock VerticalAlignment="Center" HorizontalAlignment="Center" Text="{Binding Content}"/>
        </Grid>
    </DataTemplate>
    <Style x:Key="FontNumberPositionStyle" TargetType="gauges:FontNumberPosition">
        <Setter Property="VerticalAlignment" Value="Stretch"/>
        <Setter Property="HorizontalAlignment" Value="Stretch"/>
        <Setter Property="Padding" Value="1"/>
        <Setter Property="ContentTemplate" Value="{StaticResource FontNumberPositionTemplate}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="gauges:FontNumberPosition">
                    <Grid>
                        <Border
                                BorderBrush="{TemplateBinding BorderBrush}"
                                BorderThickness="{TemplateBinding BorderThickness}"
                                Background="{TemplateBinding Background}"
                                CornerRadius="{TemplateBinding CornerRadius}"
                                Opacity="{TemplateBinding Opacity}"
                                Margin="{TemplateBinding Padding}">
                            <ContentPresenter VerticalAlignment="{TemplateBinding VerticalAlignment}" HorizontalAlignment="{TemplateBinding HorizontalAlignment}"/>
                        </Border>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="gauges:FontNumberPosition" BasedOn="{StaticResource FontNumberPositionStyle}"/>
    <Style x:Key="HexagonalNumberPositionStyle" TargetType="gauges:HexagonalNumberPosition">
        <Setter Property="VerticalAlignment" Value="Stretch"/>
        <Setter Property="HorizontalAlignment" Value="Stretch"/>
        <Setter Property="Padding" Value="1"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="gauges:HexagonalNumberPosition">
                    <Grid>
                        <Border
                                BorderBrush="{TemplateBinding BorderBrush}"
                                BorderThickness="{TemplateBinding BorderThickness}"
                                Background="{TemplateBinding Background}"
                                CornerRadius="{TemplateBinding CornerRadius}"
                                Opacity="{TemplateBinding Opacity}"
                                Margin="{TemplateBinding Padding}">
                            <ContentPresenter VerticalAlignment="{TemplateBinding VerticalAlignment}" HorizontalAlignment="{TemplateBinding HorizontalAlignment}"/>
                        </Border>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="gauges:HexagonalNumberPosition" BasedOn="{StaticResource HexagonalNumberPositionStyle}"/>
    <Style x:Key="Hexagonal7SegsShapeH" TargetType="Polygon">
        <Setter Property="Stretch" Value="Fill"/>
        <Setter Property="Grid.ColumnSpan" Value="3"/>
        <Setter Property="Margin" Value="3 0"/>
    </Style>
    <Style x:Key="Hexagonal7SegsShapeV" TargetType="Polygon">
        <Setter Property="Stretch" Value="Fill"/>
        <Setter Property="Grid.RowSpan" Value="3"/>
        <Setter Property="Margin" Value="0 3"/>
    </Style>
    <DataTemplate x:Key="HexagonalSevenSegsSb">
        <Grid/>
    </DataTemplate>
    <DataTemplate x:Key="HexagonalSevenSegs0">
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="5*"/>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="5*"/>
                <RowDefinition Height="1*"/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="1*"/>
                <ColumnDefinition Width="5*"/>
                <ColumnDefinition Width="1*"/>
            </Grid.ColumnDefinitions>
            <Polygon Fill="{Binding Foreground}" Style="{StaticResource Hexagonal7SegsShapeH}" Points="0,5 5,0 35,0 40,5 35,10 5,10" Grid.Row="0" Grid.Column="0"/>
            <Polygon Fill="{Binding Foreground}" Style="{StaticResource Hexagonal7SegsShapeV}" Points="5,1 0,5 0,35 5,39 10,35 10,5" Grid.Row="0" Grid.Column="2"/>
            <Polygon Fill="{Binding Foreground}" Style="{StaticResource Hexagonal7SegsShapeV}" Points="5,1 0,5 0,35 5,39 10,35 10,5" Grid.Row="2" Grid.Column="2"/>
            <Polygon Fill="{Binding Foreground}" Style="{StaticResource Hexagonal7SegsShapeH}" Points="0,5 5,0 35,0 40,5 35,10 5,10" Grid.Row="4" Grid.Column="0"/>
            <Polygon Fill="{Binding Foreground}" Style="{StaticResource Hexagonal7SegsShapeV}" Points="5,1 0,5 0,35 5,39 10,35 10,5" Grid.Row="2" Grid.Column="0"/>
            <Polygon Fill="{Binding Foreground}" Style="{StaticResource Hexagonal7SegsShapeV}" Points="5,1 0,5 0,35 5,39 10,35 10,5" Grid.Row="0" Grid.Column="0"/>
        </Grid>
    </DataTemplate>
    <DataTemplate x:Key="HexagonalSevenSegs1">
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="5*"/>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="5*"/>
                <RowDefinition Height="1*"/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="1*"/>
                <ColumnDefinition Width="5*"/>
                <ColumnDefinition Width="1*"/>
            </Grid.ColumnDefinitions>
            <Polygon Fill="{Binding Foreground}" Style="{StaticResource Hexagonal7SegsShapeV}" Points="5,1 0,5 0,35 5,39 10,35 10,5" Grid.Row="0" Grid.Column="2"/>
            <Polygon Fill="{Binding Foreground}" Style="{StaticResource Hexagonal7SegsShapeV}" Points="5,1 0,5 0,35 5,39 10,35 10,5" Grid.Row="2" Grid.Column="2"/>
        </Grid>
    </DataTemplate>
    <DataTemplate x:Key="HexagonalSevenSegs2">
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="5*"/>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="5*"/>
                <RowDefinition Height="1*"/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="1*"/>
                <ColumnDefinition Width="5*"/>
                <ColumnDefinition Width="1*"/>
            </Grid.ColumnDefinitions>
            <Polygon Fill="{Binding Foreground}" Style="{StaticResource Hexagonal7SegsShapeH}" Points="0,5 5,0 35,0 40,5 35,10 5,10" Grid.Row="0" Grid.Column="0"/>
            <Polygon Fill="{Binding Foreground}" Style="{StaticResource Hexagonal7SegsShapeV}" Points="5,1 0,5 0,35 5,39 10,35 10,5" Grid.Row="0" Grid.Column="2"/>
            <Polygon Fill="{Binding Foreground}" Style="{StaticResource Hexagonal7SegsShapeH}" Points="0,5 5,0 35,0 40,5 35,10 5,10" Grid.Row="2" Grid.Column="0"/>
            <Polygon Fill="{Binding Foreground}" Style="{StaticResource Hexagonal7SegsShapeV}" Points="5,1 0,5 0,35 5,39 10,35 10,5" Grid.Row="2" Grid.Column="0"/>
            <Polygon Fill="{Binding Foreground}" Style="{StaticResource Hexagonal7SegsShapeH}" Points="0,5 5,0 35,0 40,5 35,10 5,10" Grid.Row="4" Grid.Column="0"/>
        </Grid>
    </DataTemplate>
    <DataTemplate x:Key="HexagonalSevenSegs3">
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="5*"/>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="5*"/>
                <RowDefinition Height="1*"/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="1*"/>
                <ColumnDefinition Width="5*"/>
                <ColumnDefinition Width="1*"/>
            </Grid.ColumnDefinitions>
            <Polygon Fill="{Binding Foreground}" Style="{StaticResource Hexagonal7SegsShapeH}" Points="0,5 5,0 35,0 40,5 35,10 5,10" Grid.Row="0" Grid.Column="0"/>
            <Polygon Fill="{Binding Foreground}" Style="{StaticResource Hexagonal7SegsShapeV}" Points="5,1 0,5 0,35 5,39 10,35 10,5" Grid.Row="0" Grid.Column="2"/>
            <Polygon Fill="{Binding Foreground}" Style="{StaticResource Hexagonal7SegsShapeH}" Points="0,5 5,0 35,0 40,5 35,10 5,10" Grid.Row="2" Grid.Column="0"/>
            <Polygon Fill="{Binding Foreground}" Style="{StaticResource Hexagonal7SegsShapeV}" Points="5,1 0,5 0,35 5,39 10,35 10,5" Grid.Row="2" Grid.Column="2"/>
            <Polygon Fill="{Binding Foreground}" Style="{StaticResource Hexagonal7SegsShapeH}" Points="0,5 5,0 35,0 40,5 35,10 5,10" Grid.Row="4" Grid.Column="0"/>
        </Grid>
    </DataTemplate>
    <DataTemplate x:Key="HexagonalSevenSegs4">
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="5*"/>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="5*"/>
                <RowDefinition Height="1*"/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="1*"/>
                <ColumnDefinition Width="5*"/>
                <ColumnDefinition Width="1*"/>
            </Grid.ColumnDefinitions>
            <Polygon Fill="{Binding Foreground}" Style="{StaticResource Hexagonal7SegsShapeV}" Points="5,1 0,5 0,35 5,39 10,35 10,5" Grid.Row="0" Grid.Column="0"/>
            <Polygon Fill="{Binding Foreground}" Style="{StaticResource Hexagonal7SegsShapeV}" Points="5,1 0,5 0,35 5,39 10,35 10,5" Grid.Row="0" Grid.Column="2"/>
            <Polygon Fill="{Binding Foreground}" Style="{StaticResource Hexagonal7SegsShapeH}" Points="0,5 5,0 35,0 40,5 35,10 5,10" Grid.Row="2" Grid.Column="0"/>
            <Polygon Fill="{Binding Foreground}" Style="{StaticResource Hexagonal7SegsShapeV}" Points="5,1 0,5 0,35 5,39 10,35 10,5" Grid.Row="2" Grid.Column="2"/>
        </Grid>
    </DataTemplate>
    <DataTemplate x:Key="HexagonalSevenSegs5">
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="5*"/>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="5*"/>
                <RowDefinition Height="1*"/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="1*"/>
                <ColumnDefinition Width="5*"/>
                <ColumnDefinition Width="1*"/>
            </Grid.ColumnDefinitions>
            <Polygon Fill="{Binding Foreground}" Style="{StaticResource Hexagonal7SegsShapeH}" Points="0,5 5,0 35,0 40,5 35,10 5,10" Grid.Row="0" Grid.Column="0"/>
            <Polygon Fill="{Binding Foreground}" Style="{StaticResource Hexagonal7SegsShapeV}" Points="5,1 0,5 0,35 5,39 10,35 10,5" Grid.Row="0" Grid.Column="0"/>
            <Polygon Fill="{Binding Foreground}" Style="{StaticResource Hexagonal7SegsShapeH}" Points="0,5 5,0 35,0 40,5 35,10 5,10" Grid.Row="2" Grid.Column="0"/>
            <Polygon Fill="{Binding Foreground}" Style="{StaticResource Hexagonal7SegsShapeV}" Points="5,1 0,5 0,35 5,39 10,35 10,5" Grid.Row="2" Grid.Column="2"/>
            <Polygon Fill="{Binding Foreground}" Style="{StaticResource Hexagonal7SegsShapeH}" Points="0,5 5,0 35,0 40,5 35,10 5,10" Grid.Row="4" Grid.Column="0"/>
        </Grid>
    </DataTemplate>
    <DataTemplate x:Key="HexagonalSevenSegs6">
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="5*"/>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="5*"/>
                <RowDefinition Height="1*"/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="1*"/>
                <ColumnDefinition Width="5*"/>
                <ColumnDefinition Width="1*"/>
            </Grid.ColumnDefinitions>
            <Polygon Fill="{Binding Foreground}" Style="{StaticResource Hexagonal7SegsShapeH}" Points="0,5 5,0 35,0 40,5 35,10 5,10" Grid.Row="0" Grid.Column="0"/>
            <Polygon Fill="{Binding Foreground}" Style="{StaticResource Hexagonal7SegsShapeV}" Points="5,1 0,5 0,35 5,39 10,35 10,5" Grid.Row="0" Grid.Column="0"/>
            <Polygon Fill="{Binding Foreground}" Style="{StaticResource Hexagonal7SegsShapeH}" Points="0,5 5,0 35,0 40,5 35,10 5,10" Grid.Row="2" Grid.Column="0"/>
            <Polygon Fill="{Binding Foreground}" Style="{StaticResource Hexagonal7SegsShapeV}" Points="5,1 0,5 0,35 5,39 10,35 10,5" Grid.Row="2" Grid.Column="0"/>
            <Polygon Fill="{Binding Foreground}" Style="{StaticResource Hexagonal7SegsShapeV}" Points="5,1 0,5 0,35 5,39 10,35 10,5" Grid.Row="2" Grid.Column="2"/>
            <Polygon Fill="{Binding Foreground}" Style="{StaticResource Hexagonal7SegsShapeH}" Points="0,5 5,0 35,0 40,5 35,10 5,10" Grid.Row="4" Grid.Column="0"/>
        </Grid>
    </DataTemplate>
    <DataTemplate x:Key="HexagonalSevenSegs7">
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="5*"/>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="5*"/>
                <RowDefinition Height="1*"/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="1*"/>
                <ColumnDefinition Width="5*"/>
                <ColumnDefinition Width="1*"/>
            </Grid.ColumnDefinitions>
            <Polygon Fill="{Binding Foreground}" Style="{StaticResource Hexagonal7SegsShapeH}" Points="0,5 5,0 35,0 40,5 35,10 5,10" Grid.Row="0" Grid.Column="0"/>
            <Polygon Fill="{Binding Foreground}" Style="{StaticResource Hexagonal7SegsShapeV}" Points="5,1 0,5 0,35 5,39 10,35 10,5" Grid.Row="0" Grid.Column="2"/>
            <Polygon Fill="{Binding Foreground}" Style="{StaticResource Hexagonal7SegsShapeV}" Points="5,1 0,5 0,35 5,39 10,35 10,5" Grid.Row="2" Grid.Column="2"/>
        </Grid>
    </DataTemplate>
    <DataTemplate x:Key="HexagonalSevenSegs8">
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="5*"/>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="5*"/>
                <RowDefinition Height="1*"/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="1*"/>
                <ColumnDefinition Width="5*"/>
                <ColumnDefinition Width="1*"/>
            </Grid.ColumnDefinitions>
            <Polygon Fill="{Binding Foreground}" Style="{StaticResource Hexagonal7SegsShapeH}" Points="0,5 5,0 35,0 40,5 35,10 5,10" Grid.Row="0" Grid.Column="0"/>
            <Polygon Fill="{Binding Foreground}" Style="{StaticResource Hexagonal7SegsShapeV}" Points="5,1 0,5 0,35 5,39 10,35 10,5" Grid.Row="0" Grid.Column="0"/>
            <Polygon Fill="{Binding Foreground}" Style="{StaticResource Hexagonal7SegsShapeV}" Points="5,1 0,5 0,35 5,39 10,35 10,5" Grid.Row="0" Grid.Column="2"/>
            <Polygon Fill="{Binding Foreground}" Style="{StaticResource Hexagonal7SegsShapeH}" Points="0,5 5,0 35,0 40,5 35,10 5,10" Grid.Row="2" Grid.Column="0"/>
            <Polygon Fill="{Binding Foreground}" Style="{StaticResource Hexagonal7SegsShapeV}" Points="5,1 0,5 0,35 5,39 10,35 10,5" Grid.Row="2" Grid.Column="0"/>
            <Polygon Fill="{Binding Foreground}" Style="{StaticResource Hexagonal7SegsShapeV}" Points="5,1 0,5 0,35 5,39 10,35 10,5" Grid.Row="2" Grid.Column="2"/>
            <Polygon Fill="{Binding Foreground}" Style="{StaticResource Hexagonal7SegsShapeH}" Points="0,5 5,0 35,0 40,5 35,10 5,10" Grid.Row="4" Grid.Column="0"/>
        </Grid>
    </DataTemplate>
    <DataTemplate x:Key="HexagonalSevenSegs9">
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="5*"/>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="5*"/>
                <RowDefinition Height="1*"/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="1*"/>
                <ColumnDefinition Width="5*"/>
                <ColumnDefinition Width="1*"/>
            </Grid.ColumnDefinitions>
            <Polygon Fill="{Binding Foreground}" Style="{StaticResource Hexagonal7SegsShapeH}" Points="0,5 5,0 35,0 40,5 35,10 5,10" Grid.Row="0" Grid.Column="0"/>
            <Polygon Fill="{Binding Foreground}" Style="{StaticResource Hexagonal7SegsShapeV}" Points="5,1 0,5 0,35 5,39 10,35 10,5" Grid.Row="0" Grid.Column="0"/>
            <Polygon Fill="{Binding Foreground}" Style="{StaticResource Hexagonal7SegsShapeV}" Points="5,1 0,5 0,35 5,39 10,35 10,5" Grid.Row="0" Grid.Column="2"/>
            <Polygon Fill="{Binding Foreground}" Style="{StaticResource Hexagonal7SegsShapeH}" Points="0,5 5,0 35,0 40,5 35,10 5,10" Grid.Row="2" Grid.Column="0"/>
            <Polygon Fill="{Binding Foreground}" Style="{StaticResource Hexagonal7SegsShapeV}" Points="5,1 0,5 0,35 5,39 10,35 10,5" Grid.Row="2" Grid.Column="2"/>
            <Polygon Fill="{Binding Foreground}" Style="{StaticResource Hexagonal7SegsShapeH}" Points="0,5 5,0 35,0 40,5 35,10 5,10" Grid.Row="4" Grid.Column="0"/>
        </Grid>
    </DataTemplate>
    <DataTemplate x:Key="HexagonalSevenSegs.">
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="5*"/>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="5*"/>
                <RowDefinition Height="2*"/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="1*"/>
                <ColumnDefinition Width="1*"/>
                <ColumnDefinition Width="1*"/>
            </Grid.ColumnDefinitions>
            <Polygon Fill="{Binding Foreground}" Grid.Row="4" Grid.Column="1" Points="0,5 5,5 5,0 0,0" Style="{StaticResource Hexagonal7SegsShapeH}"/>
        </Grid>
    </DataTemplate>
    <DataTemplate x:Key="HexagonalSevenSegs,">
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="5*"/>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="5*"/>
                <RowDefinition Height="2*"/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="1*"/>
                <ColumnDefinition Width="1*"/>
                <ColumnDefinition Width="1*"/>
            </Grid.ColumnDefinitions>
            <Polygon Fill="{Binding Foreground}" Grid.Row="4" Grid.Column="1" Points="0,5 5,5 5,0 0,0" Style="{StaticResource Hexagonal7SegsShapeH}"/>
        </Grid>
    </DataTemplate>
    <DataTemplate x:Key="HexagonalSevenSegs-">
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="5*"/>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="5*"/>
                <RowDefinition Height="1*"/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="1*"/>
                <ColumnDefinition Width="5*"/>
                <ColumnDefinition Width="1*"/>
            </Grid.ColumnDefinitions>
            <Polygon Fill="{Binding Foreground}" Style="{StaticResource Hexagonal7SegsShapeH}" Points="0,5 5,0 35,0 40,5 35,10 5,10" Grid.Row="2" Grid.Column="0"/>
        </Grid>
    </DataTemplate>
    <Style x:Key="NeedleStyle" TargetType="gauges:Needle">
        <Setter Property="gauges:ScaleObject.Location" Value="Inside"/>
        <Setter Property="gauges:ScaleObject.RelativeWidth" Value="0.07*"/>
        <Setter Property="gauges:ScaleObject.Offset" Value="0.15*"/>
        <Setter Property="Background" Value="{StaticResource NeedleBackground}"/>
        <Setter Property="TailHeight" Value="0"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="gauges:Needle">
                    <Grid x:Name="PART_Grid">
                        <Polygon Points="0,0 1,0 0.5,1" Fill="{TemplateBinding Background}" Stroke="{TemplateBinding BorderBrush}" Stretch="Fill"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="gauges:Needle" BasedOn="{StaticResource NeedleStyle}"/>
    <Style x:Key="MarkerStyle" TargetType="gauges:Marker">
        <Setter Property="gauges:ScaleObject.Location" Value="OverOutside"/>
        <Setter Property="gauges:ScaleObject.RelativeHeight" Value="0.08*"/>
        <Setter Property="gauges:ScaleObject.RelativeWidth" Value="0.12*"/>
        <Setter Property="gauges:LinearScale.RotateForVertical" Value="True"/>
        <Setter Property="Background" Value="{StaticResource MarkerBackground}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="gauges:Marker">
                    <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
                        <Polygon
                                Points="0.5,0 1,0.5 0,0.5"
                                Stretch="Fill"
                                Fill="{TemplateBinding Background}"
                                Stroke="{TemplateBinding BorderBrush}"
                                StrokeThickness="{TemplateBinding BorderThickness}"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="gauges:Marker" BasedOn="{StaticResource MarkerStyle}"/>
    <Style x:Key="BarIndicatorStyle" TargetType="gauges:BarIndicator">
        <Setter Property="Background" Value="{StaticResource BarBackground}"/>
        <Setter Property="BorderBrush" Value="{StaticResource BarStroke}"/>
        <Setter Property="StrokeThickness" Value="{StaticResource BarStrokeThickness}"/>
        <Setter Property="gauges:ScaleObject.Location" Value="OverCenter"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="gauges:BarIndicator">
                    <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
                        <Path x:Name="PART_BarPath"
                                Fill="{TemplateBinding Background}"
                                Stroke="{TemplateBinding BorderBrush}"
                                StrokeThickness="{TemplateBinding StrokeThickness}"
                                SnapsToDevicePixels="True"/>
                        <Path x:Name="PART_EmptyPath" Fill="{TemplateBinding EmptyFill}" SnapsToDevicePixels="True"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="gauges:BarIndicator" BasedOn="{StaticResource BarIndicatorStyle}"/>
    <Style x:Key="NumericIndicatorStyle" TargetType="gauges:NumericIndicator">
        <Setter Property="Foreground" Value="{StaticResource GaugeNumericForeground}"/>
        <Setter Property="FontSize" Value="11"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="gauges:NumericIndicator">
                    <Border
                            BorderBrush="{TemplateBinding BorderBrush}"
                            BorderThickness="{TemplateBinding BorderThickness}"
                            Background="{TemplateBinding Background}"
                            CornerRadius="{TemplateBinding CornerRadius}">
                        <Grid>
                            <StackPanel x:Name="PART_PositionPanel" Orientation="Horizontal" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"/>
                        </Grid>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="gauges:NumericIndicator" BasedOn="{StaticResource NumericIndicatorStyle}"/>
    <Style x:Key="PinpointStyle" TargetType="gauges:Pinpoint">
        <Setter Property="gauges:ScaleObject.RelativeHeight" Value="{StaticResource NeedleEllipseSize}"/>
        <Setter Property="gauges:ScaleObject.RelativeWidth" Value="{StaticResource NeedleEllipseSize}"/>
        <Setter Property="Background" Value="{StaticResource NeedleEllipseBackground}"/>
        <Setter Property="StrokeThickness" Value="{StaticResource NeedleEllipseStrokeThickness}"/>
        <Setter Property="BorderBrush" Value="{StaticResource NeedleEllipseBrush}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="gauges:Pinpoint">
                    <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
                        <Ellipse Stretch="Fill" Fill="{TemplateBinding Background}" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="{TemplateBinding StrokeThickness}"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="gauges:Pinpoint" BasedOn="{StaticResource PinpointStyle}"/>
    <Style x:Key="StateIndicatorStyle" TargetType="gauges:StateIndicator">
        <Setter Property="gauges:ScaleObject.RelativeHeight" Value="0.1*"/>
        <Setter Property="gauges:ScaleObject.RelativeWidth" Value="0.1*"/>
        <Setter Property="gauges:ScaleObject.RelativeX" Value="0.5"/>
        <Setter Property="gauges:ScaleObject.RelativeY" Value="0.25"/>
        <Setter Property="Background" Value="Transparent"/>
        <Setter Property="VerticalAlignment" Value="Center"/>
        <Setter Property="HorizontalAlignment" Value="Center"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="gauges:StateIndicator">
                    <Grid>
                        <Ellipse Stretch="Fill" Fill="{TemplateBinding Background}" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="{TemplateBinding StrokeThickness}"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="gauges:StateIndicator" BasedOn="{StaticResource StateIndicatorStyle}"/>
    <DataTemplate x:Key="GaugeRangeTemplate">
        <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
            <Path x:Name="PART_RangePath"
                    Fill="{Binding Background}"
                    Stroke="{Binding Stroke}"
                    StrokeThickness="{Binding StrokeThickness}"
                    Visibility="{Binding Visibility}"
                    Data="{Binding Geometry}"/>
        </Grid>
    </DataTemplate>
    <Style x:Key="NumericScaleStyle" TargetType="gauges:NumericScale">
        <Setter Property="Foreground" Value="{StaticResource GaugeNumericForeground}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="gauges:NumericScale">
                    <Grid>
                        <ItemsPresenter/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="ItemsPanel">
            <Setter.Value>
                <ItemsPanelTemplate>
                    <Canvas VerticalAlignment="Stretch" HorizontalAlignment="Stretch"/>
                </ItemsPanelTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="gauges:NumericScale" BasedOn="{StaticResource NumericScaleStyle}"/>
    <Style TargetType="gauges:LinearScaleMarker" BasedOn="{StaticResource MarkerStyle}"/>
    <DataTemplate x:Key="LinearMajorTickTemplate">
        <Rectangle Fill="{Binding Path=Background}" Stroke="{Binding Path=Stroke}" StrokeThickness="{Binding Path=StrokeThickness}" Stretch="Fill"/>
    </DataTemplate>
    <DataTemplate x:Key="LinearMiddleTickTemplate">
        <Rectangle Fill="{Binding Path=Background}" Stroke="{Binding Path=Stroke}" StrokeThickness="{Binding Path=StrokeThickness}" Stretch="Fill"/>
    </DataTemplate>
    <DataTemplate x:Key="LinearMinorTickTemplate">
        <Rectangle Fill="{Binding Path=Background}" Stroke="{Binding Path=Stroke}" StrokeThickness="{Binding Path=StrokeThickness}" Stretch="Fill"/>
    </DataTemplate>
    <DataTemplate x:Key="LinearLabelTemplate">
        <TextBlock
                FontSize="{Binding FontSize}"
                FontStretch="{Binding FontStretch}"
                FontStyle="{Binding FontStyle}"
                FontWeight="{Binding FontWeight}"
                Foreground="{Binding Foreground}"
                Text="{Binding FormattedValue}"/>
    </DataTemplate>
    <Style x:Key="LinearScaleStyle" TargetType="gauges:LinearScale">
        <Setter Property="MajorTickBackground" Value="{StaticResource LinearTickBackground}"/>
        <Setter Property="MiddleTickBackground" Value="{StaticResource LinearTickBackground}"/>
        <Setter Property="MinorTickBackground" Value="{StaticResource LinearTickBackground}"/>
        <Setter Property="Foreground" Value="{StaticResource GaugeForeground}"/>
        <Setter Property="Fill" Value="{StaticResource LinearScaleBarBackground}"/>
        <Setter Property="LabelTemplate" Value="{StaticResource LinearLabelTemplate}"/>
        <Setter Property="LabelLocation" Value="Outside"/>
        <Setter Property="LabelOffset" Value="0.1*"/>
        <Setter Property="MajorTicks" Value="4"/>
        <Setter Property="MajorTickTemplate" Value="{StaticResource LinearMajorTickTemplate}"/>
        <Setter Property="MajorTickLocation" Value="Outside"/>
        <Setter Property="MiddleTicks" Value="2"/>
        <Setter Property="MiddleTickTemplate" Value="{StaticResource LinearMiddleTickTemplate}"/>
        <Setter Property="MiddleTickLocation" Value="Outside"/>
        <Setter Property="MinorTicks" Value="3"/>
        <Setter Property="MinorTickTemplate" Value="{StaticResource LinearMinorTickTemplate}"/>
        <Setter Property="MinorTickLocation" Value="Outside"/>
        <Setter Property="StartWidth" Value="0.14"/>
        <Setter Property="EndWidth" Value="0.14"/>
        <Setter Property="RangeTemplate" Value="{StaticResource GaugeRangeTemplate}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="gauges:LinearScale">
                    <Grid>
                        <Path x:Name="PART_ScalePath"
                                Stroke="{TemplateBinding Stroke}"
                                StrokeThickness="{TemplateBinding StrokeThickness}"
                                Fill="{TemplateBinding Fill}"
                                VerticalAlignment="Stretch"
                                HorizontalAlignment="Stretch"/>
                        <ItemsPresenter/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="ItemsPanel">
            <Setter.Value>
                <ItemsPanelTemplate>
                    <Canvas VerticalAlignment="Stretch" HorizontalAlignment="Stretch"/>
                </ItemsPanelTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="gauges:LinearScale" BasedOn="{StaticResource LinearScaleStyle}"/>
    <Style TargetType="gauges:RadialScaleMarker" BasedOn="{StaticResource MarkerStyle}"/>
    <DataTemplate x:Key="MajorTickTemplate">
        <Rectangle Fill="{Binding Path=Background}" Stroke="{Binding Path=Stroke}" StrokeThickness="{Binding Path=StrokeThickness}" Stretch="Fill"/>
    </DataTemplate>
    <DataTemplate x:Key="MiddleTickTemplate">
        <Rectangle Fill="{Binding Path=Background}" Stroke="{Binding Path=Stroke}" StrokeThickness="{Binding Path=StrokeThickness}" Stretch="Fill"/>
    </DataTemplate>
    <DataTemplate x:Key="MinorTickTemplate">
        <Rectangle Fill="{Binding Path=Background}" Stroke="{Binding Path=Stroke}" StrokeThickness="{Binding Path=StrokeThickness}" Stretch="Fill"/>
    </DataTemplate>
    <DataTemplate x:Key="RadialLabelTemplate">
        <TextBlock
                FontSize="{Binding FontSize}"
                FontStretch="{Binding FontStretch}"
                FontStyle="{Binding FontStyle}"
                FontWeight="{Binding FontWeight}"
                Foreground="{Binding Foreground}"
                Text="{Binding FormattedValue}"/>
    </DataTemplate>
    <Style x:Key="RadialScaleStyle" TargetType="gauges:RadialScale">
        <Setter Property="Foreground" Value="{StaticResource GaugeForeground}"/>
        <Setter Property="MajorTickBackground" Value="{StaticResource RadialTickBackground}"/>
        <Setter Property="MiddleTickBackground" Value="{StaticResource RadialTickBackground}"/>
        <Setter Property="MinorTickBackground" Value="{StaticResource RadialTickBackground}"/>
        <Setter Property="RangeLocation" Value="OverOutside"/>
        <Setter Property="Center" Value="0.5, 0.5"/>
        <Setter Property="Radius" Value="{StaticResource RadialScaleRadius}"/>
        <Setter Property="StartAngle" Value="120"/>
        <Setter Property="SweepAngle" Value="300"/>
        <Setter Property="StartWidth" Value="0.1"/>
        <Setter Property="EndWidth" Value="0.1"/>
        <Setter Property="Fill" Value="Transparent"/>
        <Setter Property="LabelTemplate" Value="{StaticResource RadialLabelTemplate}"/>
        <Setter Property="LabelLocation" Value="{StaticResource LabelLocation}"/>
        <Setter Property="LabelRotationMode" Value="{StaticResource LabelRotationDefaultMode}"/>
        <Setter Property="MajorTicks" Value="10"/>
        <Setter Property="MajorTickTemplate" Value="{StaticResource MajorTickTemplate}"/>
        <Setter Property="MajorTickLocation" Value="{StaticResource TickLocation}"/>
        <Setter Property="MajorTickRelativeHeight" Value="{StaticResource MajorTickRelativeHeight}"/>
        <Setter Property="MajorTickRelativeWidth" Value="{StaticResource TickRelativeWidth}"/>
        <Setter Property="MiddleTicks" Value="2"/>
        <Setter Property="MiddleTickTemplate" Value="{StaticResource MiddleTickTemplate}"/>
        <Setter Property="MiddleTickRelativeHeight" Value="{StaticResource MiddleTickRelativeHeight}"/>
        <Setter Property="MiddleTickRelativeWidth" Value="{StaticResource TickRelativeWidth}"/>
        <Setter Property="MiddleTickLocation" Value="{StaticResource TickLocation}"/>
        <Setter Property="MinorTicks" Value="2"/>
        <Setter Property="MinorTickTemplate" Value="{StaticResource MinorTickTemplate}"/>
        <Setter Property="MinorTickRelativeHeight" Value="{StaticResource MinorTickRelativeHeight}"/>
        <Setter Property="MinorTickRelativeWidth" Value="{StaticResource TickRelativeWidth}"/>
        <Setter Property="MinorTickLocation" Value="{StaticResource TickLocation}"/>
        <Setter Property="RangeTemplate" Value="{StaticResource GaugeRangeTemplate}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="gauges:RadialScale">
                    <Grid>
                        <Path x:Name="PART_ScalePath"
                                Stroke="{TemplateBinding Stroke}"
                                StrokeThickness="{TemplateBinding StrokeThickness}"
                                Fill="{TemplateBinding Fill}"
                                VerticalAlignment="Stretch"
                                HorizontalAlignment="Stretch"/>
                        <ItemsPresenter/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="ItemsPanel">
            <Setter.Value>
                <ItemsPanelTemplate>
                    <Canvas VerticalAlignment="Stretch" HorizontalAlignment="Stretch"/>
                </ItemsPanelTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="gauges:RadialScale" BasedOn="{StaticResource RadialScaleStyle}"/>
    <Style x:Key="VerticalLinearScaleStyle" BasedOn="{StaticResource LinearScaleStyle}" TargetType="gauges:VerticalLinearScale">
        <Setter Property="Orientation" Value="Vertical"/>
        <Setter Property="RelativeX" Value="0.5"/>
        <Setter Property="RelativeY" Value="0.12"/>
        <Setter Property="RelativeHeight" Value="0.8"/>
        <Setter Property="MajorTickRelativeHeight" Value="0.002*"/>
        <Setter Property="MajorTickRelativeWidth" Value="0.07*"/>
        <Setter Property="MiddleTickRelativeHeight" Value="0.002*"/>
        <Setter Property="MiddleTickRelativeWidth" Value="0.04*"/>
        <Setter Property="MinorTickRelativeHeight" Value="0.002*"/>
        <Setter Property="MinorTickRelativeWidth" Value="0.03*"/>
    </Style>
    <Style TargetType="gauges:VerticalLinearScale" BasedOn="{StaticResource VerticalLinearScaleStyle}"/>
    <Style x:Key="HorizontalLinearScaleStyle" BasedOn="{StaticResource LinearScaleStyle}" TargetType="gauges:HorizontalLinearScale">
        <Setter Property="Orientation" Value="Horizontal"/>
        <Setter Property="RelativeX" Value="0.1"/>
        <Setter Property="RelativeY" Value="0.5"/>
        <Setter Property="RelativeWidth" Value="0.8"/>
        <Setter Property="MajorTickRelativeHeight" Value="0.07*"/>
        <Setter Property="MajorTickRelativeWidth" Value="0.003*"/>
        <Setter Property="MiddleTickRelativeHeight" Value="0.04*"/>
        <Setter Property="MiddleTickRelativeWidth" Value="0.003*"/>
        <Setter Property="MinorTickRelativeHeight" Value="0.03*"/>
        <Setter Property="MinorTickRelativeWidth" Value="0.003*"/>
    </Style>
    <Style TargetType="gauges:HorizontalLinearScale" BasedOn="{StaticResource HorizontalLinearScaleStyle}"/>
    <Style x:Key="RadVerticalLinearGaugeStyle" TargetType="datavizControls:RadVerticalLinearGauge">
        <Setter Property="Background" Value="{StaticResource LinearGaugeInnerBackground}"/>
        <Setter Property="BorderBrush" Value="{StaticResource LinearGaugeInnerBorderBrush}"/>
        <Setter Property="BorderThickness" Value="{StaticResource LinearGaugeInnerBorderThickness}"/>
        <Setter Property="OuterBackground" Value="{StaticResource LinearGaugeOuterBackground}"/>
        <Setter Property="OuterBorderBrush" Value="{StaticResource LinearGaugeOuterBorderBrush}"/>
        <Setter Property="OuterBorderThickness" Value="1"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="datavizControls:RadVerticalLinearGauge">
                    <Grid>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="2*"/>
                            <RowDefinition Height="96*"/>
                            <RowDefinition Height="2*"/>
                        </Grid.RowDefinitions>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="6*"/>
                            <ColumnDefinition Width="88*"/>
                            <ColumnDefinition Width="6*"/>
                        </Grid.ColumnDefinitions>
                        <Border
                                Grid.RowSpan="3"
                                Grid.ColumnSpan="3"
                                HorizontalAlignment="Stretch"
                                VerticalAlignment="Stretch"
                                BorderThickness="{TemplateBinding OuterBorderThickness}"
                                BorderBrush="{TemplateBinding OuterBorderBrush}"
                                Background="{TemplateBinding OuterBackground}"/>
                        <Border
                                Grid.Row="1"
                                Grid.Column="1"
                                BorderThickness="{TemplateBinding BorderThickness}"
                                BorderBrush="{TemplateBinding BorderBrush}"
                                Background="{TemplateBinding Background}"
                                SnapsToDevicePixels="True"/>
                        <ItemsPresenter Grid.RowSpan="3" Grid.ColumnSpan="3"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="ItemsPanel">
            <Setter.Value>
                <ItemsPanelTemplate>
                    <Grid/>
                </ItemsPanelTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="datavizControls:RadVerticalLinearGauge" BasedOn="{StaticResource RadVerticalLinearGaugeStyle}"/>
    <Style x:Key="RadHorizontalLinearGaugeStyle" TargetType="datavizControls:RadHorizontalLinearGauge">
        <Setter Property="Background" Value="{StaticResource HorizontalLinearGaugeInnerBackground}"/>
        <Setter Property="BorderBrush" Value="{StaticResource LinearGaugeInnerBorderBrush}"/>
        <Setter Property="BorderThickness" Value="{StaticResource LinearGaugeInnerBorderThickness}"/>
        <Setter Property="OuterBackground" Value="{StaticResource HorizontalLinearGaugeOuterBackground}"/>
        <Setter Property="OuterBorderBrush" Value="{StaticResource LinearGaugeOuterBorderBrush}"/>
        <Setter Property="OuterBorderThickness" Value="1"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="datavizControls:RadHorizontalLinearGauge">
                    <Grid>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="6*"/>
                            <RowDefinition Height="88*"/>
                            <RowDefinition Height="6*"/>
                        </Grid.RowDefinitions>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="2*"/>
                            <ColumnDefinition Width="96*"/>
                            <ColumnDefinition Width="2*"/>
                        </Grid.ColumnDefinitions>
                        <Border
                                Grid.RowSpan="3"
                                Grid.ColumnSpan="3"
                                HorizontalAlignment="Stretch"
                                VerticalAlignment="Stretch"
                                BorderThickness="{TemplateBinding OuterBorderThickness}"
                                BorderBrush="{TemplateBinding OuterBorderBrush}"
                                Background="{TemplateBinding OuterBackground}"/>
                        <Border
                                Grid.Row="1"
                                Grid.Column="1"
                                BorderThickness="{TemplateBinding BorderThickness}"
                                BorderBrush="{TemplateBinding BorderBrush}"
                                Background="{TemplateBinding Background}"
                                SnapsToDevicePixels="True"/>
                        <ItemsPresenter Grid.RowSpan="3" Grid.ColumnSpan="3"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="ItemsPanel">
            <Setter.Value>
                <ItemsPanelTemplate>
                    <Grid/>
                </ItemsPanelTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="datavizControls:RadHorizontalLinearGauge" BasedOn="{StaticResource RadHorizontalLinearGaugeStyle}"/>
    <Style x:Key="RadRadialGaugeStyle" TargetType="datavizControls:RadRadialGauge">
        <Setter Property="OuterBackground" Value="{StaticResource GaugeBackground}"/>
        <Setter Property="OuterBorderBrush" Value="{StaticResource GaugeStroke}"/>
        <Setter Property="OuterBorderThickness" Value="{StaticResource GaugeStrokeThickness}"/>
        <Setter Property="InnerBackground" Value="{StaticResource GaugeInnerBackground}"/>
        <Setter Property="InnerBorderBrush" Value="{StaticResource GaugeInnerStroke}"/>
        <Setter Property="InnerBorderThickness" Value="{StaticResource GaugeInnerStrokeThickness}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="datavizControls:RadRadialGauge">
                    <Grid Height="{TemplateBinding CellHeight}" Width="{TemplateBinding CellWidth}" Background="{TemplateBinding Background}">
                        <Grid.RowDefinitions>
                            <RowDefinition Height="4*"/>
                            <RowDefinition Height="92*"/>
                            <RowDefinition Height="4*"/>
                        </Grid.RowDefinitions>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="4*"/>
                            <ColumnDefinition Width="92*"/>
                            <ColumnDefinition Width="4*"/>
                        </Grid.ColumnDefinitions>
                        <Ellipse
                                Grid.RowSpan="3"
                                Grid.ColumnSpan="3"
                                Stroke="{TemplateBinding OuterBorderBrush}"
                                StrokeThickness="{TemplateBinding OuterBorderThickness}"
                                Fill="{TemplateBinding OuterBackground}"/>
                        <Ellipse
                                Grid.Row="1"
                                Grid.Column="1"
                                Fill="{TemplateBinding InnerBackground}"
                                Stroke="{TemplateBinding InnerBorderBrush}"
                                StrokeThickness="{TemplateBinding InnerBorderThickness}"/>
                        <ItemsPresenter Grid.RowSpan="3" Grid.ColumnSpan="3"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="ItemsPanel">
            <Setter.Value>
                <ItemsPanelTemplate>
                    <Grid/>
                </ItemsPanelTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="datavizControls:RadRadialGauge" BasedOn="{StaticResource RadRadialGaugeStyle}"/>
    <Style x:Key="QuadrantNWScaleStyle" BasedOn="{StaticResource RadialScaleStyle}" TargetType="gauges:QuadrantNWScale">
        <Setter Property="Center" Value="{StaticResource QuadrantGaugeNWCenter}"/>
        <Setter Property="Radius" Value="{StaticResource QuadrantGaugeRadius}"/>
        <Setter Property="StartAngle" Value="{StaticResource QuadrantGaugeNWStartAngle}"/>
        <Setter Property="SweepAngle" Value="{StaticResource QuadrantGaugeSweepAngle}"/>
        <Setter Property="LabelLocation" Value="Inside"/>
        <Setter Property="LabelRotationMode" Value="{StaticResource LabelRotationSurroundOutMode}"/>
        <Setter Property="MajorTickLocation" Value="{StaticResource HalfGaugeTickLocation}"/>
        <Setter Property="MiddleTickLocation" Value="{StaticResource HalfGaugeTickLocation}"/>
        <Setter Property="MinorTickLocation" Value="{StaticResource HalfGaugeTickLocation}"/>
    </Style>
    <Style TargetType="gauges:QuadrantNWScale" BasedOn="{StaticResource QuadrantNWScaleStyle}"/>
    <Style x:Key="RadQuadrantNWGaugeStyle" TargetType="datavizControls:RadQuadrantNWGauge">
        <Setter Property="OuterBackground" Value="{StaticResource QuadrantGaugeBackground}"/>
        <Setter Property="OuterBorderBrush" Value="{StaticResource GaugeStroke}"/>
        <Setter Property="OuterBorderThickness" Value="{StaticResource GaugeStrokeThickness}"/>
        <Setter Property="InnerBackground" Value="{StaticResource QuadrantGaugeInnerBackground}"/>
        <Setter Property="InnerBorderBrush" Value="{StaticResource GaugeInnerStroke}"/>
        <Setter Property="InnerBorderThickness" Value="{StaticResource GaugeInnerStrokeThickness}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="datavizControls:RadQuadrantNWGauge">
                    <Grid Height="{TemplateBinding CellHeight}" Width="{TemplateBinding CellWidth}" Background="{TemplateBinding Background}">
                        <Path
                                Stretch="Fill"
                                Stroke="{TemplateBinding OuterBorderBrush}"
                                StrokeThickness="{TemplateBinding OuterBorderThickness}"
                                Fill="{TemplateBinding OuterBackground}"
                                Data="M110,0.5C117.938,0.5 118,0.575458 118,0.575458L118,118L0.575458,118C0.575458,118 0.5,117.959 0.5,110C0.5,49.5248 49.5248,0.5 110,0.5z"/>
                        <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
                            <Grid.RowDefinitions>
                                <RowDefinition Height="4*"/>
                                <RowDefinition Height="92*"/>
                                <RowDefinition Height="4*"/>
                            </Grid.RowDefinitions>
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="4*"/>
                                <ColumnDefinition Width="92*"/>
                                <ColumnDefinition Width="4*"/>
                            </Grid.ColumnDefinitions>
                            <Path
                                    Stretch="Fill"
                                    Grid.Column="1"
                                    Grid.Row="1"
                                    Stroke="{TemplateBinding InnerBorderBrush}"
                                    StrokeThickness="{TemplateBinding InnerBorderThickness}"
                                    Fill="{TemplateBinding InnerBackground}"
                                    Data="M101,0L101,101L0,101C9.53674e-007,45.2192 45.2192,9.53674e-007 101,0z"
                                    SnapsToDevicePixels="True"/>
                        </Grid>
                        <ItemsPresenter/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="ItemsPanel">
            <Setter.Value>
                <ItemsPanelTemplate>
                    <Grid/>
                </ItemsPanelTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="datavizControls:RadQuadrantNWGauge" BasedOn="{StaticResource RadQuadrantNWGaugeStyle}"/>
    <Style x:Key="QuadrantNEScaleStyle" BasedOn="{StaticResource RadialScaleStyle}" TargetType="gauges:QuadrantNEScale">
        <Setter Property="Center" Value="{StaticResource QuadrantGaugeNECenter}"/>
        <Setter Property="Radius" Value="{StaticResource QuadrantGaugeRadius}"/>
        <Setter Property="StartAngle" Value="{StaticResource QuadrantGaugeNEStartAngle}"/>
        <Setter Property="SweepAngle" Value="{StaticResource QuadrantGaugeSweepAngle}"/>
        <Setter Property="LabelLocation" Value="Inside"/>
        <Setter Property="LabelRotationMode" Value="{StaticResource LabelRotationSurroundOutMode}"/>
        <Setter Property="MajorTickLocation" Value="{StaticResource HalfGaugeTickLocation}"/>
        <Setter Property="MiddleTickLocation" Value="{StaticResource HalfGaugeTickLocation}"/>
        <Setter Property="MinorTickLocation" Value="{StaticResource HalfGaugeTickLocation}"/>
    </Style>
    <Style TargetType="gauges:QuadrantNEScale" BasedOn="{StaticResource QuadrantNEScaleStyle}"/>
    <Style x:Key="RadQuadrantNEGaugeStyle" TargetType="datavizControls:RadQuadrantNEGauge">
        <Setter Property="OuterBackground" Value="{StaticResource QuadrantGaugeBackground}"/>
        <Setter Property="OuterBorderBrush" Value="{StaticResource GaugeStroke}"/>
        <Setter Property="OuterBorderThickness" Value="{StaticResource GaugeStrokeThickness}"/>
        <Setter Property="InnerBackground" Value="{StaticResource QuadrantGaugeInnerBackground}"/>
        <Setter Property="InnerBorderBrush" Value="{StaticResource GaugeInnerStroke}"/>
        <Setter Property="InnerBorderThickness" Value="{StaticResource GaugeInnerStrokeThickness}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="datavizControls:RadQuadrantNEGauge">
                    <Grid Height="{TemplateBinding CellHeight}" Width="{TemplateBinding CellWidth}" Background="{TemplateBinding Background}">
                        <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch" RenderTransformOrigin="0.5,0.5">
                            <Grid.RenderTransform>
                                <ScaleTransform ScaleX="-1" ScaleY="1"/>
                            </Grid.RenderTransform>
                            <Path
                                    Stretch="Fill"
                                    Stroke="{TemplateBinding OuterBorderBrush}"
                                    StrokeThickness="{TemplateBinding OuterBorderThickness}"
                                    Fill="{TemplateBinding OuterBackground}"
                                    Data="M110,0.5C117.938,0.5 118,0.575458 118,0.575458L118,118L0.575458,118C0.575458,118 0.5,117.959 0.5,110C0.5,49.5248 49.5248,0.5 110,0.5z"/>
                            <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
                                <Grid.RowDefinitions>
                                    <RowDefinition Height="4*"/>
                                    <RowDefinition Height="92*"/>
                                    <RowDefinition Height="4*"/>
                                </Grid.RowDefinitions>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="4*"/>
                                    <ColumnDefinition Width="92*"/>
                                    <ColumnDefinition Width="4*"/>
                                </Grid.ColumnDefinitions>
                                <Path
                                        Stretch="Fill"
                                        Grid.Row="1"
                                        Grid.Column="1"
                                        Stroke="{TemplateBinding InnerBorderBrush}"
                                        StrokeThickness="{TemplateBinding InnerBorderThickness}"
                                        Fill="{TemplateBinding InnerBackground}"
                                        Data="M101,0L101,101L0,101C9.53674e-007,45.2192 45.2192,9.53674e-007 101,0z"
                                        SnapsToDevicePixels="True"/>
                            </Grid>
                        </Grid>
                        <ItemsPresenter/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="ItemsPanel">
            <Setter.Value>
                <ItemsPanelTemplate>
                    <Grid/>
                </ItemsPanelTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="datavizControls:RadQuadrantNEGauge" BasedOn="{StaticResource RadQuadrantNEGaugeStyle}"/>
    <Style x:Key="QuadrantSEScaleStyle" BasedOn="{StaticResource RadialScaleStyle}" TargetType="gauges:QuadrantSEScale">
        <Setter Property="Center" Value="{StaticResource QuadrantGaugeSECenter}"/>
        <Setter Property="Radius" Value="{StaticResource QuadrantGaugeRadius}"/>
        <Setter Property="StartAngle" Value="{StaticResource QuadrantGaugeSEStartAngle}"/>
        <Setter Property="SweepAngle" Value="{StaticResource QuadrantGaugeSweepAngle}"/>
        <Setter Property="LabelLocation" Value="Inside"/>
        <Setter Property="LabelRotationMode" Value="{StaticResource LabelRotationSurroundInMode}"/>
        <Setter Property="MajorTickLocation" Value="{StaticResource HalfGaugeTickLocation}"/>
        <Setter Property="MiddleTickLocation" Value="{StaticResource HalfGaugeTickLocation}"/>
        <Setter Property="MinorTickLocation" Value="{StaticResource HalfGaugeTickLocation}"/>
    </Style>
    <Style TargetType="gauges:QuadrantSEScale" BasedOn="{StaticResource QuadrantSEScaleStyle}"/>
    <Style x:Key="RadQuadrantSEGaugeStyle" TargetType="datavizControls:RadQuadrantSEGauge">
        <Setter Property="OuterBackground" Value="{StaticResource QuadrantGaugeBackground}"/>
        <Setter Property="OuterBorderBrush" Value="{StaticResource GaugeStroke}"/>
        <Setter Property="OuterBorderThickness" Value="{StaticResource GaugeStrokeThickness}"/>
        <Setter Property="InnerBackground" Value="{StaticResource QuadrantGaugeInnerBackground}"/>
        <Setter Property="InnerBorderBrush" Value="{StaticResource GaugeInnerStroke}"/>
        <Setter Property="InnerBorderThickness" Value="{StaticResource GaugeInnerStrokeThickness}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="datavizControls:RadQuadrantSEGauge">
                    <Grid Height="{TemplateBinding CellHeight}" Width="{TemplateBinding CellWidth}" Background="{TemplateBinding Background}">
                        <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch" RenderTransformOrigin="0.5,0.5">
                            <Grid.RenderTransform>
                                <ScaleTransform ScaleX="-1" ScaleY="-1"/>
                            </Grid.RenderTransform>
                            <Path
                                    Stretch="Fill"
                                    Stroke="{TemplateBinding OuterBorderBrush}"
                                    StrokeThickness="{TemplateBinding OuterBorderThickness}"
                                    Fill="{TemplateBinding OuterBackground}"
                                    Data="M110,0.5C117.938,0.5 118,0.575458 118,0.575458L118,118L0.575458,118C0.575458,118 0.5,117.959 0.5,110C0.5,49.5248 49.5248,0.5 110,0.5z"/>
                            <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
                                <Grid.RowDefinitions>
                                    <RowDefinition Height="4*"/>
                                    <RowDefinition Height="92*"/>
                                    <RowDefinition Height="4*"/>
                                </Grid.RowDefinitions>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="4*"/>
                                    <ColumnDefinition Width="92*"/>
                                    <ColumnDefinition Width="4*"/>
                                </Grid.ColumnDefinitions>
                                <Path
                                        Stretch="Fill"
                                        Grid.Row="1"
                                        Grid.Column="1"
                                        Stroke="{TemplateBinding InnerBorderBrush}"
                                        StrokeThickness="{TemplateBinding InnerBorderThickness}"
                                        Fill="{TemplateBinding InnerBackground}"
                                        Data="M101,0L101,101L0,101C9.53674e-007,45.2192 45.2192,9.53674e-007 101,0z"
                                        SnapsToDevicePixels="True"/>
                            </Grid>
                        </Grid>
                        <ItemsPresenter/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="ItemsPanel">
            <Setter.Value>
                <ItemsPanelTemplate>
                    <Grid/>
                </ItemsPanelTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="datavizControls:RadQuadrantSEGauge" BasedOn="{StaticResource RadQuadrantSEGaugeStyle}"/>
    <Style x:Key="QuadrantSWScaleStyle" BasedOn="{StaticResource RadialScaleStyle}" TargetType="gauges:QuadrantSWScale">
        <Setter Property="Center" Value="{StaticResource QuadrantGaugeSWCenter}"/>
        <Setter Property="Radius" Value="{StaticResource QuadrantGaugeRadius}"/>
        <Setter Property="StartAngle" Value="{StaticResource QuadrantGaugeSWStartAngle}"/>
        <Setter Property="SweepAngle" Value="{StaticResource QuadrantGaugeSweepAngle}"/>
        <Setter Property="LabelLocation" Value="Inside"/>
        <Setter Property="LabelRotationMode" Value="{StaticResource LabelRotationSurroundInMode}"/>
        <Setter Property="MajorTickLocation" Value="{StaticResource HalfGaugeTickLocation}"/>
        <Setter Property="MiddleTickLocation" Value="{StaticResource HalfGaugeTickLocation}"/>
        <Setter Property="MinorTickLocation" Value="{StaticResource HalfGaugeTickLocation}"/>
    </Style>
    <Style TargetType="gauges:QuadrantSWScale" BasedOn="{StaticResource QuadrantSWScaleStyle}"/>
    <Style x:Key="RadQuadrantSWGaugeStyle" TargetType="datavizControls:RadQuadrantSWGauge">
        <Setter Property="OuterBackground" Value="{StaticResource QuadrantGaugeBackground}"/>
        <Setter Property="OuterBorderBrush" Value="{StaticResource GaugeStroke}"/>
        <Setter Property="OuterBorderThickness" Value="{StaticResource GaugeStrokeThickness}"/>
        <Setter Property="InnerBackground" Value="{StaticResource QuadrantGaugeInnerBackground}"/>
        <Setter Property="InnerBorderBrush" Value="{StaticResource GaugeInnerStroke}"/>
        <Setter Property="InnerBorderThickness" Value="{StaticResource GaugeInnerStrokeThickness}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="datavizControls:RadQuadrantSWGauge">
                    <Grid Height="{TemplateBinding CellHeight}" Width="{TemplateBinding CellWidth}" Background="{TemplateBinding Background}">
                        <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch" RenderTransformOrigin="0.5,0.5">
                            <Grid.RenderTransform>
                                <ScaleTransform ScaleX="1" ScaleY="-1"/>
                            </Grid.RenderTransform>
                            <Path
                                    Stretch="Fill"
                                    Stroke="{TemplateBinding OuterBorderBrush}"
                                    StrokeThickness="{TemplateBinding OuterBorderThickness}"
                                    Fill="{TemplateBinding OuterBackground}"
                                    Data="M110,0.5C117.938,0.5 118,0.575458 118,0.575458L118,118L0.575458,118C0.575458,118 0.5,117.959 0.5,110C0.5,49.5248 49.5248,0.5 110,0.5z"/>
                            <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
                                <Grid.RowDefinitions>
                                    <RowDefinition Height="4*"/>
                                    <RowDefinition Height="92*"/>
                                    <RowDefinition Height="4*"/>
                                </Grid.RowDefinitions>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="4*"/>
                                    <ColumnDefinition Width="92*"/>
                                    <ColumnDefinition Width="4*"/>
                                </Grid.ColumnDefinitions>
                                <Path
                                        Stretch="Fill"
                                        Grid.Row="1"
                                        Grid.Column="1"
                                        Stroke="{TemplateBinding InnerBorderBrush}"
                                        StrokeThickness="{TemplateBinding InnerBorderThickness}"
                                        Fill="{TemplateBinding InnerBackground}"
                                        Data="M101,0L101,101L0,101C9.53674e-007,45.2192 45.2192,9.53674e-007 101,0z"
                                        SnapsToDevicePixels="True"/>
                            </Grid>
                        </Grid>
                        <ItemsPresenter/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="ItemsPanel">
            <Setter.Value>
                <ItemsPanelTemplate>
                    <Grid/>
                </ItemsPanelTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="datavizControls:RadQuadrantSWGauge" BasedOn="{StaticResource RadQuadrantSWGaugeStyle}"/>
    <Style x:Key="SemicircleNorthScaleStyle" BasedOn="{StaticResource RadialScaleStyle}" TargetType="gauges:SemicircleNorthScale">
        <Setter Property="Center" Value="{StaticResource HalfGaugeNCenter}"/>
        <Setter Property="Radius" Value="{StaticResource HalfGaugeRadius}"/>
        <Setter Property="StartAngle" Value="{StaticResource HalfGaugeNStartAngle}"/>
        <Setter Property="SweepAngle" Value="{StaticResource HalfGaugeSweepAngle}"/>
        <Setter Property="LabelLocation" Value="Inside"/>
        <Setter Property="LabelRotationMode" Value="{StaticResource LabelRotationSurroundOutMode}"/>
        <Setter Property="MajorTickLocation" Value="{StaticResource HalfGaugeTickLocation}"/>
        <Setter Property="MiddleTickLocation" Value="{StaticResource HalfGaugeTickLocation}"/>
        <Setter Property="MinorTickLocation" Value="{StaticResource HalfGaugeTickLocation}"/>
    </Style>
    <Style TargetType="gauges:SemicircleNorthScale" BasedOn="{StaticResource SemicircleNorthScaleStyle}"/>
    <Style x:Key="RadSemicircleNorthGaugeStyle" TargetType="datavizControls:RadSemicircleNorthGauge">
        <Setter Property="OuterBackground" Value="{StaticResource HalfGaugeBackground}"/>
        <Setter Property="OuterBorderBrush" Value="{StaticResource GaugeStroke}"/>
        <Setter Property="OuterBorderThickness" Value="{StaticResource GaugeStrokeThickness}"/>
        <Setter Property="InnerBackground" Value="{StaticResource HalfGaugeInnerBackground}"/>
        <Setter Property="InnerBorderBrush" Value="{StaticResource HalfGaugeInnerStroke}"/>
        <Setter Property="InnerBorderThickness" Value="{StaticResource HalfGaugeInnerStrokeThickness}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="datavizControls:RadSemicircleNorthGauge">
                    <Grid Height="{TemplateBinding CellHeight}" Width="{TemplateBinding CellWidth}" Background="{TemplateBinding Background}">
                        <Path
                                Stretch="Fill"
                                StrokeThickness="{TemplateBinding OuterBorderThickness}"
                                Stroke="{TemplateBinding OuterBorderBrush}"
                                Fill="{TemplateBinding OuterBackground}"
                                Data="M101.987,1C156.897,1 201.572,44.8172 202.954,99.3931L202.975,101L1,101L1.02033,99.3931C2.40303,44.8172 47.0782,1 101.987,1z"/>
                        <Grid>
                            <Grid.RowDefinitions>
                                <RowDefinition Height="4*"/>
                                <RowDefinition Height="92*"/>
                                <RowDefinition Height="4*"/>
                            </Grid.RowDefinitions>
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="2*"/>
                                <ColumnDefinition Width="96*"/>
                                <ColumnDefinition Width="2*"/>
                            </Grid.ColumnDefinitions>
                            <Path
                                    Grid.Row="1"
                                    Grid.Column="1"
                                    Stretch="Fill"
                                    Stroke="{TemplateBinding InnerBorderBrush}"
                                    StrokeThickness="{TemplateBinding InnerBorderThickness}"
                                    Fill="{TemplateBinding InnerBackground}"
                                    Data="M101.987,1C156.897,1 201.572,44.8172 202.954,99.3931L202.975,101L1,101L1.02033,99.3931C2.40303,44.8172 47.0782,1 101.987,1z"
                                    SnapsToDevicePixels="True"/>
                        </Grid>
                        <ItemsPresenter/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="ItemsPanel">
            <Setter.Value>
                <ItemsPanelTemplate>
                    <Grid/>
                </ItemsPanelTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="datavizControls:RadSemicircleNorthGauge" BasedOn="{StaticResource RadSemicircleNorthGaugeStyle}"/>
    <Style x:Key="SemicircleWestScaleStyle" BasedOn="{StaticResource RadialScaleStyle}" TargetType="gauges:SemicircleWestScale">
        <Setter Property="Center" Value="{StaticResource HalfGaugeWCenter}"/>
        <Setter Property="Radius" Value="{StaticResource HalfGaugeRadius}"/>
        <Setter Property="StartAngle" Value="{StaticResource HalfGaugeWStartAngle}"/>
        <Setter Property="SweepAngle" Value="{StaticResource HalfGaugeSweepAngle}"/>
        <Setter Property="LabelLocation" Value="Inside"/>
        <Setter Property="MajorTickLocation" Value="{StaticResource HalfGaugeTickLocation}"/>
        <Setter Property="MiddleTickLocation" Value="{StaticResource HalfGaugeTickLocation}"/>
        <Setter Property="MinorTickLocation" Value="{StaticResource HalfGaugeTickLocation}"/>
    </Style>
    <Style TargetType="gauges:SemicircleWestScale" BasedOn="{StaticResource SemicircleWestScaleStyle}"/>
    <Style x:Key="RadSemicircleWestGaugeStyle" TargetType="datavizControls:RadSemicircleWestGauge">
        <Setter Property="OuterBackground" Value="{StaticResource HalfGaugeBackgroundReversed}"/>
        <Setter Property="OuterBorderBrush" Value="{StaticResource GaugeStroke}"/>
        <Setter Property="OuterBorderThickness" Value="{StaticResource GaugeStrokeThickness}"/>
        <Setter Property="InnerBackground" Value="{StaticResource HalfGaugeInnerBackgroundReversed}"/>
        <Setter Property="InnerBorderBrush" Value="{StaticResource HalfGaugeInnerStrokeReversed}"/>
        <Setter Property="InnerBorderThickness" Value="{StaticResource HalfGaugeInnerStrokeThickness}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="datavizControls:RadSemicircleWestGauge">
                    <Grid Height="{TemplateBinding CellHeight}" Width="{TemplateBinding CellWidth}" Background="{TemplateBinding Background}">
                        <Path
                                Stretch="Fill"
                                StrokeThickness="{TemplateBinding OuterBorderThickness}"
                                Stroke="{TemplateBinding OuterBorderBrush}"
                                Fill="{TemplateBinding OuterBackground}"
                                Data="M1,101.987C1,156.897 44.8172,201.572 99.3931,202.954L101,202.975L101,1L99.3931,1.02033C44.8172,2.40303 1,47.0782 1,101.987z"/>
                        <Grid>
                            <Grid.RowDefinitions>
                                <RowDefinition Height="2*"/>
                                <RowDefinition Height="96*"/>
                                <RowDefinition Height="2*"/>
                            </Grid.RowDefinitions>
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="4*"/>
                                <ColumnDefinition Width="92*"/>
                                <ColumnDefinition Width="4*"/>
                            </Grid.ColumnDefinitions>
                            <Path
                                    Grid.Row="1"
                                    Grid.Column="1"
                                    Stretch="Fill"
                                    Stroke="{TemplateBinding InnerBorderBrush}"
                                    StrokeThickness="{TemplateBinding InnerBorderThickness}"
                                    Fill="{TemplateBinding InnerBackground}"
                                    Data="M1,101.987C1,156.897 44.8172,201.572 99.3931,202.954L101,202.975L101,1L99.3931,1.02033C44.8172,2.40303 1,47.0782 1,101.987z"
                                    SnapsToDevicePixels="True"/>
                        </Grid>
                        <ItemsPresenter/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="ItemsPanel">
            <Setter.Value>
                <ItemsPanelTemplate>
                    <Grid/>
                </ItemsPanelTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="datavizControls:RadSemicircleWestGauge" BasedOn="{StaticResource RadSemicircleWestGaugeStyle}"/>
    <Style x:Key="SemicircleSouthScaleStyle" BasedOn="{StaticResource RadialScaleStyle}" TargetType="gauges:SemicircleSouthScale">
        <Setter Property="Center" Value="{StaticResource HalfGaugeSCenter}"/>
        <Setter Property="Radius" Value="{StaticResource HalfGaugeRadius}"/>
        <Setter Property="StartAngle" Value="{StaticResource HalfGaugeSStartAngle}"/>
        <Setter Property="SweepAngle" Value="{StaticResource HalfGaugeSweepAngle}"/>
        <Setter Property="LabelLocation" Value="Inside"/>
        <Setter Property="LabelRotationMode" Value="{StaticResource LabelRotationSurroundInMode}"/>
        <Setter Property="MajorTickLocation" Value="{StaticResource HalfGaugeTickLocation}"/>
        <Setter Property="MiddleTickLocation" Value="{StaticResource HalfGaugeTickLocation}"/>
        <Setter Property="MinorTickLocation" Value="{StaticResource HalfGaugeTickLocation}"/>
    </Style>
    <Style TargetType="gauges:SemicircleSouthScale" BasedOn="{StaticResource SemicircleSouthScaleStyle}"/>
    <Style x:Key="RadSemicircleSouthGaugeStyle" TargetType="datavizControls:RadSemicircleSouthGauge">
        <Setter Property="OuterBackground" Value="{StaticResource HalfGaugeBackground}"/>
        <Setter Property="OuterBorderBrush" Value="{StaticResource GaugeStroke}"/>
        <Setter Property="OuterBorderThickness" Value="{StaticResource GaugeStrokeThickness}"/>
        <Setter Property="InnerBackground" Value="{StaticResource HalfGaugeInnerBackground}"/>
        <Setter Property="InnerBorderBrush" Value="{StaticResource HalfGaugeInnerStroke}"/>
        <Setter Property="InnerBorderThickness" Value="{StaticResource HalfGaugeInnerStrokeThickness}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="datavizControls:RadSemicircleSouthGauge">
                    <Grid Height="{TemplateBinding CellHeight}" Width="{TemplateBinding CellWidth}" Background="{TemplateBinding Background}">
                        <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch" RenderTransformOrigin="0.5,0.5">
                            <Grid.RenderTransform>
                                <TransformGroup>
                                    <ScaleTransform ScaleY="-1"/>
                                </TransformGroup>
                            </Grid.RenderTransform>
                            <Path
                                    Stretch="Fill"
                                    StrokeThickness="{TemplateBinding OuterBorderThickness}"
                                    Stroke="{TemplateBinding OuterBorderBrush}"
                                    Fill="{TemplateBinding OuterBackground}"
                                    Data="M101.987,1C156.897,1 201.572,44.8172 202.954,99.3931L202.975,101L1,101L1.02033,99.3931C2.40303,44.8172 47.0782,1 101.987,1z"/>
                            <Grid>
                                <Grid.RowDefinitions>
                                    <RowDefinition Height="4*"/>
                                    <RowDefinition Height="92*"/>
                                    <RowDefinition Height="4*"/>
                                </Grid.RowDefinitions>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="2*"/>
                                    <ColumnDefinition Width="96*"/>
                                    <ColumnDefinition Width="2*"/>
                                </Grid.ColumnDefinitions>
                                <Path
                                        Grid.Row="1"
                                        Grid.Column="1"
                                        Stretch="Fill"
                                        Stroke="{TemplateBinding InnerBorderBrush}"
                                        StrokeThickness="{TemplateBinding InnerBorderThickness}"
                                        Fill="{TemplateBinding InnerBackground}"
                                        Data="M101.987,1C156.897,1 201.572,44.8172 202.954,99.3931L202.975,101L1,101L1.02033,99.3931C2.40303,44.8172 47.0782,1 101.987,1z"
                                        SnapsToDevicePixels="True"/>
                            </Grid>
                        </Grid>
                        <ItemsPresenter/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="ItemsPanel">
            <Setter.Value>
                <ItemsPanelTemplate>
                    <Grid/>
                </ItemsPanelTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="datavizControls:RadSemicircleSouthGauge" BasedOn="{StaticResource RadSemicircleSouthGaugeStyle}"/>
    <Style x:Key="SemicircleEastScaleStyle" BasedOn="{StaticResource RadialScaleStyle}" TargetType="gauges:SemicircleEastScale">
        <Setter Property="Center" Value="{StaticResource HalfGaugeECenter}"/>
        <Setter Property="Radius" Value="{StaticResource HalfGaugeRadius}"/>
        <Setter Property="StartAngle" Value="{StaticResource HalfGaugeEStartAngle}"/>
        <Setter Property="SweepAngle" Value="{StaticResource HalfGaugeSweepAngle}"/>
        <Setter Property="LabelLocation" Value="Inside"/>
        <Setter Property="MajorTickLocation" Value="{StaticResource HalfGaugeTickLocation}"/>
        <Setter Property="MiddleTickLocation" Value="{StaticResource HalfGaugeTickLocation}"/>
        <Setter Property="MinorTickLocation" Value="{StaticResource HalfGaugeTickLocation}"/>
    </Style>
    <Style TargetType="gauges:SemicircleEastScale" BasedOn="{StaticResource SemicircleEastScaleStyle}"/>
    <Style x:Key="RadSemicircleEastGaugeStyle" TargetType="datavizControls:RadSemicircleEastGauge">
        <Setter Property="OuterBackground" Value="{StaticResource HalfGaugeBackgroundReversed}"/>
        <Setter Property="OuterBorderBrush" Value="{StaticResource GaugeStroke}"/>
        <Setter Property="OuterBorderThickness" Value="{StaticResource GaugeStrokeThickness}"/>
        <Setter Property="InnerBackground" Value="{StaticResource HalfGaugeInnerBackgroundReversed}"/>
        <Setter Property="InnerBorderBrush" Value="{StaticResource HalfGaugeInnerStrokeReversed}"/>
        <Setter Property="InnerBorderThickness" Value="{StaticResource HalfGaugeInnerStrokeThickness}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="datavizControls:RadSemicircleEastGauge">
                    <Grid Height="{TemplateBinding CellHeight}" Width="{TemplateBinding CellWidth}" Background="{TemplateBinding Background}">
                        <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch" RenderTransformOrigin="0.5,0.5">
                            <Grid.RenderTransform>
                                <TransformGroup>
                                    <ScaleTransform ScaleX="-1"/>
                                </TransformGroup>
                            </Grid.RenderTransform>
                            <Path
                                    Stretch="Fill"
                                    StrokeThickness="{TemplateBinding OuterBorderThickness}"
                                    Stroke="{TemplateBinding OuterBorderBrush}"
                                    Fill="{TemplateBinding OuterBackground}"
                                    Data="M1,101.987C1,156.897 44.8172,201.572 99.3931,202.954L101,202.975L101,1L99.3931,1.02033C44.8172,2.40303 1,47.0782 1,101.987z"/>
                            <Grid>
                                <Grid.RowDefinitions>
                                    <RowDefinition Height="2*"/>
                                    <RowDefinition Height="96*"/>
                                    <RowDefinition Height="2*"/>
                                </Grid.RowDefinitions>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="4*"/>
                                    <ColumnDefinition Width="92*"/>
                                    <ColumnDefinition Width="4*"/>
                                </Grid.ColumnDefinitions>
                                <Path
                                        Grid.Row="1"
                                        Grid.Column="1"
                                        Stretch="Fill"
                                        Stroke="{TemplateBinding InnerBorderBrush}"
                                        StrokeThickness="{TemplateBinding InnerBorderThickness}"
                                        Fill="{TemplateBinding InnerBackground}"
                                        Data="M1,101.987C1,156.897 44.8172,201.572 99.3931,202.954L101,202.975L101,1L99.3931,1.02033C44.8172,2.40303 1,47.0782 1,101.987z"
                                        SnapsToDevicePixels="True"/>
                            </Grid>
                        </Grid>
                        <ItemsPresenter/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="ItemsPanel">
            <Setter.Value>
                <ItemsPanelTemplate>
                    <Grid/>
                </ItemsPanelTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="datavizControls:RadSemicircleEastGauge" BasedOn="{StaticResource RadSemicircleEastGaugeStyle}"/>
    <Style x:Key="SevenSegsNumberPositionStyle" TargetType="gauges:SevenSegsNumberPosition">
        <Setter Property="VerticalAlignment" Value="Stretch"/>
        <Setter Property="HorizontalAlignment" Value="Stretch"/>
        <Setter Property="Padding" Value="1"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="gauges:SevenSegsNumberPosition">
                    <Grid>
                        <Border
                                BorderBrush="{TemplateBinding BorderBrush}"
                                BorderThickness="{TemplateBinding BorderThickness}"
                                Background="{TemplateBinding Background}"
                                CornerRadius="{TemplateBinding CornerRadius}"
                                Opacity="{TemplateBinding Opacity}"
                                Margin="{TemplateBinding Padding}">
                            <ContentPresenter VerticalAlignment="{TemplateBinding VerticalAlignment}" HorizontalAlignment="{TemplateBinding HorizontalAlignment}"/>
                        </Border>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="gauges:SevenSegsNumberPosition" BasedOn="{StaticResource SevenSegsNumberPositionStyle}"/>
    <Style x:Key="SevenSegsShapeFill" TargetType="Shape">
        <Setter Property="Stretch" Value="Fill"/>
    </Style>
    <DataTemplate x:Key="SevenSegsSb">
        <Grid/>
    </DataTemplate>
    <DataTemplate x:Key="SevenSegs0">
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="5*"/>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="5*"/>
                <RowDefinition Height="1*"/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="1*"/>
                <ColumnDefinition Width="5*"/>
                <ColumnDefinition Width="1*"/>
            </Grid.ColumnDefinitions>
            <Rectangle Grid.Row="0" Grid.Column="1" Style="{StaticResource SevenSegsShapeFill}" Fill="{Binding Foreground}"/>
            <Rectangle Grid.Row="1" Grid.Column="0" Style="{StaticResource SevenSegsShapeFill}" Fill="{Binding Foreground}"/>
            <Rectangle Grid.Row="3" Grid.Column="0" Style="{StaticResource SevenSegsShapeFill}" Fill="{Binding Foreground}"/>
            <Rectangle Grid.Row="4" Grid.Column="1" Style="{StaticResource SevenSegsShapeFill}" Fill="{Binding Foreground}"/>
            <Rectangle Grid.Row="3" Grid.Column="2" Style="{StaticResource SevenSegsShapeFill}" Fill="{Binding Foreground}"/>
            <Rectangle Grid.Row="1" Grid.Column="2" Style="{StaticResource SevenSegsShapeFill}" Fill="{Binding Foreground}"/>
        </Grid>
    </DataTemplate>
    <DataTemplate x:Key="SevenSegs1">
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="5*"/>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="5*"/>
                <RowDefinition Height="1*"/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="1*"/>
                <ColumnDefinition Width="5*"/>
                <ColumnDefinition Width="1*"/>
            </Grid.ColumnDefinitions>
            <Rectangle Grid.Row="1" Grid.Column="2" Style="{StaticResource SevenSegsShapeFill}" Fill="{Binding Foreground}"/>
            <Rectangle Grid.Row="3" Grid.Column="2" Style="{StaticResource SevenSegsShapeFill}" Fill="{Binding Foreground}"/>
        </Grid>
    </DataTemplate>
    <DataTemplate x:Key="SevenSegs2">
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="5*"/>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="5*"/>
                <RowDefinition Height="1*"/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="1*"/>
                <ColumnDefinition Width="5*"/>
                <ColumnDefinition Width="1*"/>
            </Grid.ColumnDefinitions>
            <Rectangle Grid.Row="0" Grid.Column="1" Style="{StaticResource SevenSegsShapeFill}" Fill="{Binding Foreground}"/>
            <Rectangle Grid.Row="1" Grid.Column="2" Style="{StaticResource SevenSegsShapeFill}" Fill="{Binding Foreground}"/>
            <Rectangle Grid.Row="2" Grid.Column="1" Style="{StaticResource SevenSegsShapeFill}" Fill="{Binding Foreground}"/>
            <Rectangle Grid.Row="3" Grid.Column="0" Style="{StaticResource SevenSegsShapeFill}" Fill="{Binding Foreground}"/>
            <Rectangle Grid.Row="4" Grid.Column="1" Style="{StaticResource SevenSegsShapeFill}" Fill="{Binding Foreground}"/>
        </Grid>
    </DataTemplate>
    <DataTemplate x:Key="SevenSegs3">
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="5*"/>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="5*"/>
                <RowDefinition Height="1*"/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="1*"/>
                <ColumnDefinition Width="5*"/>
                <ColumnDefinition Width="1*"/>
            </Grid.ColumnDefinitions>
            <Rectangle Grid.Row="0" Grid.Column="1" Style="{StaticResource SevenSegsShapeFill}" Fill="{Binding Foreground}"/>
            <Rectangle Grid.Row="1" Grid.Column="2" Style="{StaticResource SevenSegsShapeFill}" Fill="{Binding Foreground}"/>
            <Rectangle Grid.Row="2" Grid.Column="1" Style="{StaticResource SevenSegsShapeFill}" Fill="{Binding Foreground}"/>
            <Rectangle Grid.Row="3" Grid.Column="2" Style="{StaticResource SevenSegsShapeFill}" Fill="{Binding Foreground}"/>
            <Rectangle Grid.Row="4" Grid.Column="1" Style="{StaticResource SevenSegsShapeFill}" Fill="{Binding Foreground}"/>
        </Grid>
    </DataTemplate>
    <DataTemplate x:Key="SevenSegs4">
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="5*"/>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="5*"/>
                <RowDefinition Height="1*"/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="1*"/>
                <ColumnDefinition Width="5*"/>
                <ColumnDefinition Width="1*"/>
            </Grid.ColumnDefinitions>
            <Rectangle Grid.Row="1" Grid.Column="0" Style="{StaticResource SevenSegsShapeFill}" Fill="{Binding Foreground}"/>
            <Rectangle Grid.Row="1" Grid.Column="2" Style="{StaticResource SevenSegsShapeFill}" Fill="{Binding Foreground}"/>
            <Rectangle Grid.Row="2" Grid.Column="1" Style="{StaticResource SevenSegsShapeFill}" Fill="{Binding Foreground}"/>
            <Rectangle Grid.Row="3" Grid.Column="2" Style="{StaticResource SevenSegsShapeFill}" Fill="{Binding Foreground}"/>
        </Grid>
    </DataTemplate>
    <DataTemplate x:Key="SevenSegs5">
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="5*"/>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="5*"/>
                <RowDefinition Height="1*"/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="1*"/>
                <ColumnDefinition Width="5*"/>
                <ColumnDefinition Width="1*"/>
            </Grid.ColumnDefinitions>
            <Rectangle Grid.Row="0" Grid.Column="1" Style="{StaticResource SevenSegsShapeFill}" Fill="{Binding Foreground}"/>
            <Rectangle Grid.Row="1" Grid.Column="0" Style="{StaticResource SevenSegsShapeFill}" Fill="{Binding Foreground}"/>
            <Rectangle Grid.Row="2" Grid.Column="1" Style="{StaticResource SevenSegsShapeFill}" Fill="{Binding Foreground}"/>
            <Rectangle Grid.Row="3" Grid.Column="2" Style="{StaticResource SevenSegsShapeFill}" Fill="{Binding Foreground}"/>
            <Rectangle Grid.Row="4" Grid.Column="1" Style="{StaticResource SevenSegsShapeFill}" Fill="{Binding Foreground}"/>
        </Grid>
    </DataTemplate>
    <DataTemplate x:Key="SevenSegs6">
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="5*"/>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="5*"/>
                <RowDefinition Height="1*"/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="1*"/>
                <ColumnDefinition Width="5*"/>
                <ColumnDefinition Width="1*"/>
            </Grid.ColumnDefinitions>
            <Rectangle Grid.Row="0" Grid.Column="1" Style="{StaticResource SevenSegsShapeFill}" Fill="{Binding Foreground}"/>
            <Rectangle Grid.Row="1" Grid.Column="0" Style="{StaticResource SevenSegsShapeFill}" Fill="{Binding Foreground}"/>
            <Rectangle Grid.Row="2" Grid.Column="1" Style="{StaticResource SevenSegsShapeFill}" Fill="{Binding Foreground}"/>
            <Rectangle Grid.Row="3" Grid.Column="2" Style="{StaticResource SevenSegsShapeFill}" Fill="{Binding Foreground}"/>
            <Rectangle Grid.Row="3" Grid.Column="0" Style="{StaticResource SevenSegsShapeFill}" Fill="{Binding Foreground}"/>
            <Rectangle Grid.Row="4" Grid.Column="1" Style="{StaticResource SevenSegsShapeFill}" Fill="{Binding Foreground}"/>
        </Grid>
    </DataTemplate>
    <DataTemplate x:Key="SevenSegs7">
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="5*"/>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="5*"/>
                <RowDefinition Height="1*"/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="1*"/>
                <ColumnDefinition Width="5*"/>
                <ColumnDefinition Width="1*"/>
            </Grid.ColumnDefinitions>
            <Rectangle Grid.Row="0" Grid.Column="1" Style="{StaticResource SevenSegsShapeFill}" Fill="{Binding Foreground}"/>
            <Rectangle Grid.Row="1" Grid.Column="2" Style="{StaticResource SevenSegsShapeFill}" Fill="{Binding Foreground}"/>
            <Rectangle Grid.Row="3" Grid.Column="2" Style="{StaticResource SevenSegsShapeFill}" Fill="{Binding Foreground}"/>
        </Grid>
    </DataTemplate>
    <DataTemplate x:Key="SevenSegs8">
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="5*"/>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="5*"/>
                <RowDefinition Height="1*"/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="1*"/>
                <ColumnDefinition Width="5*"/>
                <ColumnDefinition Width="1*"/>
            </Grid.ColumnDefinitions>
            <Rectangle Grid.Row="0" Grid.Column="1" Style="{StaticResource SevenSegsShapeFill}" Fill="{Binding Foreground}"/>
            <Rectangle Grid.Row="1" Grid.Column="0" Style="{StaticResource SevenSegsShapeFill}" Fill="{Binding Foreground}"/>
            <Rectangle Grid.Row="1" Grid.Column="2" Style="{StaticResource SevenSegsShapeFill}" Fill="{Binding Foreground}"/>
            <Rectangle Grid.Row="2" Grid.Column="1" Style="{StaticResource SevenSegsShapeFill}" Fill="{Binding Foreground}"/>
            <Rectangle Grid.Row="3" Grid.Column="0" Style="{StaticResource SevenSegsShapeFill}" Fill="{Binding Foreground}"/>
            <Rectangle Grid.Row="3" Grid.Column="2" Style="{StaticResource SevenSegsShapeFill}" Fill="{Binding Foreground}"/>
            <Rectangle Grid.Row="4" Grid.Column="1" Style="{StaticResource SevenSegsShapeFill}" Fill="{Binding Foreground}"/>
        </Grid>
    </DataTemplate>
    <DataTemplate x:Key="SevenSegs9">
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="5*"/>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="5*"/>
                <RowDefinition Height="1*"/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="1*"/>
                <ColumnDefinition Width="5*"/>
                <ColumnDefinition Width="1*"/>
            </Grid.ColumnDefinitions>
            <Rectangle Grid.Row="0" Grid.Column="1" Style="{StaticResource SevenSegsShapeFill}" Fill="{Binding Foreground}"/>
            <Rectangle Grid.Row="1" Grid.Column="0" Style="{StaticResource SevenSegsShapeFill}" Fill="{Binding Foreground}"/>
            <Rectangle Grid.Row="1" Grid.Column="2" Style="{StaticResource SevenSegsShapeFill}" Fill="{Binding Foreground}"/>
            <Rectangle Grid.Row="2" Grid.Column="1" Style="{StaticResource SevenSegsShapeFill}" Fill="{Binding Foreground}"/>
            <Rectangle Grid.Row="3" Grid.Column="2" Style="{StaticResource SevenSegsShapeFill}" Fill="{Binding Foreground}"/>
            <Rectangle Grid.Row="4" Grid.Column="1" Style="{StaticResource SevenSegsShapeFill}" Fill="{Binding Foreground}"/>
        </Grid>
    </DataTemplate>
    <DataTemplate x:Key="SevenSegs.">
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="5*"/>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="5*"/>
                <RowDefinition Height="1*"/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="1*"/>
                <ColumnDefinition Width="5*"/>
                <ColumnDefinition Width="1*"/>
            </Grid.ColumnDefinitions>
            <Rectangle Grid.Row="3" Grid.Column="1" Style="{StaticResource SevenSegsShapeFill}" Fill="{Binding Foreground}"/>
        </Grid>
    </DataTemplate>
    <DataTemplate x:Key="SevenSegs,">
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="5*"/>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="5*"/>
                <RowDefinition Height="1*"/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="1*"/>
                <ColumnDefinition Width="5*"/>
                <ColumnDefinition Width="1*"/>
            </Grid.ColumnDefinitions>
            <Polygon Grid.Row="3" Grid.Column="1" Points="0,5 10,5 0,10" Style="{StaticResource SevenSegsShapeFill}" Fill="{Binding Foreground}"/>
        </Grid>
    </DataTemplate>
    <DataTemplate x:Key="SevenSegs-">
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="5*"/>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="5*"/>
                <RowDefinition Height="1*"/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="1*"/>
                <ColumnDefinition Width="5*"/>
                <ColumnDefinition Width="1*"/>
            </Grid.ColumnDefinitions>
            <Rectangle Grid.Row="2" Grid.Column="1" Style="{StaticResource SevenSegsShapeFill}" Fill="{Binding Foreground}"/>
        </Grid>
    </DataTemplate>
    <SolidColorBrush x:Key="BulletGraphForeground" Color="#FF161312"/>
    <Thickness x:Key="BulletGraphBorderThickness">0</Thickness>
    <SolidColorBrush x:Key="BulletGraphBorderBrush" Color="Transparent"/>
    <SolidColorBrush x:Key="FeaturedMeasureBrush" Color="#FF161312"/>
    <SolidColorBrush x:Key="ProjectedValueBrush" Color="#FFF2A667"/>
    <SolidColorBrush x:Key="ComparativeMeasureBrush" Color="#FF000000"/>
    <SolidColorBrush x:Key="QualityPoorBrush" Color="#FF7A6960"/>
    <SolidColorBrush x:Key="QualitySatisfactoryBrush" Color="#FFA18B7E"/>
    <SolidColorBrush x:Key="QualityGoodBrush" Color="#FFC7B9B2"/>
    <SolidColorBrush x:Key="VerticalQualityPoorBrush" Color="#FF7A6960"/>
    <SolidColorBrush x:Key="VerticalQualitySatisfactoryBrush" Color="#FFA18B7E"/>
    <SolidColorBrush x:Key="VerticalQualityGoodBrush" Color="#FFC7B9B2"/>
    <SolidColorBrush x:Key="ZeroIndicatorBackground" Color="#FFADCDEF"/>
    <SolidColorBrush x:Key="TickBrush" Color="#FFADCDEF"/>
    <Style x:Key="RadHorizontalBulletGraphStyle" TargetType="datavizControls:RadHorizontalBulletGraph">
        <Setter Property="FeaturedMeasureBrush" Value="{StaticResource FeaturedMeasureBrush}"/>
        <Setter Property="ProjectedValueBrush" Value="{StaticResource ProjectedValueBrush}"/>
        <Setter Property="ComparativeMeasureBrush" Value="{StaticResource ComparativeMeasureBrush}"/>
        <Setter Property="ComparativeMeasureThickness" Value="2"/>
        <Setter Property="QualityPoorBrush" Value="{StaticResource QualityPoorBrush}"/>
        <Setter Property="QualitySatisfactoryBrush" Value="{StaticResource QualitySatisfactoryBrush}"/>
        <Setter Property="QualityGoodBrush" Value="{StaticResource QualityGoodBrush}"/>
        <Setter Property="BorderBrush" Value="{StaticResource BulletGraphBorderBrush}"/>
        <Setter Property="BorderThickness" Value="{StaticResource BulletGraphBorderThickness}"/>
        <Setter Property="Foreground" Value="{StaticResource BulletGraphForeground}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="datavizControls:RadHorizontalBulletGraph">
                    <Grid>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="*"/>
                            <RowDefinition Height="Auto"/>
                        </Grid.RowDefinitions>
                        <Border Grid.Row="0" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}">
                            <Grid>
                                <bulletGraphs:QualitativeRangeContainer ChildrenSource="{TemplateBinding QualitativeRanges}" Range="{TemplateBinding Range}"/>
                                <bulletGraphs:PositioningIndicatorPanel x:Name="PART_AxisPanel"/>
                                <bulletGraphs:FeaturedMeasurePresenter Content="{TemplateBinding ProjectedMeasureInternal}"/>
                                <bulletGraphs:FeaturedMeasurePresenter Content="{TemplateBinding FeaturedMeasureInternal}"/>
                                <bulletGraphs:ComparativeMeasuresContainer ChildrenSource="{TemplateBinding MergedComparativeMeasures}" Range="{TemplateBinding Range}"/>
                            </Grid>
                        </Border>
                        <bulletGraphs:QuantitativeScaleContainer Grid.Row="1" TextFormatString="{TemplateBinding TextFormatString}" Visibility="{TemplateBinding QuantitativeScaleVisibility}" Range="{TemplateBinding Range}"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="datavizControls:RadHorizontalBulletGraph" BasedOn="{StaticResource RadHorizontalBulletGraphStyle}"/>
    <Style x:Key="RadVerticalBulletGraphStyle" TargetType="datavizControls:RadVerticalBulletGraph">
        <Setter Property="QualitySatisfactoryBrush" Value="{StaticResource VerticalQualitySatisfactoryBrush}"/>
        <Setter Property="QualityGoodBrush" Value="{StaticResource VerticalQualityGoodBrush}"/>
        <Setter Property="QualityPoorBrush" Value="{StaticResource VerticalQualityPoorBrush}"/>
        <Setter Property="FeaturedMeasureBrush" Value="{StaticResource FeaturedMeasureBrush}"/>
        <Setter Property="ProjectedValueBrush" Value="{StaticResource ProjectedValueBrush}"/>
        <Setter Property="ComparativeMeasureBrush" Value="{StaticResource ComparativeMeasureBrush}"/>
        <Setter Property="ComparativeMeasureThickness" Value="2"/>
        <Setter Property="BorderBrush" Value="{StaticResource BulletGraphBorderBrush}"/>
        <Setter Property="BorderThickness" Value="{StaticResource BulletGraphBorderThickness}"/>
        <Setter Property="Foreground" Value="{StaticResource BulletGraphForeground}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="datavizControls:RadVerticalBulletGraph">
                    <Grid>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="Auto"/>
                            <ColumnDefinition Width="*"/>
                        </Grid.ColumnDefinitions>
                        <bulletGraphs:QuantitativeScaleContainer Grid.Column="0" TextFormatString="{TemplateBinding TextFormatString}" Visibility="{TemplateBinding QuantitativeScaleVisibility}" Range="{TemplateBinding Range}"/>
                        <Border Grid.Column="1" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}">
                            <Grid>
                                <bulletGraphs:QualitativeRangeContainer ChildrenSource="{TemplateBinding QualitativeRanges}" Range="{TemplateBinding Range}"/>
                                <bulletGraphs:PositioningIndicatorPanel x:Name="PART_AxisPanel"/>
                                <bulletGraphs:FeaturedMeasurePresenter Content="{TemplateBinding ProjectedMeasureInternal}"/>
                                <bulletGraphs:FeaturedMeasurePresenter Content="{TemplateBinding FeaturedMeasureInternal}"/>
                                <bulletGraphs:ComparativeMeasuresContainer ChildrenSource="{TemplateBinding MergedComparativeMeasures}" Range="{TemplateBinding Range}"/>
                            </Grid>
                        </Border>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="datavizControls:RadVerticalBulletGraph" BasedOn="{StaticResource RadVerticalBulletGraphStyle}"/>
    <bulletGraphs:FeaturedMeasureTemplateSelector x:Key="featuredMeasureTemplateSelector">
        <bulletGraphs:FeaturedMeasureTemplateSelector.BarTemplate>
            <DataTemplate>
                <bulletGraphs:BarStackPanel>
                    <bulletGraphs:BarItem/>
                </bulletGraphs:BarStackPanel>
            </DataTemplate>
        </bulletGraphs:FeaturedMeasureTemplateSelector.BarTemplate>
        <bulletGraphs:FeaturedMeasureTemplateSelector.EllipseTemplate>
            <DataTemplate>
                <bulletGraphs:PositioningPanel>
                    <bulletGraphs:EllipseItem/>
                </bulletGraphs:PositioningPanel>
            </DataTemplate>
        </bulletGraphs:FeaturedMeasureTemplateSelector.EllipseTemplate>
    </bulletGraphs:FeaturedMeasureTemplateSelector>
    <Style x:Key="QualitativeRangeContainerStyle" TargetType="bulletGraphs:QualitativeRangeContainer">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="bulletGraphs:QualitativeRangeContainer">
                    <ItemsPresenter/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="ItemsPanel">
            <Setter.Value>
                <ItemsPanelTemplate>
                    <bulletGraphs:BarStackPanel/>
                </ItemsPanelTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="QuantitativeScaleContainerStyle" TargetType="bulletGraphs:QuantitativeScaleContainer">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="bulletGraphs:QuantitativeScaleContainer">
                    <ItemsPresenter/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="ItemsPanel">
            <Setter.Value>
                <ItemsPanelTemplate>
                    <bulletGraphs:PositioningScalePanel/>
                </ItemsPanelTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="FeaturedMeasurePresenterStyle" TargetType="bulletGraphs:FeaturedMeasurePresenter">
        <Setter Property="ContentTemplateSelector" Value="{StaticResource featuredMeasureTemplateSelector}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="bulletGraphs:FeaturedMeasurePresenter">
                    <ContentPresenter/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="ComparativeMeasuresContainerStyle" TargetType="bulletGraphs:ComparativeMeasuresContainer">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="bulletGraphs:ComparativeMeasuresContainer">
                    <ItemsPresenter/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="ItemsPanel">
            <Setter.Value>
                <ItemsPanelTemplate>
                    <bulletGraphs:PositioningPanel/>
                </ItemsPanelTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="ZeroIndicatorStyle" TargetType="bulletGraphs:ZeroIndicator">
        <Setter Property="Background" Value="{StaticResource ZeroIndicatorBackground}"/>
        <Setter Property="SnapsToDevicePixels" Value="True"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="bulletGraphs:ZeroIndicator">
                    <Border
                            Background="{TemplateBinding Background}"
                            BorderBrush="{TemplateBinding BorderBrush}"
                            BorderThickness="{TemplateBinding BorderThickness}"
                            SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="EllipseItemStyle" TargetType="bulletGraphs:EllipseItem">
        <Setter Property="LengthPercent" Value="0.6"/>
        <Setter Property="WidthHeightRatio" Value="0.5"/>
        <Setter Property="SnapsToDevicePixels" Value="True"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="bulletGraphs:EllipseItem">
                    <Ellipse Fill="{Binding Brush}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="BarItemStyle" TargetType="bulletGraphs:BarItem">
        <Setter Property="LengthPercent" Value="0.33"/>
        <Setter Property="SnapsToDevicePixels" Value="True"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="bulletGraphs:BarItem">
                    <Border
                            Background="{TemplateBinding Background}"
                            BorderBrush="{TemplateBinding BorderBrush}"
                            BorderThickness="{TemplateBinding BorderThickness}"
                            SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}">
                        <Rectangle Fill="{Binding Brush}" Margin="{TemplateBinding DynamicMargin}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="ComparativeMeasureStyle" TargetType="bulletGraphs:ComparativeMeasure">
        <Setter Property="Brush" Value="{StaticResource ComparativeMeasureBrush}"/>
        <Setter Property="Thickness" Value="2"/>
        <Setter Property="LengthPercent" Value="0.7"/>
        <Setter Property="SnapsToDevicePixels" Value="True"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="bulletGraphs:ComparativeMeasure">
                    <Border
                            Background="{TemplateBinding Background}"
                            BorderBrush="{TemplateBinding BorderBrush}"
                            BorderThickness="{TemplateBinding BorderThickness}"
                            SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}">
                        <Rectangle Fill="{TemplateBinding Brush}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="QualitativeRangeStyle" TargetType="bulletGraphs:QualitativeRange">
        <Setter Property="SnapsToDevicePixels" Value="True"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="bulletGraphs:QualitativeRange">
                    <Border
                            Background="{TemplateBinding Background}"
                            BorderBrush="{TemplateBinding BorderBrush}"
                            BorderThickness="{TemplateBinding BorderThickness}"
                            SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}">
                        <Rectangle Fill="{TemplateBinding Brush}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="HorizontalLabelTickStyle" TargetType="bulletGraphs:HorizontalLabelTick">
        <Setter Property="TickBrush" Value="{StaticResource TickBrush}"/>
        <Setter Property="SnapsToDevicePixels" Value="True"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="bulletGraphs:HorizontalLabelTick">
                    <Border
                            Background="{TemplateBinding Background}"
                            BorderBrush="{TemplateBinding BorderBrush}"
                            BorderThickness="{TemplateBinding BorderThickness}"
                            SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}">
                        <Grid>
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto"/>
                                <RowDefinition Height="*"/>
                            </Grid.RowDefinitions>
                            <Rectangle
                                    Grid.Row="0"
                                    x:Name="PART_Tick"
                                    HorizontalAlignment="Center"
                                    VerticalAlignment="Top"
                                    Height="6"
                                    Width="1"
                                    Fill="{TemplateBinding TickBrush}"
                                    SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>
                            <TextBlock Grid.Row="1" HorizontalAlignment="Center" VerticalAlignment="Top" TextAlignment="Center" Text="{Binding Text}" Margin="{TemplateBinding Padding}"/>
                        </Grid>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="VerticalLabelTickStyle" TargetType="bulletGraphs:VerticalLabelTick">
        <Setter Property="TickBrush" Value="{StaticResource TickBrush}"/>
        <Setter Property="Padding" Value="2 0"/>
        <Setter Property="SnapsToDevicePixels" Value="True"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="bulletGraphs:VerticalLabelTick">
                    <Border
                            Background="{TemplateBinding Background}"
                            BorderBrush="{TemplateBinding BorderBrush}"
                            BorderThickness="{TemplateBinding BorderThickness}"
                            SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}">
                        <Grid>
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="*"/>
                                <ColumnDefinition Width="Auto"/>
                            </Grid.ColumnDefinitions>
                            <TextBlock Grid.Column="0" HorizontalAlignment="Right" VerticalAlignment="Center" TextAlignment="Center" Text="{Binding Text}" Margin="{TemplateBinding Padding}"/>
                            <Rectangle
                                    Grid.Column="1"
                                    x:Name="PART_Tick"
                                    HorizontalAlignment="Right"
                                    VerticalAlignment="Center"
                                    Height="1"
                                    Width="6"
                                    Fill="{TemplateBinding TickBrush}"
                                    SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>
                        </Grid>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="bulletGraphs:QualitativeRangeContainer" BasedOn="{StaticResource QualitativeRangeContainerStyle}"/>
    <Style TargetType="bulletGraphs:QuantitativeScaleContainer" BasedOn="{StaticResource QuantitativeScaleContainerStyle}"/>
    <Style TargetType="bulletGraphs:FeaturedMeasurePresenter" BasedOn="{StaticResource FeaturedMeasurePresenterStyle}"/>
    <Style TargetType="bulletGraphs:ComparativeMeasuresContainer" BasedOn="{StaticResource ComparativeMeasuresContainerStyle}"/>
    <Style TargetType="bulletGraphs:ZeroIndicator" BasedOn="{StaticResource ZeroIndicatorStyle}"/>
    <Style TargetType="bulletGraphs:EllipseItem" BasedOn="{StaticResource EllipseItemStyle}"/>
    <Style TargetType="bulletGraphs:BarItem" BasedOn="{StaticResource BarItemStyle}"/>
    <Style TargetType="bulletGraphs:ComparativeMeasure" BasedOn="{StaticResource ComparativeMeasureStyle}"/>
    <Style TargetType="bulletGraphs:QualitativeRange" BasedOn="{StaticResource QualitativeRangeStyle}"/>
    <Style TargetType="bulletGraphs:HorizontalLabelTick" BasedOn="{StaticResource HorizontalLabelTickStyle}"/>
    <Style TargetType="bulletGraphs:VerticalLabelTick" BasedOn="{StaticResource VerticalLabelTickStyle}"/>
    <SolidColorBrush x:Key="Time_SpecialSlotControl_Background" Color="#7FD9E3F0"/>
    <SolidColorBrush x:Key="Time_SpecialSlotControl_BorderBrush" Color="#7FADCDEF"/>
    <Style x:Key="TimeSpecialSlotControlStyle" TargetType="timeBars:TimeSpecialSlotControl">
        <Setter Property="BorderBrush" Value="{StaticResource Time_SpecialSlotControl_BorderBrush}"/>
        <Setter Property="Background" Value="{StaticResource Time_SpecialSlotControl_Background}"/>
        <Setter Property="IsHitTestVisible" Value="False"/>
        <Setter Property="BorderThickness" Value="1"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="timeBars:TimeSpecialSlotControl">
                    <Rectangle x:Name="Border"
                            Stroke="{TemplateBinding BorderBrush}"
                            StrokeThickness="{TemplateBinding BorderThickness}"
                            Fill="{TemplateBinding Background}"
                            HorizontalAlignment="Stretch"
                            VerticalAlignment="Stretch"/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="timeBars:TimeSpecialSlotControl" BasedOn="{StaticResource TimeSpecialSlotControlStyle}"/>
    <timeBars:DateTicksConverter x:Key="dateConverter"/>
    <timeBars:TimeSpanTicksConverter x:Key="timespanConverter"/>
    <timeBars:TimeSpanToMaximumRangeSpanConverter x:Key="timeSpanToMaximumRangeSpanConverter"/>
    <timeBars:SelectionRangeDateTicksConverter x:Key="selectionRangeConverter"/>
    <timeBars:ScrollModeToThumbVisibilityConverter x:Key="scrollModeToThumbVisibilityConverter"/>
    <timeBars:ScrollModeToVisibilityConverter x:Key="scrollModeToVisibilityConverter"/>
    <SolidColorBrush x:Key="TimeBar_Foreground" Color="#FF1E395B"/>
    <SolidColorBrush x:Key="TimeBar_Background" Color="#FFFFFFFF"/>
    <SolidColorBrush x:Key="TimeBar_BorderBrush" Color="#FFC0CBD9"/>
    <SolidColorBrush x:Key="TimeBar_Item_Foreground" Color="#FF4C607A"/>
    <system:Double x:Key="TimeBar_Item_FontSize">11</system:Double>
    <LinearGradientBrush x:Key="TimeBar_Item_Background_MouseOver" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#2691C3FF" Offset="0"/>
        <GradientStop Color="#1991C3FF" Offset="1"/>
    </LinearGradientBrush>
    <Thickness x:Key="TimeBar_Button_OuterBorder_Thickness">0</Thickness>
    <SolidColorBrush x:Key="TimeBar_Button_OuterBorder" Color="Transparent"/>
    <SolidColorBrush x:Key="TimeBar_Button_Border" Color="#FFC0CBD9"/>
    <Thickness x:Key="TimeBar_Button_Bottom_Thickness">0</Thickness>
    <SolidColorBrush x:Key="TimeBar_Button_Bottom_BorderBrush" Color="Transparent"/>
    <LinearGradientBrush x:Key="TimeBar_Button_Bottom_Background" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFC0CBD9" Offset="0"/>
        <GradientStop Color="#FFDCE7F5" Offset="1"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="TimeBar_Button_Bottom_BorderBrush_MouseOver" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FF7DA2CE" Offset="0"/>
        <GradientStop Color="#FFB4C9E2" Offset="1"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="TimeBar_Button_Bottom_Background_MouseOver" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FF7DA2CE" Offset="0"/>
        <GradientStop Color="#FFB4C9E2" Offset="1"/>
    </LinearGradientBrush>
    <system:Double x:Key="TimeBar_Group_FontSize">17</system:Double>
    <SolidColorBrush x:Key="TimeBar_Group_Foreground" Color="#FFD0D8E1"/>
    <Thickness x:Key="TimeBar_Group_Margin">5 0 5 -1</Thickness>
    <system:Double x:Key="TimeBar_Group_Button_Height">21</system:Double>
    <SolidColorBrush x:Key="TimeBar_Group_Button_Border" Color="#FFD5E0EE"/>
    <Thickness x:Key="TimeBar_Slider_Margin">0</Thickness>
    <SolidColorBrush x:Key="TimeBar_Slider_Background" Color="#FFF6F9FE"/>
    <SolidColorBrush x:Key="TimeBar_Slider_InnerBorder" Color="Transparent"/>
    <Thickness x:Key="TimeBar_Slider_InnerBorderThickness">0</Thickness>
    <SolidColorBrush x:Key="TimeBar_Slider_Thumbs_OuterBorder" Color="#FFA9BFD6"/>
    <Thickness x:Key="TimeBar_Slider_Thumbs_OuterBorderThickness">1</Thickness>
    <LinearGradientBrush x:Key="TimeBar_Slider_Thumbs_InnerBorder" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFFAFCFD" Offset="0"/>
        <GradientStop Color="#FFE4EFFB" Offset="1"/>
    </LinearGradientBrush>
    <Thickness x:Key="TimeBar_Slider_Thumbs_InnerBorderThickness">1</Thickness>
    <CornerRadius x:Key="TimeBar_Slider_Thumbs_OuterBorder_CornerRadius">1</CornerRadius>
    <CornerRadius x:Key="TimeBar_Slider_Thumbs_InnerBorder_CornerRadius">1</CornerRadius>
    <LinearGradientBrush x:Key="TimeBar_Slider_Thumbs_Background" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFFDFEFF" Offset="0"/>
        <GradientStop Color="#FFDDE9F7" Offset="1"/>
        <GradientStop Color="#FFE6F0FA" Offset="0.5"/>
        <GradientStop Color="#FFDCE6F4" Offset="0.5"/>
    </LinearGradientBrush>
    <system:Double x:Key="TimeBar_Slider_Thumbs_Width">10</system:Double>
    <system:Double x:Key="TimeBar_Slider_Thumbs_Path_Width">5</system:Double>
    <system:Double x:Key="TimeBar_Slider_Thumbs_Path_Height">7</system:Double>
    <SolidColorBrush x:Key="TimeBar_Slider_Thumbs_Path" Color="#7FFFFFFF"/>
    <SolidColorBrush x:Key="TimeBar_Slider_Thumbs_Shadow" Color="#FF1E395B"/>
    <CornerRadius x:Key="TimeBar_Slider_Range_Border_CornerRadius">0</CornerRadius>
    <Thickness x:Key="TimeBar_Slider_Range_BorderThickness">1</Thickness>
    <SolidColorBrush x:Key="TimeBar_Slider_Range_Border" Color="#FFA9BFD6"/>
    <LinearGradientBrush x:Key="TimeBar_Slider_Range_Background" EndPoint="0,1" StartPoint="0,0">
        <GradientStop Color="#FFF6F9FE"/>
        <GradientStop Color="#FFFCFCFC" Offset="1"/>
    </LinearGradientBrush>
    <system:Double x:Key="TimeBar_Slider_Range_Height">7</system:Double>
    <Thickness x:Key="TimeBar_Slider_Handle_OuterBorder_BorderThickness_Over">1</Thickness>
    <CornerRadius x:Key="TimeBar_Slider_Handle_OuterBorder_CornerRadius">2</CornerRadius>
    <SolidColorBrush x:Key="TimeBar_Slider_Handle_OuterBorder_Over" Color="#FFB8D6FB"/>
    <SolidColorBrush x:Key="TimeBar_Slider_Handle_OuterBorder_Pressed" Color="#FFC0CBD9"/>
    <CornerRadius x:Key="TimeBar_Slider_Handle_InnerBorder_CornerRadius">1</CornerRadius>
    <Thickness x:Key="TimeBar_Slider_Handle_InnerBorder_BorderThickness_Over">1</Thickness>
    <LinearGradientBrush x:Key="TimeBar_Slider_Handle_InnerBorder_Over" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="White" Offset="0"/>
        <GradientStop Color="#FFFAFCFD" Offset="1"/>
    </LinearGradientBrush>
    <SolidColorBrush x:Key="TimeBar_Slider_Handle_InnerBorder_Pressed" Color="Transparent"/>
    <LinearGradientBrush x:Key="TimeBar_Slider_Handle_Background_Over" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFFBFCFD" Offset="0"/>
        <GradientStop Color="#FFE5EBF4" Offset="1"/>
        <GradientStop Color="#FFF6F8FB" Offset="0.5"/>
        <GradientStop Color="#FFEDF2F9" Offset="0.5"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="TimeBar_Slider_Handle_Background_Pressed" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFC0CBD9" Offset="0"/>
        <GradientStop Color="#4CC0CBD9" Offset="0.5"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="TimeBar_Slider_Handle_Path_Background" EndPoint="1,1" StartPoint="0,0">
        <GradientStop Color="#FF1E395B" Offset="0.004"/>
        <GradientStop Color="#FFC3E4F5" Offset="1"/>
        <GradientStop Color="#FF4C607A" Offset="0.5"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="TimeBar_Slider_Handle_Path_Background_Over" EndPoint="1,1" StartPoint="0,0">
        <GradientStop Color="#FF3C596C"/>
        <GradientStop Color="#FFC3E4F5" Offset="1"/>
        <GradientStop Color="#FF86C8EB" Offset="0.5"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="TimeBar_Slider_Handle_Path_Background_Pressed" EndPoint="1,1" StartPoint="0,0">
        <GradientStop Color="#FF1E395B"/>
        <GradientStop Color="#FFC3E4F5" Offset="1"/>
        <GradientStop Color="#FF4C607A" Offset="0.5"/>
    </LinearGradientBrush>
    <Thickness x:Key="TimeBar_SelectionThumb_Margin">-2 0 -3 0</Thickness>
    <SolidColorBrush x:Key="TimeBar_SelectionThumb_Thumbs_Background" Color="#FFB4C9E2"/>
    <SolidColorBrush x:Key="TimeBar_SelectionThumb_Thumbs_Background_MouseOver" Color="#FF579EE6"/>
    <Thickness x:Key="TimeBar_SelectionThumb_Range_Margin">2 0</Thickness>
    <SolidColorBrush x:Key="TimeBar_SelectionThumb_Range_OuterBorder" Color="#FFB4C9E2"/>
    <Thickness x:Key="TimeBar_SelectionThumb_Range_OuterBorder_BorderThickness">1 1 1 0</Thickness>
    <LinearGradientBrush x:Key="TimeBar_SelectionThumb_Range_Background_MouseOver" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#1991C3FF" Offset="0"/>
        <GradientStop Color="#3391C3FF" Offset="0.5"/>
        <GradientStop Color="#1991C3FF" Offset="1"/>
    </LinearGradientBrush>
    <Thickness x:Key="TimeBar_SelectionThumb_Range_Title_Margin">0 -1 0 0</Thickness>
    <Thickness x:Key="TimeBar_SelectionThumb_Range_Title_Padding">5 2 5 0</Thickness>
    <system:Double x:Key="TimeBar_SelectionThumb_Range_Title_FontSize">11</system:Double>
    <SolidColorBrush x:Key="TimeBar_SelectionThumb_Range_Title_Foreground" Color="#FF1E395B"/>
    <LinearGradientBrush x:Key="TimeBar_SelectionThumb_Range_Title_Background" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFB4C9E2" Offset="0"/>
        <GradientStop Color="#FFD5E3F0" Offset="0.5"/>
    </LinearGradientBrush>
    <Thickness x:Key="TimeBar_SelectionThumb_Range_Title_BorderThickness">1 0 1 1</Thickness>
    <SolidColorBrush x:Key="TimeBar_SelectionVisibilityIndicator_Background" Color="#FFB4C9E2"/>
    <SolidColorBrush x:Key="TimeBar_SelectionVisibilityIndicator_Background_MouseOver" Color="#FF579EE6"/>
    <Thickness x:Key="TimeBar_SelectionIndicator_Padding">0 1</Thickness>
    <CornerRadius x:Key="TimeBar_SelectionIndicator_Radius">0</CornerRadius>
    <SolidColorBrush x:Key="TimeBar_SelectionIndicator_Border" Color="Transparent"/>
    <LinearGradientBrush x:Key="TimeBar_SelectionIndicator_Background" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#B2CCDBEC" Offset="0"/>
        <GradientStop Color="#B2E4EFFA" Offset="1"/>
    </LinearGradientBrush>
    <SolidColorBrush x:Key="TimeBar_SelectionIndicator_InnerBorder" Color="Transparent"/>
    <SolidColorBrush x:Key="TimeBar_SelectionThumbPreview_Border" Color="#FF3DA3FF"/>
    <Style TargetType="Thumb" x:Key="TimeBar_ThumbStyle">
        <Setter Property="Width" Value="{StaticResource TimeBar_Slider_Thumbs_Width}"/>
        <Setter Property="IsTabStop" Value="True"/>
        <Setter Property="BorderThickness" Value="0"/>
        <Setter Property="BorderBrush" Value="Transparent"/>
        <Setter Property="Background" Value="Transparent"/>
        <Setter Property="Foreground" Value="{StaticResource TimeBar_Slider_Thumbs_Path}"/>
        <Setter Property="Cursor" Value="SizeWE"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="Thumb">
                    <Grid>
                        <Grid.InputBindings>
                            <MouseBinding MouseAction="LeftDoubleClick" Command="{x:Static timeBars:RadTimeBarCommands.ExpandVisiblePeriodToStart}"/>
                        </Grid.InputBindings>
                        <Border x:Name="Border" BorderThickness="{TemplateBinding BorderThickness}" BorderBrush="{TemplateBinding BorderBrush}" Background="{TemplateBinding Background}"/>
                        <Path x:Name="Path"
                                Fill="{TemplateBinding Foreground}"
                                Width="{StaticResource TimeBar_Slider_Thumbs_Path_Width}"
                                Height="{StaticResource TimeBar_Slider_Thumbs_Path_Height}"
                                Data="M4,0 L5,0 5,9 4,9 z M2,0 L3,0 3,9 2,9 z M0,0 L1,0 1,9 0,9 z"
                                HorizontalAlignment="Center"
                                SnapsToDevicePixels="True"
                                RenderOptions.EdgeMode="Aliased"/>
                        <Path
                                Fill="{StaticResource TimeBar_Slider_Thumbs_Shadow}"
                                Width="{StaticResource TimeBar_Slider_Thumbs_Path_Width}"
                                Height="{StaticResource TimeBar_Slider_Thumbs_Path_Height}"
                                Data="M4,0 L5,0 5,9 4,9 z M2,0 L3,0 3,9 2,9 z M0,0 L1,0 1,9 0,9 z"
                                HorizontalAlignment="Center"
                                RenderTransformOrigin="0.5,0.5"
                                SnapsToDevicePixels="True"
                                RenderOptions.EdgeMode="Aliased">
                            <Path.RenderTransform>
                                <TranslateTransform X="1"/>
                            </Path.RenderTransform>
                        </Path>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="Thumb" x:Key="TimeBar_AlternateThumbStyle">
        <Setter Property="Width" Value="{StaticResource TimeBar_Slider_Thumbs_Width}"/>
        <Setter Property="IsTabStop" Value="True"/>
        <Setter Property="BorderThickness" Value="0"/>
        <Setter Property="BorderBrush" Value="Transparent"/>
        <Setter Property="Background" Value="Transparent"/>
        <Setter Property="Foreground" Value="{StaticResource TimeBar_Slider_Thumbs_Path}"/>
        <Setter Property="Cursor" Value="SizeWE"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="Thumb">
                    <Grid>
                        <Grid.InputBindings>
                            <MouseBinding MouseAction="LeftDoubleClick" Command="{x:Static timeBars:RadTimeBarCommands.ExpandVisiblePeriodToEnd}"/>
                        </Grid.InputBindings>
                        <Border x:Name="Border" BorderThickness="{TemplateBinding BorderThickness}" BorderBrush="{TemplateBinding BorderBrush}" Background="{TemplateBinding Background}"/>
                        <Path x:Name="Path"
                                Fill="{TemplateBinding Foreground}"
                                Width="{StaticResource TimeBar_Slider_Thumbs_Path_Width}"
                                Height="{StaticResource TimeBar_Slider_Thumbs_Path_Height}"
                                Data="M4,0 L5,0 5,9 4,9 z M2,0 L3,0 3,9 2,9 z M0,0 L1,0 1,9 0,9 z"
                                HorizontalAlignment="Center"
                                SnapsToDevicePixels="True"
                                RenderOptions.EdgeMode="Aliased"/>
                        <Path
                                Fill="{StaticResource TimeBar_Slider_Thumbs_Shadow}"
                                Width="{StaticResource TimeBar_Slider_Thumbs_Path_Width}"
                                Height="{StaticResource TimeBar_Slider_Thumbs_Path_Height}"
                                Data="M4,0 L5,0 5,9 4,9 z M2,0 L3,0 3,9 2,9 z M0,0 L1,0 1,9 0,9 z"
                                HorizontalAlignment="Center"
                                RenderTransformOrigin="0.5,0.5"
                                SnapsToDevicePixels="True"
                                RenderOptions.EdgeMode="Aliased">
                            <Path.RenderTransform>
                                <TranslateTransform X="1"/>
                            </Path.RenderTransform>
                        </Path>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <ControlTemplate x:Key="TimeBar_HandleRepeatButtonTemplate" TargetType="RepeatButton">
        <Grid x:Name="Root">
            <VisualStateManager.VisualStateGroups>
                <VisualStateGroup x:Name="CommonStates">
                    <VisualState x:Name="Normal"/>
                    <VisualState x:Name="MouseOver">
                        <Storyboard>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" Storyboard.TargetProperty="BorderBrush">
                                <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource TimeBar_Slider_Handle_OuterBorder_Over}"/>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" Storyboard.TargetProperty="BorderThickness">
                                <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource TimeBar_Slider_Handle_OuterBorder_BorderThickness_Over}"/>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="InnerBorder" Storyboard.TargetProperty="Background">
                                <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource TimeBar_Slider_Handle_Background_Over}"/>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="InnerBorder" Storyboard.TargetProperty="BorderThickness">
                                <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource TimeBar_Slider_Handle_InnerBorder_BorderThickness_Over}"/>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="InnerBorder" Storyboard.TargetProperty="BorderBrush">
                                <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource TimeBar_Slider_Handle_InnerBorder_Over}"/>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Path" Storyboard.TargetProperty="Fill">
                                <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource TimeBar_Slider_Handle_Path_Background_Over}"/>
                            </ObjectAnimationUsingKeyFrames>
                        </Storyboard>
                    </VisualState>
                    <VisualState x:Name="Pressed">
                        <Storyboard>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" Storyboard.TargetProperty="BorderBrush">
                                <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource TimeBar_Slider_Handle_OuterBorder_Pressed}"/>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" Storyboard.TargetProperty="BorderThickness">
                                <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource TimeBar_Slider_Handle_OuterBorder_BorderThickness_Over}"/>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="InnerBorder" Storyboard.TargetProperty="Background">
                                <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource TimeBar_Slider_Handle_Background_Pressed}"/>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="InnerBorder" Storyboard.TargetProperty="BorderThickness">
                                <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource TimeBar_Slider_Handle_InnerBorder_BorderThickness_Over}"/>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="InnerBorder" Storyboard.TargetProperty="BorderBrush">
                                <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource TimeBar_Slider_Handle_InnerBorder_Pressed}"/>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Path" Storyboard.TargetProperty="Fill">
                                <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource TimeBar_Slider_Handle_Path_Background_Pressed}"/>
                            </ObjectAnimationUsingKeyFrames>
                        </Storyboard>
                    </VisualState>
                </VisualStateGroup>
            </VisualStateManager.VisualStateGroups>
            <Border x:Name="Border"
                    BorderThickness="{TemplateBinding BorderThickness}"
                    CornerRadius="{StaticResource TimeBar_Slider_Handle_OuterBorder_CornerRadius}"
                    BorderBrush="{TemplateBinding BorderBrush}"
                    Background="{TemplateBinding Background}">
                <Border x:Name="InnerBorder" CornerRadius="{StaticResource TimeBar_Slider_Handle_InnerBorder_CornerRadius}" Background="#01FFFFFF"/>
            </Border>
            <Path
                    Fill="{TemplateBinding Foreground}"
                    x:Name="Path"
                    Stretch="Fill"
                    HorizontalAlignment="Center"
                    VerticalAlignment="Center"
                    Width="4"
                    Height="7"
                    RenderTransformOrigin="0.5,0.5"
                    Data="M6,0 L8,0 L8,14 L6,14 L6,12 L4,12 L4,10 L2,10 L2,8 L0,8 L0,6 L2,6 L2,4 L4,4 L4,2 L6,2 z"/>
        </Grid>
    </ControlTemplate>
    <Style x:Key="TimeBar_IncreaseHandleStyle" TargetType="RepeatButton">
        <Setter Property="Foreground" Value="{StaticResource TimeBar_Slider_Handle_Path_Background}"/>
        <Setter Property="Width" Value="17"/>
        <Setter Property="Height" Value="17"/>
        <Setter Property="Cursor" Value="Hand"/>
        <Setter Property="IsTabStop" Value="True"/>
        <Setter Property="Margin" Value="0"/>
        <Setter Property="Template" Value="{StaticResource TimeBar_HandleRepeatButtonTemplate}"/>
        <Setter Property="BorderThickness" Value="0"/>
        <Setter Property="BorderBrush" Value="Transparent"/>
        <Setter Property="Background" Value="Transparent"/>
        <Setter Property="RenderTransform">
            <Setter.Value>
                <ScaleTransform ScaleX="-1" ScaleY="1"/>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="TimeBar_DecreaseHandleStyle" TargetType="RepeatButton">
        <Setter Property="Foreground" Value="{StaticResource TimeBar_Slider_Handle_Path_Background}"/>
        <Setter Property="Width" Value="17"/>
        <Setter Property="Height" Value="17"/>
        <Setter Property="Cursor" Value="Hand"/>
        <Setter Property="IsTabStop" Value="True"/>
        <Setter Property="Margin" Value="0"/>
        <Setter Property="Template" Value="{StaticResource TimeBar_HandleRepeatButtonTemplate}"/>
        <Setter Property="BorderThickness" Value="0"/>
        <Setter Property="BorderBrush" Value="Transparent"/>
        <Setter Property="Background" Value="Transparent"/>
    </Style>
    <Style x:Key="TimeBar_SelectionMiddleThumbStyle" TargetType="Thumb">
        <Setter Property="Height" Value="{StaticResource TimeBar_Slider_Range_Height}"/>
        <Setter Property="IsTabStop" Value="True"/>
        <Setter Property="BorderThickness" Value="{StaticResource TimeBar_Slider_Range_BorderThickness}"/>
        <Setter Property="BorderBrush" Value="{StaticResource TimeBar_Slider_Range_Border}"/>
        <Setter Property="Background" Value="{StaticResource TimeBar_Slider_Range_Background}"/>
        <Setter Property="Cursor" Value="Hand"/>
        <Setter Property="VerticalAlignment" Value="Stretch"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="Thumb">
                    <Grid>
                        <Grid.InputBindings>
                            <MouseBinding MouseAction="LeftDoubleClick" Command="{x:Static timeBars:RadTimeBarCommands.ExpandVisiblePeriod}"/>
                        </Grid.InputBindings>
                        <Border x:Name="Border"
                                BorderBrush="{TemplateBinding BorderBrush}"
                                BorderThickness="{TemplateBinding BorderThickness}"
                                Background="{TemplateBinding Background}"
                                CornerRadius="{StaticResource TimeBar_Slider_Range_Border_CornerRadius}"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="TimeBar_TrackStyle" TargetType="ContentControl">
        <Setter Property="IsTabStop" Value="False"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="ContentControl">
                    <Border BorderThickness="{TemplateBinding BorderThickness}" BorderBrush="{TemplateBinding BorderBrush}"/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="TimeBar_LargeHandleStyle" TargetType="RepeatButton">
        <Setter Property="IsTabStop" Value="False"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="RepeatButton">
                    <Grid Background="Transparent"/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="TimeBar_SliderStyle" TargetType="telerikControls:RadSlider">
        <Setter Property="HandlesVisibility" Value="Collapsed"/>
        <Setter Property="IsMouseWheelEnabled" Value="False"/>
        <Setter Property="IsSelectionRangeEnabled" Value="True"/>
        <Setter Property="StepAction" Value="MoveRange"/>
        <Setter Property="Background" Value="{StaticResource TimeBar_Slider_Background}"/>
        <Setter Property="BorderBrush" Value="{StaticResource TimeBar_Slider_InnerBorder}"/>
        <Setter Property="Height" Value="16"/>
        <Setter Property="BorderThickness" Value="{StaticResource TimeBar_Slider_InnerBorderThickness}"/>
        <Setter Property="ThumbStyle" Value="{StaticResource TimeBar_ThumbStyle}"/>
        <Setter Property="AlternateThumbStyle" Value="{StaticResource TimeBar_AlternateThumbStyle}"/>
        <Setter Property="SelectionMiddleThumbStyle" Value="{StaticResource TimeBar_SelectionMiddleThumbStyle}"/>
        <Setter Property="TrackStyle" Value="{StaticResource TimeBar_TrackStyle}"/>
        <Setter Property="IncreaseHandleStyle" Value="{StaticResource TimeBar_IncreaseHandleStyle}"/>
        <Setter Property="DecreaseHandleStyle" Value="{StaticResource TimeBar_DecreaseHandleStyle}"/>
        <Setter Property="IsTabStop" Value="False"/>
        <Setter Property="Padding" Value="{StaticResource TimeBar_Slider_Margin}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="telerikControls:RadSlider">
                    <Grid>
                        <Border Background="{TemplateBinding Background}" BorderThickness="{TemplateBinding BorderThickness}" BorderBrush="{TemplateBinding BorderBrush}"/>
                        <Grid Margin="{TemplateBinding Padding}">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto"/>
                                <ColumnDefinition Width="Auto"/>
                                <ColumnDefinition Width="Auto"/>
                                <ColumnDefinition Width="*"/>
                                <ColumnDefinition Width="Auto"/>
                            </Grid.ColumnDefinitions>
                            <Grid Grid.Column="1" Grid.ColumnSpan="3">
                                <ContentControl Style="{TemplateBinding TrackStyle}" x:Name="Track"/>
                                <timeBars:TimeBarNonScrollingPanel Slider="{Binding ElementName=PART_Slider}" SliderMinimum="{Binding ElementName=PART_Slider, Path=Minimum, Mode=TwoWay}" SliderMaximum="{Binding ElementName=PART_Slider, Path=Maximum, Mode=TwoWay}">
                                    <timeBars:SelectionIndicator StartDate="{Binding ElementName=PART_SelectionThumb, Path=StartDate}" EndDate="{Binding ElementName=PART_SelectionThumb, Path=EndDate}"/>
                                </timeBars:TimeBarNonScrollingPanel>
                            </Grid>
                            <RepeatButton x:Name="DecreaseButton"
                                    Delay="{TemplateBinding Delay}"
                                    Interval="{TemplateBinding RepeatInterval}"
                                    Visibility="{TemplateBinding HandlesVisibility}"
                                    Style="{TemplateBinding DecreaseHandleStyle}"/>
                            <RepeatButton x:Name="LargeDecreaseButton"
                                    Grid.Column="1"
                                    Style="{StaticResource TimeBar_LargeHandleStyle}"
                                    Delay="{TemplateBinding Delay}"
                                    Interval="{TemplateBinding RepeatInterval}"/>
                            <Grid Grid.Column="2">
                                <Border BorderThickness="{StaticResource TimeBar_Slider_Thumbs_OuterBorderThickness}" BorderBrush="{StaticResource TimeBar_Slider_Thumbs_OuterBorder}" CornerRadius="{StaticResource TimeBar_Slider_Thumbs_OuterBorder_CornerRadius}">
                                    <Border
                                            BorderThickness="{StaticResource TimeBar_Slider_Thumbs_InnerBorderThickness}"
                                            BorderBrush="{StaticResource TimeBar_Slider_Thumbs_InnerBorder}"
                                            CornerRadius="{StaticResource TimeBar_Slider_Thumbs_InnerBorder_CornerRadius}"
                                            Background="{StaticResource TimeBar_Slider_Thumbs_Background}"/>
                                </Border>
                                <Thumb x:Name="SingleThumbHost" Style="{TemplateBinding ThumbStyle}" Visibility="Collapsed"/>
                                <StackPanel x:Name="RangeThumbsPanel" Orientation="Horizontal">
                                    <Thumb x:Name="RangeStartThumb" Style="{TemplateBinding ThumbStyle}" Visibility="{TemplateBinding ThumbVisibility}"/>
                                    <Thumb x:Name="RangeMiddleThumb" Style="{TemplateBinding SelectionMiddleThumbStyle}"/>
                                    <Thumb x:Name="RangeEndThumb" Style="{TemplateBinding AlternateThumbStyle}" Visibility="{TemplateBinding ThumbVisibility}"/>
                                </StackPanel>
                            </Grid>
                            <RepeatButton x:Name="LargeIncreaseButton"
                                    Grid.Column="3"
                                    Style="{StaticResource TimeBar_LargeHandleStyle}"
                                    Delay="{TemplateBinding Delay}"
                                    Interval="{TemplateBinding RepeatInterval}"/>
                            <RepeatButton x:Name="IncreaseButton"
                                    Grid.Row="1"
                                    Grid.Column="4"
                                    Delay="{TemplateBinding Delay}"
                                    Interval="{TemplateBinding RepeatInterval}"
                                    Visibility="{TemplateBinding HandlesVisibility}"
                                    RenderTransformOrigin="0.5,0.5"
                                    Style="{TemplateBinding IncreaseHandleStyle}"/>
                        </Grid>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="SelectionThumbHandleStyle" TargetType="Thumb">
        <Setter Property="Background" Value="{StaticResource TimeBar_SelectionThumb_Thumbs_Background}"/>
        <Setter Property="BorderThickness" Value="0"/>
        <Setter Property="IsTabStop" Value="False"/>
        <Setter Property="Cursor" Value="SizeWE"/>
        <Setter Property="Width" Value="5"/>
        <Setter Property="Height" Value="15"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="Thumb">
                    <Grid>
                        <Grid.InputBindings>
                            <MouseBinding MouseAction="LeftDoubleClick" Command="{x:Static timeBars:RadTimeBarCommands.SelectGroupIntervalEnd}"/>
                        </Grid.InputBindings>
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="CommonStates">
                                <VisualState x:Name="Normal"/>
                                <VisualState x:Name="MouseOver">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="BackgroundAnimation" Storyboard.TargetProperty="Background" Duration="0.00:00:00.05">
                                            <DiscreteObjectKeyFrame KeyTime="0.00:00:00.0" Value="{StaticResource TimeBar_SelectionThumb_Thumbs_Background_MouseOver}"/>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                        <Border x:Name="BackgroundAnimation"
                                BorderBrush="{TemplateBinding BorderBrush}"
                                BorderThickness="{TemplateBinding BorderThickness}"
                                Background="{TemplateBinding Background}"
                                SnapsToDevicePixels="True"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="SelectionThumbHandleStyle_Flipped" BasedOn="{StaticResource SelectionThumbHandleStyle}" TargetType="Thumb">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="Thumb">
                    <Grid>
                        <Grid.InputBindings>
                            <MouseBinding MouseAction="LeftDoubleClick" Command="{x:Static timeBars:RadTimeBarCommands.SelectGroupIntervalStart}"/>
                        </Grid.InputBindings>
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="CommonStates">
                                <VisualState x:Name="Normal"/>
                                <VisualState x:Name="MouseOver">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="BackgroundAnimation" Storyboard.TargetProperty="Background" Duration="0.00:00:00.05">
                                            <DiscreteObjectKeyFrame KeyTime="0.00:00:00.0" Value="{StaticResource TimeBar_SelectionThumb_Thumbs_Background_MouseOver}"/>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                        <Border x:Name="BackgroundAnimation"
                                BorderBrush="{TemplateBinding BorderBrush}"
                                BorderThickness="{TemplateBinding BorderThickness}"
                                Background="{TemplateBinding Background}"
                                SnapsToDevicePixels="True"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="SelectionVisibilityIndicatorStyle" TargetType="timeBars:SelectionVisibilityIndicator">
        <Setter Property="Cursor" Value="Hand"/>
        <Setter Property="Width" Value="16"/>
        <Setter Property="Height" Value="16"/>
        <Setter Property="Padding" Value="3"/>
        <Setter Property="VerticalAlignment" Value="Bottom"/>
        <Setter Property="Margin" Value="2 0 2 16"/>
        <Setter Property="Background" Value="{StaticResource TimeBar_SelectionVisibilityIndicator_Background}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="timeBars:SelectionVisibilityIndicator">
                    <Grid>
                        <Grid.InputBindings>
                            <MouseBinding MouseAction="LeftClick" Command="{x:Static timeBars:RadTimeBarCommands.CenterSelection}"/>
                        </Grid.InputBindings>
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="CommonStates">
                                <VisualState x:Name="Normal"/>
                                <VisualState x:Name="MouseOver">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="BackgroundAnimation" Storyboard.TargetProperty="Fill" Duration="0.00:00:00.05">
                                            <DiscreteObjectKeyFrame KeyTime="0.00:00:00.0" Value="{StaticResource TimeBar_SelectionVisibilityIndicator_Background_MouseOver}"/>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                        <Border Background="#01FFFFFF">
                            <Path x:Name="BackgroundAnimation"
                                    Data="M10,5 L5,0 L5,2.5 L0,2.5 L0,7.5 L5,7.5 L5,10 z"
                                    Fill="{TemplateBinding Background}"
                                    VerticalAlignment="Center"
                                    HorizontalAlignment="Center"
                                    Height="10"
                                    Width="10"/>
                        </Border>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="ItemControlStyle" TargetType="timeBars:ItemControl">
        <Setter Property="Background" Value="#01FFFFFF"/>
        <Setter Property="Foreground" Value="{StaticResource TimeBar_Item_Foreground}"/>
        <Setter Property="BorderBrush" Value="{StaticResource TimeBar_Button_Border}"/>
        <Setter Property="FontSize" Value="{StaticResource TimeBar_Item_FontSize}"/>
        <Setter Property="HorizontalContentAlignment" Value="Left"/>
        <Setter Property="VerticalContentAlignment" Value="Top"/>
        <Setter Property="BorderThickness" Value="1 0 0 0"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="timeBars:ItemControl">
                    <Grid>
                        <Grid.InputBindings>
                            <MouseBinding MouseAction="LeftDoubleClick" Command="{x:Static timeBars:RadTimeBarCommands.SelectGroupInterval}"/>
                        </Grid.InputBindings>
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="CommonStates">
                                <VisualState x:Name="Normal"/>
                                <VisualState x:Name="MouseOver">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="content" Storyboard.TargetProperty="Fill" Duration="0.00:00:00.05">
                                            <DiscreteObjectKeyFrame KeyTime="0.00:00:00.0" Value="{StaticResource TimeBar_Item_Background_MouseOver}"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="border" Storyboard.TargetProperty="Background" Duration="0.00:00:00.05">
                                            <DiscreteObjectKeyFrame KeyTime="0.00:00:00.0" Value="{StaticResource TimeBar_Button_Bottom_Background_MouseOver}"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="border" Storyboard.TargetProperty="BorderBrush" Duration="0.00:00:00.05">
                                            <DiscreteObjectKeyFrame KeyTime="0.00:00:00.0" Value="{StaticResource TimeBar_Button_Bottom_BorderBrush_MouseOver}"/>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Pressed">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="content" Storyboard.TargetProperty="Fill" Duration="0.00:00:00.05">
                                            <DiscreteObjectKeyFrame KeyTime="0.00:00:00.0" Value="{StaticResource TimeBar_Item_Background_MouseOver}"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="border" Storyboard.TargetProperty="Background" Duration="0.00:00:00.05">
                                            <DiscreteObjectKeyFrame KeyTime="0.00:00:00.0" Value="{StaticResource TimeBar_Button_Bottom_Background_MouseOver}"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="border" Storyboard.TargetProperty="BorderBrush" Duration="0.00:00:00.05">
                                            <DiscreteObjectKeyFrame KeyTime="0.00:00:00.0" Value="{StaticResource TimeBar_Button_Bottom_BorderBrush_MouseOver}"/>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                        <Grid>
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto"/>
                                <RowDefinition Height="*"/>
                            </Grid.RowDefinitions>
                            <StackPanel Orientation="Vertical" Cursor="Hand">
                                <Border x:Name="button" BorderBrush="{StaticResource TimeBar_Button_OuterBorder}" BorderThickness="{StaticResource TimeBar_Button_OuterBorder_Thickness}">
                                    <Border
                                            Background="{TemplateBinding Background}"
                                            BorderThickness="{TemplateBinding BorderThickness}"
                                            BorderBrush="{TemplateBinding BorderBrush}"
                                            Style="{TemplateBinding HeaderStyle}">
                                        <TextBlock Text="{Binding Label}" Padding="5 0" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="Center"/>
                                    </Border>
                                </Border>
                                <Border x:Name="border"
                                        BorderThickness="{StaticResource TimeBar_Button_Bottom_Thickness}"
                                        BorderBrush="{StaticResource TimeBar_Button_Bottom_BorderBrush}"
                                        Background="Transparent"
                                        VerticalAlignment="Bottom"
                                        Height="4"
                                        SnapsToDevicePixels="True"/>
                            </StackPanel>
                            <Rectangle x:Name="content" Fill="{TemplateBinding Background}" Grid.Row="2"/>
                        </Grid>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="GroupControlStyle" TargetType="timeBars:GroupControl">
        <Setter Property="Foreground" Value="{StaticResource TimeBar_Group_Foreground}"/>
        <Setter Property="BorderBrush" Value="{StaticResource TimeBar_Group_Button_Border}"/>
        <Setter Property="FontSize" Value="{StaticResource TimeBar_Group_FontSize}"/>
        <Setter Property="BorderThickness" Value="1 0 0 0"/>
        <Setter Property="HorizontalContentAlignment" Value="Left"/>
        <Setter Property="VerticalContentAlignment" Value="Bottom"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="timeBars:GroupControl">
                    <Grid>
                        <Border x:Name="border"
                                IsHitTestVisible="False"
                                BorderThickness="{TemplateBinding BorderThickness}"
                                BorderBrush="{TemplateBinding BorderBrush}"
                                Style="{TemplateBinding HeaderStyle}"
                                SnapsToDevicePixels="True">
                            <TextBlock
                                    Text="{Binding Label}"
                                    Width="Auto"
                                    Margin="{StaticResource TimeBar_Group_Margin}"
                                    HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
                                    VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
                        </Border>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="timeBars:ItemControl" BasedOn="{StaticResource ItemControlStyle}"/>
    <Style TargetType="timeBars:GroupControl" BasedOn="{StaticResource GroupControlStyle}"/>
    <Style x:Key="BorderWithActualSize" TargetType="Border">
        <Setter Property="timeBars:ActualSizeProxy.IsEnabled" Value="True"/>
    </Style>
    <Style x:Key="TextBlockWithActualWidth" TargetType="TextBlock">
        <Setter Property="timeBars:ActualSizeProxy.IsEnabled" Value="True"/>
    </Style>
    <Style x:Key="SelectionRangeStyle" TargetType="Thumb">
        <Setter Property="Foreground" Value="{StaticResource TimeBar_SelectionThumb_Range_Title_Foreground}"/>
        <Setter Property="BorderBrush" Value="{StaticResource TimeBar_SelectionThumb_Range_OuterBorder}"/>
        <Setter Property="BorderThickness" Value="{StaticResource TimeBar_SelectionThumb_Range_OuterBorder_BorderThickness}"/>
        <Setter Property="Background" Value="#01FFFFFF"/>
        <Setter Property="IsTabStop" Value="False"/>
        <Setter Property="Margin" Value="{StaticResource TimeBar_SelectionThumb_Range_Margin}"/>
        <Setter Property="Cursor" Value="Hand"/>
        <Setter Property="FontSize" Value="{StaticResource TimeBar_SelectionThumb_Range_Title_FontSize}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="Thumb">
                    <Grid>
                        <Grid.InputBindings>
                            <MouseBinding MouseAction="LeftDoubleClick" Command="{x:Static timeBars:RadTimeBarCommands.SelectGroupInterval}"/>
                        </Grid.InputBindings>
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="CommonStates">
                                <VisualState x:Name="Normal"/>
                                <VisualState x:Name="MouseOver">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="SelectionRangeVisual" Storyboard.TargetProperty="Background" Duration="0.00:00:00.05">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource TimeBar_SelectionThumb_Range_Background_MouseOver}"/>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                        <Grid>
                            <Grid.RowDefinitions>
                                <RowDefinition Height="*"/>
                                <RowDefinition Height="Auto"/>
                            </Grid.RowDefinitions>
                            <Border x:Name="SelectionRangeVisual"
                                    Background="{TemplateBinding Background}"
                                    BorderBrush="{TemplateBinding BorderBrush}"
                                    BorderThickness="{TemplateBinding BorderThickness}"
                                    Style="{StaticResource BorderWithActualSize}"
                                    SnapsToDevicePixels="True"/>
                            <Canvas Grid.Row="1" Height="{Binding ElementName=TextWrapper, Path=(timeBars:ActualSizeProxy.ActualHeight)}">
                                <Border x:Name="TextWrapper"
                                        MinWidth="{Binding ElementName=Title,Path=(timeBars:ActualSizeProxy.ActualWidth)}"
                                        Width="{Binding ElementName=SelectionRangeVisual,Path=(timeBars:ActualSizeProxy.ActualWidth)}"
                                        BorderThickness="{StaticResource TimeBar_SelectionThumb_Range_Title_BorderThickness}"
                                        BorderBrush="{TemplateBinding BorderBrush}"
                                        Style="{StaticResource BorderWithActualSize}"
                                        Background="{StaticResource TimeBar_SelectionThumb_Range_Title_Background}"
                                        SnapsToDevicePixels="True">
                                    <TextBlock x:Name="Title"
                                            Text="{Binding ElementName=PART_SelectionThumb, Path=Title}"
                                            Padding="{StaticResource TimeBar_SelectionThumb_Range_Title_Padding}"
                                            Margin="{StaticResource TimeBar_SelectionThumb_Range_Title_Margin}"
                                            HorizontalAlignment="Left"
                                            VerticalAlignment="Stretch"
                                            Style="{StaticResource TextBlockWithActualWidth}"/>
                                </Border>
                            </Canvas>
                        </Grid>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="TimeBar_PeriodHeaderStyle" TargetType="Border">
        <Setter Property="Height" Value="15"/>
        <Setter Property="VerticalAlignment" Value="Top"/>
    </Style>
    <Style x:Key="TimeBar_GroupPeriodHeaderStyle" TargetType="Border">
        <Setter Property="Height" Value="{StaticResource TimeBar_Group_Button_Height}"/>
        <Setter Property="VerticalAlignment" Value="Top"/>
    </Style>
    <Style x:Key="SelectionThumbStyle" TargetType="timeBars:SelectionThumb">
        <Setter Property="Margin" Value="{StaticResource TimeBar_SelectionThumb_Margin}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="timeBars:SelectionThumb">
                    <Border Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}">
                        <Grid>
                            <Thumb Name="PART_CenterHandle" Style="{StaticResource SelectionRangeStyle}"/>
                            <Thumb Name="PART_LeftHandle" HorizontalAlignment="Left" Style="{StaticResource SelectionThumbHandleStyle_Flipped}"/>
                            <Thumb Name="PART_RightHandle" HorizontalAlignment="Right" Style="{StaticResource SelectionThumbHandleStyle}"/>
                        </Grid>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="RadTimeBarStyle" TargetType="datavizControls:RadTimeBar">
        <Setter Property="Foreground" Value="{StaticResource TimeBar_Foreground}"/>
        <Setter Property="Background" Value="{StaticResource TimeBar_Background}"/>
        <Setter Property="BorderBrush" Value="{StaticResource TimeBar_BorderBrush}"/>
        <Setter Property="BorderThickness" Value="1 0 1 1"/>
        <Setter Property="SliderStyle" Value="{StaticResource TimeBar_SliderStyle}"/>
        <Setter Property="SelectionThumbStyle" Value="{StaticResource SelectionThumbStyle}"/>
        <Setter Property="SelectionVisibilityIndicatorStyle" Value="{StaticResource SelectionVisibilityIndicatorStyle}"/>
        <Setter Property="PeriodHeaderStyle" Value="{StaticResource TimeBar_PeriodHeaderStyle}"/>
        <Setter Property="GroupPeriodHeaderStyle" Value="{StaticResource TimeBar_GroupPeriodHeaderStyle}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="datavizControls:RadTimeBar">
                    <Border
                            Background="{TemplateBinding Background}"
                            BorderBrush="{TemplateBinding BorderBrush}"
                            BorderThickness="{TemplateBinding BorderThickness}"
                            SnapsToDevicePixels="True">
                        <Grid>
                            <Grid.RowDefinitions>
                                <RowDefinition Height="*"/>
                                <RowDefinition Height="Auto"/>
                            </Grid.RowDefinitions>
                            <Grid Grid.Row="0">
                                <Grid.RowDefinitions>
                                    <RowDefinition Height="19"/>
                                    <RowDefinition Height="Auto"/>
                                    <RowDefinition Height="*"/>
                                </Grid.RowDefinitions>
                                <Border
                                        Grid.Row="0"
                                        VerticalAlignment="Bottom"
                                        BorderBrush="{StaticResource TimeBar_Button_Bottom_BorderBrush}"
                                        BorderThickness="{StaticResource TimeBar_Button_Bottom_Thickness}"
                                        Background="{StaticResource TimeBar_Button_Bottom_Background}"
                                        Height="4"/>
                                <Border Grid.Row="1" Grid.RowSpan="2" Background="{TemplateBinding Background}"/>
                                <timeBars:TimeSpecialSlotContainer x:Name="PART_TimeSpecialSlotContainer" Grid.Row="1" Grid.RowSpan="2" ItemsSource="{Binding Path=SpecialSlots, RelativeSource={RelativeSource TemplatedParent}}">
                                    <timeBars:TimeSpecialSlotContainer.ItemsPanel>
                                        <ItemsPanelTemplate>
                                            <timeBars:TimeBarPanel Slider="{Binding ElementName=PART_Slider}"/>
                                        </ItemsPanelTemplate>
                                    </timeBars:TimeSpecialSlotContainer.ItemsPanel>
                                    <timeBars:TimeSpecialSlotContainer.Template>
                                        <ControlTemplate>
                                            <ItemsPresenter/>
                                        </ControlTemplate>
                                    </timeBars:TimeSpecialSlotContainer.Template>
                                </timeBars:TimeSpecialSlotContainer>
                                <timeBars:TimeBarContentPanel
                                        Slider="{Binding ElementName=PART_Slider}"
                                        SliderMinimum="{Binding ElementName=PART_Slider, Path=Minimum, Mode=TwoWay}"
                                        SliderMaximum="{Binding ElementName=PART_Slider, Path=Maximum, Mode=TwoWay}"
                                        Grid.Row="2"
                                        Margin="0 2 0 0">
                                    <ContentPresenter/>
                                </timeBars:TimeBarContentPanel>
                                <timeBars:GroupContainer x:Name="PART_GroupContainer"
                                        Grid.Row="1"
                                        Selection="{Binding Path=Selection, RelativeSource={RelativeSource TemplatedParent}, Mode=TwoWay}"
                                        ItemsSource="{TemplateBinding IntervalGroups}"
                                        ItemHeaderStyle="{TemplateBinding GroupPeriodHeaderStyle}">
                                    <timeBars:GroupContainer.ItemsPanel>
                                        <ItemsPanelTemplate>
                                            <timeBars:LabelMeasurementPanel Slider="{Binding ElementName=PART_Slider}"/>
                                        </ItemsPanelTemplate>
                                    </timeBars:GroupContainer.ItemsPanel>
                                    <timeBars:GroupContainer.Template>
                                        <ControlTemplate>
                                            <ItemsPresenter/>
                                        </ControlTemplate>
                                    </timeBars:GroupContainer.Template>
                                </timeBars:GroupContainer>
                                <timeBars:ItemContainer x:Name="PART_ItemContainer"
                                        Grid.Row="0"
                                        Grid.RowSpan="3"
                                        Selection="{Binding Path=Selection, RelativeSource={RelativeSource TemplatedParent}, Mode=TwoWay}"
                                        ItemsSource="{TemplateBinding IntervalItems}"
                                        ItemHeaderStyle="{TemplateBinding PeriodHeaderStyle}">
                                    <timeBars:ItemContainer.ItemsPanel>
                                        <ItemsPanelTemplate>
                                            <timeBars:LabelMeasurementPanel Slider="{Binding ElementName=PART_Slider}"/>
                                        </ItemsPanelTemplate>
                                    </timeBars:ItemContainer.ItemsPanel>
                                    <timeBars:ItemContainer.Template>
                                        <ControlTemplate>
                                            <ItemsPresenter/>
                                        </ControlTemplate>
                                    </timeBars:ItemContainer.Template>
                                </timeBars:ItemContainer>
                                <timeBars:TimeBarStackPanel
                                        Grid.Row="1"
                                        Grid.RowSpan="2"
                                        Slider="{Binding ElementName=PART_Slider}"
                                        SliderMinimum="{Binding ElementName=PART_Slider, Path=Minimum, Mode=TwoWay}"
                                        SliderMaximum="{Binding ElementName=PART_Slider, Path=Maximum, Mode=TwoWay}">
                                    <timeBars:ShadeControl StartDate="{TemplateBinding PeriodStart}" EndDate="{Binding ElementName=PART_SelectionThumb, Path=StartDate}"/>
                                    <timeBars:SelectionThumb x:Name="PART_SelectionThumb"
                                            Canvas.ZIndex="2"
                                            PeriodStart="{TemplateBinding PeriodStart}"
                                            PeriodEnd="{TemplateBinding PeriodEnd}"
                                            VisiblePeriodRange="{Binding Path=ActualVisiblePeriodRange, RelativeSource={RelativeSource TemplatedParent}, Mode=TwoWay}"
                                            IsSnapToIntervalEnabled="{TemplateBinding IsSnapToIntervalEnabled}"
                                            IntervalGroups="{TemplateBinding IntervalGroups}"
                                            IntervalItems="{TemplateBinding IntervalItems}"
                                            MinSelectionRange="{TemplateBinding MinSelectionRange}"
                                            MaxSelectionRange="{TemplateBinding MaxSelectionRange}"
                                            TitleFormatString="{TemplateBinding SelectionTitleFormatString}"
                                            Selection="{Binding Path=Selection, RelativeSource={RelativeSource TemplatedParent}, Mode=TwoWay}"
                                            StartDate="{Binding Path=ActualSelectionStart, RelativeSource={RelativeSource TemplatedParent}, Mode=TwoWay}"
                                            EndDate="{Binding Path=ActualSelectionEnd, RelativeSource={RelativeSource TemplatedParent}, Mode=TwoWay}"
                                            SelectionPreviewControl="{Binding ElementName=PART_SelectionThumbPreview}"
                                            Style="{TemplateBinding SelectionThumbStyle}"/>
                                    <timeBars:ShadeControl StartDate="{Binding ElementName=PART_SelectionThumb, Path=EndDate}" EndDate="{TemplateBinding PeriodEnd}"/>
                                </timeBars:TimeBarStackPanel>
                                <timeBars:TimeBarPanel
                                        Grid.Row="1"
                                        Grid.RowSpan="2"
                                        Slider="{Binding ElementName=PART_Slider}"
                                        SliderMinimum="{Binding ElementName=PART_Slider, Path=Minimum, Mode=TwoWay}"
                                        SliderMaximum="{Binding ElementName=PART_Slider, Path=Maximum, Mode=TwoWay}">
                                    <timeBars:SelectionThumbPreview x:Name="PART_SelectionThumbPreview"/>
                                </timeBars:TimeBarPanel>
                            </Grid>
                            <timeBars:SelectionVisibilityIndicator
                                    Grid.Row="0"
                                    HorizontalAlignment="Left"
                                    Style="{TemplateBinding SelectionVisibilityIndicatorStyle}"
                                    Visibility="{TemplateBinding LeftSelectionIndicatorVisibility}"
                                    VisibilityListener="{TemplateBinding LeftSelectionIndicatorVisibility}">
                                <timeBars:SelectionVisibilityIndicator.RenderTransform>
                                    <RotateTransform CenterX="8" CenterY="8" Angle="180"/>
                                </timeBars:SelectionVisibilityIndicator.RenderTransform>
                            </timeBars:SelectionVisibilityIndicator>
                            <timeBars:SelectionVisibilityIndicator
                                    Grid.Row="0"
                                    HorizontalAlignment="Right"
                                    Style="{TemplateBinding SelectionVisibilityIndicatorStyle}"
                                    Visibility="{TemplateBinding RightSelectionIndicatorVisibility}"
                                    VisibilityListener="{TemplateBinding RightSelectionIndicatorVisibility}"/>
                            <telerik:RadSlider x:Name="PART_Slider"
                                    Grid.Row="1"
                                    Style="{TemplateBinding SliderStyle}"
                                    Minimum="{Binding Path=PeriodStart, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource dateConverter}}"
                                    Maximum="{Binding Path=PeriodEnd, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource dateConverter}}"
                                    MinimumRangeSpan="{Binding Path=ActualMinZoomRange, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource timespanConverter}}"
                                    MaximumRangeSpan="{Binding Path=MaxZoomRange, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource timeSpanToMaximumRangeSpanConverter}}"
                                    Selection="{Binding Path=ActualVisiblePeriodRange, RelativeSource={RelativeSource TemplatedParent}, Mode=TwoWay, Converter={StaticResource selectionRangeConverter}}"
                                    SmallChange="{Binding Path=SmallChange, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource timespanConverter}}"
                                    LargeChange="{Binding Path=LargeChange, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource timespanConverter}}"
                                    ThumbVisibility="{Binding Path=ScrollMode, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource scrollModeToThumbVisibilityConverter}}"
                                    Visibility="{Binding Path=ScrollMode, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource scrollModeToVisibilityConverter}}"
                                    IsCoercionSuppressed="True"/>
                        </Grid>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="ShadeControlStyle" TargetType="timeBars:ShadeControl">
        <Setter Property="IsHitTestVisible" Value="False"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="timeBars:ShadeControl">
                    <Border Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}"/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="SelectionIndicatorStyle" TargetType="timeBars:SelectionIndicator">
        <Setter Property="Background" Value="{StaticResource TimeBar_SelectionIndicator_Background}"/>
        <Setter Property="BorderBrush" Value="{StaticResource TimeBar_SelectionIndicator_Border}"/>
        <Setter Property="Padding" Value="{StaticResource TimeBar_SelectionIndicator_Padding}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="timeBars:SelectionIndicator">
                    <Border
                            Background="{TemplateBinding Background}"
                            BorderBrush="{TemplateBinding BorderBrush}"
                            Margin="{TemplateBinding Padding}"
                            CornerRadius="{StaticResource TimeBar_SelectionIndicator_Radius}"
                            BorderThickness="1">
                        <Border BorderBrush="{StaticResource TimeBar_SelectionIndicator_InnerBorder}" BorderThickness="0 0 0 1"/>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="datavizControls:RadTimeBar" BasedOn="{StaticResource RadTimeBarStyle}"/>
    <Style TargetType="timeBars:ShadeControl" BasedOn="{StaticResource ShadeControlStyle}"/>
    <Style TargetType="timeBars:SelectionIndicator" BasedOn="{StaticResource SelectionIndicatorStyle}"/>
    <Style x:Key="SelectionThumbPreviewStyle" TargetType="timeBars:SelectionThumbPreview">
        <Setter Property="BorderBrush" Value="{StaticResource TimeBar_SelectionThumbPreview_Border}"/>
        <Setter Property="BorderThickness" Value="1"/>
        <Setter Property="Visibility" Value="Collapsed"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="timeBars:SelectionThumbPreview">
                    <Grid>
                        <Border Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}"/>
                        <Path Data="M0,0 L10,0 L0,10 z" Width="6" Height="6" Fill="{TemplateBinding BorderBrush}" HorizontalAlignment="Left" VerticalAlignment="Top" Stretch="Fill"/>
                        <Path Data="M0,0 L10,0 L10,10 z" Width="6" Height="6" Fill="{TemplateBinding BorderBrush}" HorizontalAlignment="Right" VerticalAlignment="Top" Stretch="Fill"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="timeBars:SelectionThumbPreview" BasedOn="{StaticResource SelectionThumbPreviewStyle}"/>
    <telerik:BooleanToVisibilityConverter x:Key="booleanToVisibilityConverter"/>
    <timelines:GroupExpandModeToBooleanConverter x:Key="groupExpandModeToBooleanConverter"/>
    <SolidColorBrush x:Key="Timeline_Foreground" Color="#FF1E395B"/>
    <SolidColorBrush x:Key="Timeline_Background" Color="#FFFFFFFF"/>
    <SolidColorBrush x:Key="Timeline_BorderBrush" Color="#FFC0CBD9"/>
    <system:Double x:Key="Timeline_Item_FontSize">11</system:Double>
    <SolidColorBrush x:Key="Timeline_Item_Foreground" Color="#FF4C607A"/>
    <SolidColorBrush x:Key="Timeline_Item_Background" Color="Transparent"/>
    <SolidColorBrush x:Key="Timeline_Item_Background_Alternate" Color="#59E8EFF8"/>
    <Thickness x:Key="Timeline_Button_Bottom_Thickness">0</Thickness>
    <SolidColorBrush x:Key="Timeline_Button_Bottom_BorderBrush" Color="Transparent"/>
    <LinearGradientBrush x:Key="Timeline_Button_Bottom_Background" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFC0CBD9" Offset="0"/>
        <GradientStop Color="#FFDCE7F5" Offset="1"/>
    </LinearGradientBrush>
    <system:Double x:Key="Timeline_Group_FontSize">11</system:Double>
    <SolidColorBrush x:Key="Timeline_Group_Foreground" Color="#FF4C607A"/>
    <SolidColorBrush x:Key="Timeline_Group_Button_Border" Color="#FFC0CBD9"/>
    <Thickness x:Key="Timeline_Group_Button_OuterBorder_Thickness">0</Thickness>
    <SolidColorBrush x:Key="Timeline_Group_Button_OuterBorder" Color="Transparent"/>
    <Thickness x:Key="Timeline_Group_Text_Padding">5 2</Thickness>
    <LinearGradientBrush x:Key="Timeline_TimelineItem_Fill" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFE6F0FA" Offset="0"/>
        <GradientStop Color="#FFDDE9F7" Offset="1"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="Timeline_TimelineItem_Stroke" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFA9BFD6" Offset="0"/>
        <GradientStop Color="#FFCDDAEA" Offset="1"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="Timeline_TimelineItem_Fill_MouseOver" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFFBFCFD" Offset="0"/>
        <GradientStop Color="#FFE5EBF4" Offset="1"/>
    </LinearGradientBrush>
    <SolidColorBrush x:Key="Timeline_TimelineItem_Stroke_MouseOver" Color="#FFB8D6FB"/>
    <LinearGradientBrush x:Key="Timeline_TimelineItem_Fill_Pressed" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFE6F0FA" Offset="0"/>
        <GradientStop Color="#FFDDE9F7" Offset="1"/>
    </LinearGradientBrush>
    <SolidColorBrush x:Key="Timeline_TimelineItem_Stroke_Pressed" Color="#FF7CB7FF"/>
    <system:Double x:Key="Timeline_TimelineInstantItem_Stroke_Thickness">0</system:Double>
    <LinearGradientBrush x:Key="Timeline_TimelineInstantItem_Fill" EndPoint="1,1" StartPoint="0,0">
        <GradientStop Color="#FF4681BE" Offset="0"/>
        <GradientStop Color="#FF1A4188" Offset="1"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="Timeline_TimelineInstantItem_Fill_MouseOver" EndPoint="1,1" StartPoint="0,0">
        <GradientStop Color="#FF78B9EF" Offset="0"/>
        <GradientStop Color="#FF4888D2" Offset="1"/>
    </LinearGradientBrush>
    <SolidColorBrush x:Key="Timeline_TimelineInstantItem_Stroke_MouseOver" Color="Transparent"/>
    <LinearGradientBrush x:Key="Timeline_TimelineInstantItem_Fill_Pressed" EndPoint="1,1" StartPoint="0,0">
        <GradientStop Color="#FF58CFFF" Offset="0"/>
        <GradientStop Color="#FF2162C8" Offset="1"/>
    </LinearGradientBrush>
    <SolidColorBrush x:Key="Timeline_TimelineInstantItem_Stroke_Pressed" Color="Transparent"/>
    <system:Double x:Key="Timeline_TimelineItemGroup_FontSize">11</system:Double>
    <SolidColorBrush x:Key="Timeline_TimelineItemGroup_Foreground" Color="#FF4C607A"/>
    <system:Double x:Key="Timeline_TimelineItemGroup_Separator_Height">1</system:Double>
    <SolidColorBrush x:Key="Timeline_TimelineItemGroup_Separator_Stroke" Color="#99C0CBD9"/>
    <Thickness x:Key="Timeline_TimelineItemGroup_ToggleButton_OuterBorder_Thickness">1</Thickness>
    <CornerRadius x:Key="Timeline_TimelineItemGroup_ToggleButton_OuterBorder_CornerRadius">0</CornerRadius>
    <system:Double x:Key="Timeline_TimelineItemGroup_ToggleButton_OuterBorder_Width">9</system:Double>
    <system:Double x:Key="Timeline_TimelineItemGroup_ToggleButton_OuterBorder_Height">9</system:Double>
    <LinearGradientBrush x:Key="Timeline_TimelineItemGroup_ToggleButton_OuterBorder_BorderBrush" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFA9BFD6" Offset="1"/>
        <GradientStop Color="#FFCDDAEA"/>
    </LinearGradientBrush>
    <SolidColorBrush x:Key="Timeline_TimelineItemGroup_ToggleButton_OuterBorder_BorderBrush_MouseOver" Color="#FFB8D6FB"/>
    <LinearGradientBrush x:Key="Timeline_TimelineItemGroup_ToggleButton_OuterBorder_Background" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="White" Offset="1"/>
        <GradientStop Color="#FFC7D5EA"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="Timeline_TimelineItemGroup_ToggleButton_OuterBorder_Background_MouseOver" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFFBFCFD"/>
        <GradientStop Color="#FFC6DFFF" Offset="1"/>
    </LinearGradientBrush>
    <SolidColorBrush x:Key="Timeline_TimelineItemGroup_ToggleButton_Button_Fill" Color="#FF1E395B"/>
    <SolidColorBrush x:Key="Timeline_TimelineItemGroup_ToggleButton_Button_Fill_MouseOver" Color="#FF1E395B"/>
    <system:Double x:Key="Timeline_TimelineItemGroup_ToggleButton_Button_Width">5</system:Double>
    <system:Double x:Key="Timeline_TimelineItemGroup_ToggleButton_ExpandButton_Height">5</system:Double>
    <system:Double x:Key="Timeline_TimelineItemGroup_ToggleButton_CollapseButton_Height">1</system:Double>
    <SolidColorBrush x:Key="Timeline_SelectionRegion_Stroke" Color="#FF3C7FB1"/>
    <SolidColorBrush x:Key="Timeline_SelectionRegion_Fill" Color="#7FFFFFFF"/>
    <Thickness x:Key="Timeline_TimelineAnnotation_Margin">0 19 0 0</Thickness>
    <Thickness x:Key="Timeline_Slider_Margin">0</Thickness>
    <system:Double x:Key="Timeline_Slider_Height">17</system:Double>
    <system:Double x:Key="Timeline_VerticalScrollBar_Width">17</system:Double>
    <SolidColorBrush x:Key="Timeline_Slider_Background" Color="#FFF6F9FE"/>
    <SolidColorBrush x:Key="Timeline_Slider_Corner_Background" Color="#FFF6F9FE"/>
    <Thickness x:Key="Timeline_Slider_Corner_BorderThickness">1 1 0 0</Thickness>
    <SolidColorBrush x:Key="Timeline_Slider_InnerBorder" Color="#FFC0CBD9"/>
    <Thickness x:Key="Timeline_Slider_InnerBorderThickness">0 1 0 0</Thickness>
    <SolidColorBrush x:Key="Timeline_Slider_Thumbs_OuterBorder" Color="#FFA9BFD6"/>
    <Thickness x:Key="Timeline_Slider_Thumbs_OuterBorderThickness">1</Thickness>
    <LinearGradientBrush x:Key="Timeline_Slider_Thumbs_InnerBorder" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFFAFCFD" Offset="0"/>
        <GradientStop Color="#FFE4EFFB" Offset="1"/>
    </LinearGradientBrush>
    <Thickness x:Key="Timeline_Slider_Thumbs_InnerBorderThickness">1</Thickness>
    <CornerRadius x:Key="Timeline_Slider_Thumbs_OuterBorder_CornerRadius">1</CornerRadius>
    <CornerRadius x:Key="Timeline_Slider_Thumbs_InnerBorder_CornerRadius">1</CornerRadius>
    <LinearGradientBrush x:Key="Timeline_Slider_Thumbs_Background" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFFDFEFF" Offset="0"/>
        <GradientStop Color="#FFDDE9F7" Offset="1"/>
        <GradientStop Color="#FFE6F0FA" Offset="0.5"/>
        <GradientStop Color="#FFDCE6F4" Offset="0.5"/>
    </LinearGradientBrush>
    <system:Double x:Key="Timeline_Slider_Thumbs_Width">10</system:Double>
    <system:Double x:Key="Timeline_Slider_Thumbs_Path_Width">5</system:Double>
    <system:Double x:Key="Timeline_Slider_Thumbs_Path_Height">7</system:Double>
    <SolidColorBrush x:Key="Timeline_Slider_Thumbs_Path" Color="#7FFFFFFF"/>
    <SolidColorBrush x:Key="Timeline_Slider_Thumbs_Shadow" Color="#FF1E395B"/>
    <CornerRadius x:Key="Timeline_Slider_Range_Border_CornerRadius">0</CornerRadius>
    <Thickness x:Key="Timeline_Slider_Range_BorderThickness">1</Thickness>
    <SolidColorBrush x:Key="Timeline_Slider_Range_Border" Color="#FFA9BFD6"/>
    <SolidColorBrush x:Key="Timeline_Slider_Range_Background" Color="Transparent"/>
    <LinearGradientBrush x:Key="Timeline_Slider_Range_NoThumbs_Background" EndPoint="0,1" StartPoint="0,0">
        <GradientStop Color="#FFF6F9FE"/>
        <GradientStop Color="#FFFCFCFC" Offset="1"/>
    </LinearGradientBrush>
    <system:Double x:Key="Timeline_Slider_Range_Height">7</system:Double>
    <CornerRadius x:Key="Timeline_Slider_Handle_OuterBorder_CornerRadius">2</CornerRadius>
    <Thickness x:Key="Timeline_Slider_Handle_OuterBorder_BorderThickness_Over">1</Thickness>
    <SolidColorBrush x:Key="Timeline_Slider_Handle_OuterBorder_Over" Color="#FFB8D6FB"/>
    <SolidColorBrush x:Key="Timeline_Slider_Handle_OuterBorder_Pressed" Color="#FFC0CBD9"/>
    <CornerRadius x:Key="Timeline_Slider_Handle_InnerBorder_CornerRadius">1</CornerRadius>
    <Thickness x:Key="Timeline_Slider_Handle_InnerBorder_BorderThickness_Over">1</Thickness>
    <LinearGradientBrush x:Key="Timeline_Slider_Handle_InnerBorder_Over" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="White" Offset="0"/>
        <GradientStop Color="#FFFAFCFD" Offset="1"/>
    </LinearGradientBrush>
    <SolidColorBrush x:Key="Timeline_Slider_Handle_InnerBorder_Pressed" Color="Transparent"/>
    <LinearGradientBrush x:Key="Timeline_Slider_Handle_Background_Over" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFFBFCFD" Offset="0"/>
        <GradientStop Color="#FFE5EBF4" Offset="1"/>
        <GradientStop Color="#FFF6F8FB" Offset="0.5"/>
        <GradientStop Color="#FFEDF2F9" Offset="0.5"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="Timeline_Slider_Handle_Background_Pressed" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFC0CBD9" Offset="0"/>
        <GradientStop Color="#4CC0CBD9" Offset="0.5"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="Timeline_Slider_Handle_Path_Background" EndPoint="1,1" StartPoint="0,0">
        <GradientStop Color="#FF1E395B" Offset="0.004"/>
        <GradientStop Color="#FFC3E4F5" Offset="1"/>
        <GradientStop Color="#FF4C607A" Offset="0.5"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="Timeline_Slider_Handle_Path_Background_Over" EndPoint="1,1" StartPoint="0,0">
        <GradientStop Color="#FF3C596C"/>
        <GradientStop Color="#FFC3E4F5" Offset="1"/>
        <GradientStop Color="#FF86C8EB" Offset="0.5"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Key="Timeline_Slider_Handle_Path_Background_Pressed" EndPoint="1,1" StartPoint="0,0">
        <GradientStop Color="#FF1E395B"/>
        <GradientStop Color="#FFC3E4F5" Offset="1"/>
        <GradientStop Color="#FF4C607A" Offset="0.5"/>
    </LinearGradientBrush>
    <Style x:Key="Timeline_ThumbStyle" TargetType="Thumb">
        <Setter Property="Width" Value="{StaticResource Timeline_Slider_Thumbs_Width}"/>
        <Setter Property="IsTabStop" Value="True"/>
        <Setter Property="BorderThickness" Value="0"/>
        <Setter Property="BorderBrush" Value="Transparent"/>
        <Setter Property="Background" Value="Transparent"/>
        <Setter Property="Foreground" Value="{StaticResource Timeline_Slider_Thumbs_Path}"/>
        <Setter Property="Cursor" Value="SizeWE"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="Thumb">
                    <Grid>
                        <Grid.InputBindings>
                            <MouseBinding MouseAction="LeftDoubleClick" Command="{x:Static timeBars:RadTimeBarCommands.ExpandVisiblePeriodToStart}"/>
                        </Grid.InputBindings>
                        <Border x:Name="Border" BorderThickness="{TemplateBinding BorderThickness}" BorderBrush="{TemplateBinding BorderBrush}" Background="{TemplateBinding Background}"/>
                        <Path x:Name="Path"
                                Fill="{TemplateBinding Foreground}"
                                Width="{StaticResource Timeline_Slider_Thumbs_Path_Width}"
                                Height="{StaticResource Timeline_Slider_Thumbs_Path_Height}"
                                Data="M4,0 L5,0 5,9 4,9 z M2,0 L3,0 3,9 2,9 z M0,0 L1,0 1,9 0,9 z"
                                HorizontalAlignment="Center"
                                SnapsToDevicePixels="True"
                                RenderOptions.EdgeMode="Aliased"/>
                        <Path
                                Fill="{StaticResource Timeline_Slider_Thumbs_Shadow}"
                                Width="{StaticResource Timeline_Slider_Thumbs_Path_Width}"
                                Height="{StaticResource Timeline_Slider_Thumbs_Path_Height}"
                                Data="M4,0 L5,0 5,9 4,9 z M2,0 L3,0 3,9 2,9 z M0,0 L1,0 1,9 0,9 z"
                                HorizontalAlignment="Center"
                                RenderTransformOrigin="0.5,0.5"
                                SnapsToDevicePixels="True"
                                RenderOptions.EdgeMode="Aliased">
                            <Path.RenderTransform>
                                <TranslateTransform X="1"/>
                            </Path.RenderTransform>
                        </Path>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="Timeline_AlternateThumbStyle" TargetType="Thumb">
        <Setter Property="Width" Value="{StaticResource Timeline_Slider_Thumbs_Width}"/>
        <Setter Property="IsTabStop" Value="True"/>
        <Setter Property="BorderThickness" Value="0"/>
        <Setter Property="BorderBrush" Value="Transparent"/>
        <Setter Property="Background" Value="Transparent"/>
        <Setter Property="Foreground" Value="{StaticResource Timeline_Slider_Thumbs_Path}"/>
        <Setter Property="Cursor" Value="SizeWE"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="Thumb">
                    <Grid>
                        <Grid.InputBindings>
                            <MouseBinding MouseAction="LeftDoubleClick" Command="{x:Static timeBars:RadTimeBarCommands.ExpandVisiblePeriodToEnd}"/>
                        </Grid.InputBindings>
                        <Border x:Name="Border" BorderThickness="{TemplateBinding BorderThickness}" BorderBrush="{TemplateBinding BorderBrush}" Background="{TemplateBinding Background}"/>
                        <Path x:Name="Path"
                                Fill="{TemplateBinding Foreground}"
                                Width="{StaticResource Timeline_Slider_Thumbs_Path_Width}"
                                Height="{StaticResource Timeline_Slider_Thumbs_Path_Height}"
                                Data="M4,0 L5,0 5,9 4,9 z M2,0 L3,0 3,9 2,9 z M0,0 L1,0 1,9 0,9 z"
                                HorizontalAlignment="Center"
                                SnapsToDevicePixels="True"
                                RenderOptions.EdgeMode="Aliased"/>
                        <Path
                                Fill="{StaticResource Timeline_Slider_Thumbs_Shadow}"
                                Width="{StaticResource Timeline_Slider_Thumbs_Path_Width}"
                                Height="{StaticResource Timeline_Slider_Thumbs_Path_Height}"
                                Data="M4,0 L5,0 5,9 4,9 z M2,0 L3,0 3,9 2,9 z M0,0 L1,0 1,9 0,9 z"
                                HorizontalAlignment="Center"
                                RenderTransformOrigin="0.5,0.5"
                                SnapsToDevicePixels="True"
                                RenderOptions.EdgeMode="Aliased">
                            <Path.RenderTransform>
                                <TranslateTransform X="1"/>
                            </Path.RenderTransform>
                        </Path>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <ControlTemplate x:Key="Timeline_HandleRepeatButtonTemplate" TargetType="RepeatButton">
        <Grid x:Name="Root">
            <VisualStateManager.VisualStateGroups>
                <VisualStateGroup x:Name="CommonStates">
                    <VisualState x:Name="Normal"/>
                    <VisualState x:Name="MouseOver">
                        <Storyboard>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" Storyboard.TargetProperty="BorderBrush">
                                <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource Timeline_Slider_Handle_OuterBorder_Over}"/>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" Storyboard.TargetProperty="BorderThickness">
                                <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource Timeline_Slider_Handle_OuterBorder_BorderThickness_Over}"/>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="InnerBorder" Storyboard.TargetProperty="Background">
                                <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource Timeline_Slider_Handle_Background_Over}"/>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="InnerBorder" Storyboard.TargetProperty="BorderThickness">
                                <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource Timeline_Slider_Handle_InnerBorder_BorderThickness_Over}"/>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="InnerBorder" Storyboard.TargetProperty="BorderBrush">
                                <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource Timeline_Slider_Handle_InnerBorder_Over}"/>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Path" Storyboard.TargetProperty="Fill">
                                <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource Timeline_Slider_Handle_Path_Background_Over}"/>
                            </ObjectAnimationUsingKeyFrames>
                        </Storyboard>
                    </VisualState>
                    <VisualState x:Name="Pressed">
                        <Storyboard>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" Storyboard.TargetProperty="BorderBrush">
                                <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource Timeline_Slider_Handle_OuterBorder_Pressed}"/>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Border" Storyboard.TargetProperty="BorderThickness">
                                <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource Timeline_Slider_Handle_OuterBorder_BorderThickness_Over}"/>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="InnerBorder" Storyboard.TargetProperty="Background">
                                <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource Timeline_Slider_Handle_Background_Pressed}"/>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="InnerBorder" Storyboard.TargetProperty="BorderThickness">
                                <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource Timeline_Slider_Handle_InnerBorder_BorderThickness_Over}"/>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="InnerBorder" Storyboard.TargetProperty="BorderBrush">
                                <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource Timeline_Slider_Handle_InnerBorder_Pressed}"/>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Path" Storyboard.TargetProperty="Fill">
                                <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource Timeline_Slider_Handle_Path_Background_Pressed}"/>
                            </ObjectAnimationUsingKeyFrames>
                        </Storyboard>
                    </VisualState>
                </VisualStateGroup>
            </VisualStateManager.VisualStateGroups>
            <Border x:Name="Border"
                    BorderThickness="{TemplateBinding BorderThickness}"
                    CornerRadius="{StaticResource Timeline_Slider_Handle_OuterBorder_CornerRadius}"
                    BorderBrush="{TemplateBinding BorderBrush}"
                    Background="{TemplateBinding Background}">
                <Border x:Name="InnerBorder" CornerRadius="{StaticResource Timeline_Slider_Handle_InnerBorder_CornerRadius}" Background="#01FFFFFF"/>
            </Border>
            <Path
                    Fill="{TemplateBinding Foreground}"
                    x:Name="Path"
                    Stretch="Fill"
                    HorizontalAlignment="Center"
                    VerticalAlignment="Center"
                    Width="4"
                    Height="7"
                    RenderTransformOrigin="0.5,0.5"
                    Data="M6,0 L8,0 L8,14 L6,14 L6,12 L4,12 L4,10 L2,10 L2,8 L0,8 L0,6 L2,6 L2,4 L4,4 L4,2 L6,2 z"/>
        </Grid>
    </ControlTemplate>
    <Style x:Key="Timeline_IncreaseHandleStyle" TargetType="RepeatButton">
        <Setter Property="Foreground" Value="{StaticResource Timeline_Slider_Handle_Path_Background}"/>
        <Setter Property="Width" Value="17"/>
        <Setter Property="Height" Value="17"/>
        <Setter Property="Cursor" Value="Hand"/>
        <Setter Property="IsTabStop" Value="True"/>
        <Setter Property="Margin" Value="0"/>
        <Setter Property="Template" Value="{StaticResource Timeline_HandleRepeatButtonTemplate}"/>
        <Setter Property="BorderThickness" Value="0"/>
        <Setter Property="BorderBrush" Value="Transparent"/>
        <Setter Property="Background" Value="Transparent"/>
        <Setter Property="RenderTransform">
            <Setter.Value>
                <ScaleTransform ScaleX="-1" ScaleY="1"/>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="Timeline_DecreaseHandleStyle" TargetType="RepeatButton">
        <Setter Property="Foreground" Value="{StaticResource Timeline_Slider_Handle_Path_Background}"/>
        <Setter Property="Width" Value="17"/>
        <Setter Property="Height" Value="17"/>
        <Setter Property="Cursor" Value="Hand"/>
        <Setter Property="IsTabStop" Value="True"/>
        <Setter Property="Margin" Value="0"/>
        <Setter Property="Template" Value="{StaticResource Timeline_HandleRepeatButtonTemplate}"/>
        <Setter Property="BorderThickness" Value="0"/>
        <Setter Property="BorderBrush" Value="Transparent"/>
        <Setter Property="Background" Value="Transparent"/>
    </Style>
    <Style x:Key="Timeline_SelectionMiddleThumbStyle" TargetType="Thumb">
        <Setter Property="IsTabStop" Value="True"/>
        <Setter Property="BorderThickness" Value="0"/>
        <Setter Property="BorderBrush" Value="Transparent"/>
        <Setter Property="Background" Value="Transparent"/>
        <Setter Property="Cursor" Value="Hand"/>
        <Setter Property="VerticalAlignment" Value="Stretch"/>
        <Setter Property="FocusVisualStyle" Value="{x:Null}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="Thumb">
                    <Grid>
                        <Grid.InputBindings>
                            <MouseBinding MouseAction="LeftDoubleClick" Command="{x:Static timeBars:RadTimeBarCommands.ExpandVisiblePeriod}"/>
                        </Grid.InputBindings>
                        <Border x:Name="Border" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="Timeline_TrackStyle" TargetType="ContentControl">
        <Setter Property="IsTabStop" Value="False"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="ContentControl">
                    <Border BorderThickness="{TemplateBinding BorderThickness}" BorderBrush="{TemplateBinding BorderBrush}"/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="Timeline_LargeHandleStyle" TargetType="RepeatButton">
        <Setter Property="IsTabStop" Value="False"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="RepeatButton">
                    <Grid Background="Transparent"/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="Timeline_SliderStyle" TargetType="telerikControls:RadSlider">
        <Setter Property="HandlesVisibility" Value="Collapsed"/>
        <Setter Property="Height" Value="{StaticResource Timeline_Slider_Height}"/>
        <Setter Property="Width" Value="{StaticResource Timeline_VerticalScrollBar_Width}"/>
        <Setter Property="IsMouseWheelEnabled" Value="False"/>
        <Setter Property="IsSelectionRangeEnabled" Value="True"/>
        <Setter Property="StepAction" Value="MoveRange"/>
        <Setter Property="Background" Value="{StaticResource Timeline_Slider_Background}"/>
        <Setter Property="BorderBrush" Value="{StaticResource Timeline_Slider_InnerBorder}"/>
        <Setter Property="BorderThickness" Value="{StaticResource Timeline_Slider_InnerBorderThickness}"/>
        <Setter Property="ThumbStyle" Value="{StaticResource Timeline_ThumbStyle}"/>
        <Setter Property="AlternateThumbStyle" Value="{StaticResource Timeline_AlternateThumbStyle}"/>
        <Setter Property="SelectionMiddleThumbStyle" Value="{StaticResource Timeline_SelectionMiddleThumbStyle}"/>
        <Setter Property="TrackStyle" Value="{StaticResource Timeline_TrackStyle}"/>
        <Setter Property="IncreaseHandleStyle" Value="{StaticResource Timeline_IncreaseHandleStyle}"/>
        <Setter Property="DecreaseHandleStyle" Value="{StaticResource Timeline_DecreaseHandleStyle}"/>
        <Setter Property="IsTabStop" Value="False"/>
        <Setter Property="Padding" Value="{StaticResource Timeline_Slider_Margin}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="telerikControls:RadSlider">
                    <telerikPrimitives:LayoutTransformControl x:Name="layoutControl" RenderTransformOrigin=".5 0">
                        <telerikPrimitives:LayoutTransformControl.LayoutTransform>
                            <TransformGroup>
                                <ScaleTransform/>
                                <SkewTransform/>
                                <RotateTransform/>
                                <TranslateTransform/>
                            </TransformGroup>
                        </telerikPrimitives:LayoutTransformControl.LayoutTransform>
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="OrientationStates">
                                <VisualState x:Name="Horizontal">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="layoutControl" Storyboard.TargetProperty="LayoutTransform">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <RotateTransform Angle="0"/>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Vertical">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="layoutControl" Storyboard.TargetProperty="LayoutTransform">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <RotateTransform Angle="-90"/>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="ReversedHorizontal">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="layoutControl" Storyboard.TargetProperty="LayoutTransform">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <ScaleTransform ScaleX="-1"/>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="ReversedVertical">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="layoutControl" Storyboard.TargetProperty="LayoutTransform">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <TransformGroup>
                                                        <ScaleTransform ScaleY="-1"/>
                                                        <RotateTransform Angle="90"/>
                                                    </TransformGroup>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                            <VisualStateGroup x:Name="RangeStates">
                                <VisualState x:Name="SingleThumb"/>
                                <VisualState x:Name="RangeThumbs">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="RangeThumbsPanel" Storyboard.TargetProperty="Visibility">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Visible</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="SingleThumbHost" Storyboard.TargetProperty="Visibility">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Collapsed</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                        <Grid>
                            <Border Background="{TemplateBinding Background}" BorderThickness="{TemplateBinding BorderThickness}" BorderBrush="{TemplateBinding BorderBrush}"/>
                            <Grid Margin="{TemplateBinding Padding}">
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="Auto"/>
                                    <ColumnDefinition Width="Auto"/>
                                    <ColumnDefinition Width="Auto"/>
                                    <ColumnDefinition Width="*"/>
                                    <ColumnDefinition Width="Auto"/>
                                </Grid.ColumnDefinitions>
                                <Grid Grid.Column="1" Grid.ColumnSpan="3">
                                    <ContentControl Style="{TemplateBinding TrackStyle}" x:Name="Track"/>
                                </Grid>
                                <RepeatButton x:Name="DecreaseButton"
                                        Delay="{TemplateBinding Delay}"
                                        Interval="{TemplateBinding RepeatInterval}"
                                        Visibility="{TemplateBinding HandlesVisibility}"
                                        Style="{TemplateBinding DecreaseHandleStyle}"/>
                                <RepeatButton x:Name="LargeDecreaseButton"
                                        Grid.Column="1"
                                        Style="{StaticResource Timeline_LargeHandleStyle}"
                                        Delay="{TemplateBinding Delay}"
                                        Interval="{TemplateBinding RepeatInterval}"/>
                                <Grid Grid.Column="2">
                                    <Border BorderThickness="{StaticResource Timeline_Slider_Thumbs_OuterBorderThickness}" BorderBrush="{StaticResource Timeline_Slider_Thumbs_OuterBorder}" CornerRadius="{StaticResource Timeline_Slider_Thumbs_OuterBorder_CornerRadius}">
                                        <Border
                                                BorderThickness="{StaticResource Timeline_Slider_Thumbs_InnerBorderThickness}"
                                                BorderBrush="{StaticResource Timeline_Slider_Thumbs_InnerBorder}"
                                                CornerRadius="{StaticResource Timeline_Slider_Thumbs_InnerBorder_CornerRadius}"
                                                Background="{StaticResource Timeline_Slider_Thumbs_Background}">
                                            <Border
                                                    BorderBrush="{StaticResource Timeline_Slider_Range_Border}"
                                                    BorderThickness="{StaticResource Timeline_Slider_Range_BorderThickness}"
                                                    Background="{StaticResource Timeline_Slider_Range_NoThumbs_Background}"
                                                    CornerRadius="{StaticResource Timeline_Slider_Range_Border_CornerRadius}"
                                                    Height="{StaticResource Timeline_Slider_Range_Height}"
                                                    MaxWidth="{Binding ElementName=RangeMiddleThumb, Path=(timeBars:ActualSizeProxy.ActualWidth)}"
                                                    Margin="1 0 1 0"
                                                    VerticalAlignment="Center">
                                                <Border Background="{StaticResource Timeline_Slider_Range_Background}" CornerRadius="{StaticResource Timeline_Slider_Range_Border_CornerRadius}" Visibility="{TemplateBinding ThumbVisibility}"/>
                                            </Border>
                                        </Border>
                                    </Border>
                                    <Thumb x:Name="SingleThumbHost" Style="{TemplateBinding ThumbStyle}" Visibility="Collapsed"/>
                                    <StackPanel x:Name="RangeThumbsPanel" Orientation="Horizontal">
                                        <Thumb x:Name="RangeStartThumb" Style="{TemplateBinding ThumbStyle}" Visibility="{TemplateBinding ThumbVisibility}"/>
                                        <Thumb x:Name="RangeMiddleThumb" Style="{TemplateBinding SelectionMiddleThumbStyle}" timeBars:ActualSizeProxy.IsEnabled="True"/>
                                        <Thumb x:Name="RangeEndThumb" Style="{TemplateBinding AlternateThumbStyle}" Visibility="{TemplateBinding ThumbVisibility}"/>
                                    </StackPanel>
                                </Grid>
                                <RepeatButton x:Name="LargeIncreaseButton"
                                        Grid.Column="3"
                                        Style="{StaticResource Timeline_LargeHandleStyle}"
                                        Delay="{TemplateBinding Delay}"
                                        Interval="{TemplateBinding RepeatInterval}"/>
                                <RepeatButton x:Name="IncreaseButton"
                                        Grid.Row="1"
                                        Grid.Column="4"
                                        Delay="{TemplateBinding Delay}"
                                        Interval="{TemplateBinding RepeatInterval}"
                                        Visibility="{TemplateBinding HandlesVisibility}"
                                        RenderTransformOrigin="0.5,0.5"
                                        Style="{TemplateBinding IncreaseHandleStyle}"/>
                            </Grid>
                        </Grid>
                    </telerikPrimitives:LayoutTransformControl>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="TimelineStripLineControlStyle" TargetType="timelines:TimelineStripLineControl">
        <Setter Property="BorderThickness" Value="0"/>
        <Setter Property="NormalStyle">
            <Setter.Value>
                <Style TargetType="Border">
                    <Setter Property="Background" Value="{StaticResource Timeline_Item_Background}"/>
                </Style>
            </Setter.Value>
        </Setter>
        <Setter Property="AlternateStyle">
            <Setter.Value>
                <Style TargetType="Border">
                    <Setter Property="Background" Value="{StaticResource Timeline_Item_Background_Alternate}"/>
                </Style>
            </Setter.Value>
        </Setter>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="timelines:TimelineStripLineControl">
                    <Border
                            Style="{TemplateBinding ElementStyle}"
                            Grid.Row="1"
                            BorderThickness="{TemplateBinding BorderThickness}"
                            BorderBrush="{TemplateBinding BorderBrush}"
                            SnapsToDevicePixels="True"/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="TimelinePeriodControlStyle" TargetType="timelines:TimelinePeriodControl">
        <Setter Property="Foreground" Value="{StaticResource Timeline_Item_Foreground}"/>
        <Setter Property="FontSize" Value="{StaticResource Timeline_Item_FontSize}"/>
        <Setter Property="BorderThickness" Value="0"/>
        <Setter Property="HorizontalContentAlignment" Value="Center"/>
        <Setter Property="VerticalContentAlignment" Value="Center"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="timelines:TimelinePeriodControl">
                    <Grid>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="Auto"/>
                            <RowDefinition Height="*"/>
                        </Grid.RowDefinitions>
                        <Border
                                Grid.Row="0"
                                BorderThickness="{StaticResource Timeline_Button_Bottom_Thickness}"
                                BorderBrush="{StaticResource Timeline_Button_Bottom_BorderBrush}"
                                Background="Transparent"
                                SnapsToDevicePixels="True"
                                Height="4"/>
                        <Border
                                Style="{TemplateBinding ElementStyle}"
                                Grid.Row="1"
                                BorderThickness="{TemplateBinding BorderThickness}"
                                BorderBrush="{TemplateBinding BorderBrush}"
                                SnapsToDevicePixels="True">
                            <Border Style="{TemplateBinding HeaderStyle}">
                                <TextBlock
                                        Text="{Binding Label}"
                                        Padding="5 0"
                                        Width="Auto"
                                        HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
                                        VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
                            </Border>
                        </Border>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="TimelineGroupPeriodControlStyle" TargetType="timelines:TimelineGroupPeriodControl">
        <Setter Property="FontSize" Value="{StaticResource Timeline_Group_FontSize}"/>
        <Setter Property="Foreground" Value="{StaticResource Timeline_Group_Foreground}"/>
        <Setter Property="BorderBrush" Value="{StaticResource Timeline_Group_Button_Border}"/>
        <Setter Property="VerticalContentAlignment" Value="Center"/>
        <Setter Property="HorizontalContentAlignment" Value="Left"/>
        <Setter Property="BorderThickness" Value="1 0 0 0"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="timelines:TimelineGroupPeriodControl">
                    <Grid>
                        <Border
                                BorderBrush="{StaticResource Timeline_Group_Button_OuterBorder}"
                                BorderThickness="{StaticResource Timeline_Group_Button_OuterBorder_Thickness}"
                                Style="{TemplateBinding HeaderStyle}"
                                SnapsToDevicePixels="True">
                            <Border
                                    BorderThickness="{TemplateBinding BorderThickness}"
                                    BorderBrush="{TemplateBinding BorderBrush}"
                                    Background="{TemplateBinding Background}"
                                    SnapsToDevicePixels="True">
                                <TextBlock
                                        Width="Auto"
                                        Padding="{StaticResource Timeline_Group_Text_Padding}"
                                        HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
                                        VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
                                        Text="{Binding Label}"/>
                            </Border>
                        </Border>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="timelines:TimelineStripLineControl" BasedOn="{StaticResource TimelineStripLineControlStyle}"/>
    <Style TargetType="timelines:TimelinePeriodControl" BasedOn="{StaticResource TimelinePeriodControlStyle}"/>
    <Style TargetType="timelines:TimelineGroupPeriodControl" BasedOn="{StaticResource TimelineGroupPeriodControlStyle}"/>
    <Style x:Key="TimelineItemGroupControlToggleButtonStyle" TargetType="telerikControls:RadToggleButton">
        <Setter Property="BorderThickness" Value="{StaticResource Timeline_TimelineItemGroup_ToggleButton_OuterBorder_Thickness}"/>
        <Setter Property="BorderBrush" Value="{StaticResource Timeline_TimelineItemGroup_ToggleButton_OuterBorder_BorderBrush}"/>
        <Setter Property="Background" Value="{StaticResource Timeline_TimelineItemGroup_ToggleButton_OuterBorder_Background}"/>
        <Setter Property="CornerRadius" Value="{StaticResource Timeline_TimelineItemGroup_ToggleButton_OuterBorder_CornerRadius}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="telerikControls:RadToggleButton">
                    <Grid Background="#01FFFFFF">
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="CommonStates">
                                <VisualState x:Name="Normal"/>
                                <VisualState x:Name="MouseOver">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="buttonBorder" Storyboard.TargetProperty="BorderBrush" Duration="0.00:00:00.05">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource Timeline_TimelineItemGroup_ToggleButton_OuterBorder_BorderBrush_MouseOver}"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="buttonBorder" Storyboard.TargetProperty="Background" Duration="0.00:00:00.05">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource Timeline_TimelineItemGroup_ToggleButton_OuterBorder_Background_MouseOver}"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="expandButton" Storyboard.TargetProperty="Fill" Duration="0.00:00:00.05">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource Timeline_TimelineItemGroup_ToggleButton_Button_Fill_MouseOver}"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="collapseButton" Storyboard.TargetProperty="Fill" Duration="0.00:00:00.05">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource Timeline_TimelineItemGroup_ToggleButton_Button_Fill_MouseOver}"/>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Disabled">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="buttonBorder">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Collapsed</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="DisabledChecked">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="buttonBorder">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Collapsed</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                            <VisualStateGroup x:Name="CheckStates">
                                <VisualState x:Name="Checked">
                                    <Storyboard>
                                        <DoubleAnimation Duration="0" Storyboard.TargetName="collapseButton" Storyboard.TargetProperty="Opacity" To="1"/>
                                        <DoubleAnimation Duration="0" Storyboard.TargetName="expandButton" Storyboard.TargetProperty="Opacity" To="0"/>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Unchecked"/>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                        <StackPanel Orientation="Horizontal">
                            <Border x:Name="buttonBorder"
                                    Width="{StaticResource Timeline_TimelineItemGroup_ToggleButton_OuterBorder_Width}"
                                    Height="{StaticResource Timeline_TimelineItemGroup_ToggleButton_OuterBorder_Height}"
                                    Margin="3 0 0 0"
                                    BorderThickness="{TemplateBinding BorderThickness}"
                                    BorderBrush="{TemplateBinding BorderBrush}"
                                    Background="{TemplateBinding Background}"
                                    CornerRadius="{TemplateBinding CornerRadius}"
                                    HorizontalAlignment="Left"
                                    VerticalAlignment="Center">
                                <Grid>
                                    <Path x:Name="expandButton"
                                            Width="{StaticResource Timeline_TimelineItemGroup_ToggleButton_Button_Width}"
                                            Height="{StaticResource Timeline_TimelineItemGroup_ToggleButton_ExpandButton_Height}"
                                            Opacity="1"
                                            Fill="{StaticResource Timeline_TimelineItemGroup_ToggleButton_Button_Fill}"
                                            Data="M2,0 L3,0 3,2 5,2 5,3 3,3 3,5 2,5 2,3 0,3 0,2 2,2 z"/>
                                    <Rectangle x:Name="collapseButton"
                                            Width="{StaticResource Timeline_TimelineItemGroup_ToggleButton_Button_Width}"
                                            Height="{StaticResource Timeline_TimelineItemGroup_ToggleButton_CollapseButton_Height}"
                                            VerticalAlignment="Center"
                                            HorizontalAlignment="Center"
                                            Opacity="0"
                                            Fill="{StaticResource Timeline_TimelineItemGroup_ToggleButton_Button_Fill}"/>
                                </Grid>
                            </Border>
                            <TextBlock Text="{TemplateBinding Content}" Margin="4 0 0 0"/>
                        </StackPanel>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="TimelineItemGroupControlStyle" TargetType="timelines:TimelineItemGroupControl">
        <Setter Property="FontSize" Value="{StaticResource Timeline_TimelineItemGroup_FontSize}"/>
        <Setter Property="Foreground" Value="{StaticResource Timeline_TimelineItemGroup_Foreground}"/>
        <Setter Property="ItemsPanel">
            <Setter.Value>
                <ItemsPanelTemplate>
                    <timelines:VirtualizingTimelinePanel Slider="{Binding ElementName=PART_Slider}" Background="#01FFFFFF"/>
                </ItemsPanelTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="Header" Value="{Binding GroupKey}"/>
        <Setter Property="ItemsSource" Value="{Binding DataItems}"/>
        <Setter Property="ItemTemplateSelector" Value="{Binding Path=ItemTemplateSelector, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type datavizControls:RadTimeline}}}"/>
        <Setter Property="DataGroups" Value="{Binding DataGroups}"/>
        <Setter Property="ExpandMode" Value="{Binding GroupExpandMode, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=datavizControls:RadTimeline}}"/>
        <Setter Property="Background" Value="Transparent"/>
        <Setter Property="HorizontalContentAlignment" Value="Left"/>
        <Setter Property="IsTabStop" Value="false"/>
        <Setter Property="animation:AnimationManager.AnimationSelector">
            <Setter.Value>
                <animation:AnimationSelector>
                    <animation:ExpanderExpandCollapseAnimation AnimationName="Expand" Direction="In" TargetElementName="Content"/>
                    <animation:ExpanderExpandCollapseAnimation AnimationName="Collapse" Direction="Out" TargetElementName="Content"/>
                    <timelines:TimelineResizeAnimation AnimationName="Resize" TargetElementName="Content"/>
                </animation:AnimationSelector>
            </Setter.Value>
        </Setter>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="timelines:TimelineItemGroupControl">
                    <Border Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}">
                        <Grid>
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto"/>
                                <RowDefinition Height="*"/>
                            </Grid.RowDefinitions>
                            <Grid x:Name="Header"
                                    Grid.Row="0"
                                    Margin="0 5 0 0"
                                    Visibility="{Binding Path=HasHeader, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource booleanToVisibilityConverter}}">
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="Auto"/>
                                    <ColumnDefinition Width="*"/>
                                </Grid.ColumnDefinitions>
                                <telerikControls:RadToggleButton x:Name="HeaderButton"
                                        Foreground="{TemplateBinding Foreground}"
                                        Grid.Column="0"
                                        Content="{TemplateBinding Header}"
                                        ContentTemplate="{TemplateBinding HeaderTemplate}"
                                        Style="{StaticResource TimelineItemGroupControlToggleButtonStyle}"
                                        IsChecked="{Binding IsExpanded, RelativeSource={RelativeSource TemplatedParent}, Mode=TwoWay}"
                                        IsEnabled="{Binding ExpandMode, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource groupExpandModeToBooleanConverter}}"/>
                                <Path
                                        Grid.Column="1"
                                        VerticalAlignment="Center"
                                        HorizontalAlignment="Stretch"
                                        Data="M0,0 L800,0"
                                        Height="{StaticResource Timeline_TimelineItemGroup_Separator_Height}"
                                        Margin="5 1 0 0"
                                        Stretch="Fill"
                                        Stroke="{StaticResource Timeline_TimelineItemGroup_Separator_Stroke}"/>
                            </Grid>
                            <ItemsPresenter x:Name="Content" Grid.Row="1"/>
                        </Grid>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="timelines:TimelineItemGroupControl" BasedOn="{StaticResource TimelineItemGroupControlStyle}"/>
    <Style x:Key="TimelinePeriodHeaderStyle" TargetType="Border">
        <Setter Property="Height" Value="23"/>
        <Setter Property="VerticalAlignment" Value="Top"/>
    </Style>
    <Style x:Key="TimelineGroupPeriodHeaderStyle" TargetType="Border">
        <Setter Property="Height" Value="15"/>
        <Setter Property="VerticalAlignment" Value="Top"/>
    </Style>
    <Style x:Key="TimelineLineStyle" TargetType="Border">
        <Setter Property="BorderBrush" Value="{StaticResource Timeline_Button_Bottom_BorderBrush}"/>
        <Setter Property="BorderThickness" Value="{StaticResource Timeline_Button_Bottom_Thickness}"/>
        <Setter Property="Background" Value="{StaticResource Timeline_Button_Bottom_Background}"/>
        <Setter Property="Height" Value="4"/>
    </Style>
    <Style x:Key="TimelineItemControlStyle" TargetType="timelines:TimelineItemControl">
        <Setter Property="Height" Value="10"/>
        <Setter Property="BorderBrush" Value="{StaticResource Timeline_TimelineItem_Stroke}"/>
        <Setter Property="Margin" Value="0 5 0 0"/>
        <Setter Property="Background" Value="{StaticResource Timeline_TimelineItem_Fill}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="timelines:TimelineItemControl">
                    <Border Background="#01FFFFFF">
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="CommonStates">
                                <VisualState x:Name="Normal"/>
                                <VisualState x:Name="MouseOver">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="timelineItem" Storyboard.TargetProperty="Fill" Duration="0.00:00:00.05">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource Timeline_TimelineItem_Fill_MouseOver}"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="timelineItem" Storyboard.TargetProperty="Stroke" Duration="0.00:00:00.05">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource Timeline_TimelineItem_Stroke_MouseOver}"/>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Pressed">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="timelineItem" Storyboard.TargetProperty="Fill" Duration="0.00:00:00.05">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource Timeline_TimelineItem_Fill_Pressed}"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="timelineItem" Storyboard.TargetProperty="Stroke" Duration="0.00:00:00.05">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource Timeline_TimelineItem_Stroke_Pressed}"/>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                        <Rectangle x:Name="timelineItem" Margin="0 .5 0 .5" Fill="{TemplateBinding Background}" Stroke="{TemplateBinding BorderBrush}"/>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="TimelineInstantItemControlStyle" TargetType="timelines:TimelineInstantItemControl">
        <Setter Property="Margin" Value="0 5 0 0"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="timelines:TimelineInstantItemControl">
                    <Border Background="#01FFFFFF" Width="10" Height="10">
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="CommonStates">
                                <VisualState x:Name="Normal"/>
                                <VisualState x:Name="MouseOver">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="timelineItem" Storyboard.TargetProperty="Fill" Duration="0.00:00:00.05">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource Timeline_TimelineInstantItem_Fill_MouseOver}"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="timelineItem" Storyboard.TargetProperty="Stroke" Duration="0.00:00:00.05">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource Timeline_TimelineInstantItem_Stroke_MouseOver}"/>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Pressed">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="timelineItem" Storyboard.TargetProperty="Fill" Duration="0.00:00:00.05">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource Timeline_TimelineInstantItem_Fill_Pressed}"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="timelineItem" Storyboard.TargetProperty="Stroke" Duration="0.00:00:00.05">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource Timeline_TimelineInstantItem_Stroke_Pressed}"/>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                        <Rectangle x:Name="timelineItem"
                                HorizontalAlignment="Center"
                                VerticalAlignment="Center"
                                StrokeThickness="{StaticResource Timeline_TimelineInstantItem_Stroke_Thickness}"
                                Height="7"
                                Width="7"
                                Fill="{StaticResource Timeline_TimelineInstantItem_Fill}">
                            <Rectangle.RenderTransform>
                                <RotateTransform Angle="45" CenterX="3.5" CenterY="3.5"/>
                            </Rectangle.RenderTransform>
                        </Rectangle>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <DataTemplate x:Key="TimelineItemTemplate">
        <timelines:TimelineItemControl/>
    </DataTemplate>
    <DataTemplate x:Key="TimelineInstantItemTemplate">
        <timelines:TimelineInstantItemControl/>
    </DataTemplate>
    <Style x:Key="TimelineAnnotationStyle" TargetType="timelines:TimelineAnnotation">
        <Setter Property="IsHitTestVisible" Value="False"/>
        <Setter Property="Margin" Value="{StaticResource Timeline_TimelineAnnotation_Margin}"/>
        <Setter Property="Canvas.ZIndex" Value="300"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="timelines:TimelineAnnotation">
                    <ContentPresenter Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}"/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="SelectionRegionStyle" TargetType="timelines:SelectionRegion">
        <Setter Property="Visibility" Value="Collapsed"/>
        <Setter Property="BorderBrush" Value="{StaticResource Timeline_SelectionRegion_Stroke}"/>
        <Setter Property="Background" Value="{StaticResource Timeline_SelectionRegion_Fill}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="timelines:SelectionRegion">
                    <Grid>
                        <Rectangle Fill="{TemplateBinding Background}" Stroke="{TemplateBinding BorderBrush}" StrokeDashArray="3 3"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="TimelineItemContainerStyle" TargetType="timelines:TimelineItemContainer">
        <Setter Property="Canvas.ZIndex" Value="200"/>
        <Setter Property="ItemsPanel">
            <Setter.Value>
                <ItemsPanelTemplate>
                    <timelines:TimelineItemGroupsPanel Padding="0 43 0 5" VerticalScrollBar="{Binding ElementName=Part_VerticalSlider}"/>
                </ItemsPanelTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="RadTimelineStyle" TargetType="datavizControls:RadTimeline">
        <Setter Property="Foreground" Value="{StaticResource Timeline_Foreground}"/>
        <Setter Property="Background" Value="{StaticResource Timeline_Background}"/>
        <Setter Property="BorderBrush" Value="{StaticResource Timeline_BorderBrush}"/>
        <Setter Property="BorderThickness" Value="1 0 1 1"/>
        <Setter Property="SliderStyle" Value="{StaticResource Timeline_SliderStyle}"/>
        <Setter Property="TimelineItemTemplate" Value="{StaticResource TimelineItemTemplate}"/>
        <Setter Property="TimelineInstantItemTemplate" Value="{StaticResource TimelineInstantItemTemplate}"/>
        <Setter Property="PeriodHeaderStyle" Value="{StaticResource TimelinePeriodHeaderStyle}"/>
        <Setter Property="GroupPeriodHeaderStyle" Value="{StaticResource TimelineGroupPeriodHeaderStyle}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="datavizControls:RadTimeline">
                    <Border
                            BorderBrush="{TemplateBinding BorderBrush}"
                            BorderThickness="{TemplateBinding BorderThickness}"
                            Background="{TemplateBinding Background}"
                            SnapsToDevicePixels="True">
                        <Grid>
                            <Grid.RowDefinitions>
                                <RowDefinition Height="*"/>
                                <RowDefinition Height="Auto"/>
                            </Grid.RowDefinitions>
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="*"/>
                                <ColumnDefinition Width="Auto"/>
                            </Grid.ColumnDefinitions>
                            <Border
                                    Grid.Row="0"
                                    Grid.Column="0"
                                    Height="{Binding ElementName=PART_TimelineStripLineContainer, Path=(timeBars:ActualSizeProxy.ActualHeight)}"
                                    VerticalAlignment="Bottom"
                                    Background="{TemplateBinding Background}"/>
                            <timelines:TimelineAnnotationsPanel x:Name="PART_TimelineAnnotationsPanel" Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" Slider="{Binding ElementName=PART_Slider}">
                                <Grid Canvas.ZIndex="100">
                                    <Grid.RowDefinitions>
                                        <RowDefinition Height="Auto"/>
                                        <RowDefinition Height="Auto"/>
                                        <RowDefinition Height="*"/>
                                    </Grid.RowDefinitions>
                                    <timelines:TimelineStripLineContainer x:Name="PART_TimelineStripLineContainer" Grid.Row="2" timeBars:ActualSizeProxy.IsEnabled="True" ItemsSource="{TemplateBinding IntervalItems}">
                                        <timelines:TimelineStripLineContainer.ItemsPanel>
                                            <ItemsPanelTemplate>
                                                <timeBars:VirtualizingTimeBarPanel Slider="{Binding ElementName=PART_Slider}"/>
                                            </ItemsPanelTemplate>
                                        </timelines:TimelineStripLineContainer.ItemsPanel>
                                        <timelines:TimelineStripLineContainer.Template>
                                            <ControlTemplate>
                                                <ItemsPresenter/>
                                            </ControlTemplate>
                                        </timelines:TimelineStripLineContainer.Template>
                                    </timelines:TimelineStripLineContainer>
                                    <timeBars:TimeSpecialSlotContainer x:Name="PART_TimeSpecialSlotContainer" Grid.Row="2" ItemsSource="{TemplateBinding SpecialSlots}">
                                        <timeBars:TimeSpecialSlotContainer.ItemsPanel>
                                            <ItemsPanelTemplate>
                                                <timeBars:TimeBarPanel Slider="{Binding ElementName=PART_Slider}"/>
                                            </ItemsPanelTemplate>
                                        </timeBars:TimeSpecialSlotContainer.ItemsPanel>
                                        <timeBars:TimeSpecialSlotContainer.Template>
                                            <ControlTemplate>
                                                <ItemsPresenter/>
                                            </ControlTemplate>
                                        </timeBars:TimeSpecialSlotContainer.Template>
                                    </timeBars:TimeSpecialSlotContainer>
                                    <Border Grid.Row="1" Style="{StaticResource TimelineLineStyle}"/>
                                    <timelines:TimelineGroupPeriodContainer x:Name="PART_TimelineGroupPeriodContainer" Grid.Row="0" ItemsSource="{TemplateBinding IntervalGroups}" ItemHeaderStyle="{TemplateBinding GroupPeriodHeaderStyle}">
                                        <timelines:TimelineGroupPeriodContainer.ItemsPanel>
                                            <ItemsPanelTemplate>
                                                <timeBars:LabelMeasurementPanel Slider="{Binding ElementName=PART_Slider}"/>
                                            </ItemsPanelTemplate>
                                        </timelines:TimelineGroupPeriodContainer.ItemsPanel>
                                        <timelines:TimelineGroupPeriodContainer.Template>
                                            <ControlTemplate>
                                                <ItemsPresenter/>
                                            </ControlTemplate>
                                        </timelines:TimelineGroupPeriodContainer.Template>
                                    </timelines:TimelineGroupPeriodContainer>
                                    <timelines:TimelinePeriodContainer x:Name="PART_TimelinePeriodContainer"
                                            Grid.Row="1"
                                            Grid.RowSpan="2"
                                            ItemsSource="{TemplateBinding IntervalItems}"
                                            ItemHeaderStyle="{TemplateBinding PeriodHeaderStyle}">
                                        <timelines:TimelinePeriodContainer.ItemsPanel>
                                            <ItemsPanelTemplate>
                                                <timeBars:LabelMeasurementPanel Slider="{Binding ElementName=PART_Slider}"/>
                                            </ItemsPanelTemplate>
                                        </timelines:TimelinePeriodContainer.ItemsPanel>
                                        <timelines:TimelinePeriodContainer.Template>
                                            <ControlTemplate>
                                                <ItemsPresenter/>
                                            </ControlTemplate>
                                        </timelines:TimelinePeriodContainer.Template>
                                    </timelines:TimelinePeriodContainer>
                                </Grid>
                                <timelines:TimelineItemContainer x:Name="PART_TimelineItemContainer"
                                        GroupExpandMode="{TemplateBinding GroupExpandMode}"
                                        ItemsSource="{TemplateBinding GroupedDataItems}"
                                        SelectionRegionControl="{Binding ElementName=PART_SelectionRegion}">
                                    <timelines:TimelineItemContainer.Template>
                                        <ControlTemplate>
                                            <Grid Background="#01FFFFFF">
                                                <ItemsPresenter/>
                                            </Grid>
                                        </ControlTemplate>
                                    </timelines:TimelineItemContainer.Template>
                                </timelines:TimelineItemContainer>
                            </timelines:TimelineAnnotationsPanel>
                            <timelines:SelectionRegionPanel x:Name="PART_SelectionRegionPanel" Grid.Row="0" Grid.Column="0" Slider="{Binding ElementName=PART_Slider}">
                                <timelines:SelectionRegion x:Name="PART_SelectionRegion"/>
                            </timelines:SelectionRegionPanel>
                            <Border Grid.Row="1" Grid.Column="1" Visibility="{Binding Visibility, ElementName=Part_VerticalSlider}" Background="{StaticResource Timeline_Slider_Corner_Background}">
                                <Border BorderThickness="{StaticResource Timeline_Slider_Corner_BorderThickness}" Opacity="0.5" BorderBrush="{StaticResource Timeline_BorderBrush}"/>
                            </Border>
                            <timelines:TimelineScrollBar x:Name="Part_VerticalSlider"
                                    Grid.Row="0"
                                    Grid.Column="1"
                                    VerticalAlignment="Bottom"
                                    Visibility="Collapsed"
                                    ScrollBarVisibility="{TemplateBinding VerticalScrollBarVisibility}"
                                    Style="{TemplateBinding SliderStyle}"
                                    Height="{Binding ElementName=PART_TimelineStripLineContainer, Path=(timeBars:ActualSizeProxy.ActualHeight)}"
                                    Minimum="0"
                                    Maximum="1"
                                    SelectionStart="0"
                                    SelectionEnd="1"
                                    Orientation="Vertical"
                                    IsDirectionReversed="True"
                                    ThumbVisibility="Collapsed"/>
                            <telerikControls:RadSlider x:Name="PART_Slider"
                                    Grid.Row="1"
                                    Grid.Column="0"
                                    Style="{TemplateBinding SliderStyle}"
                                    Width="Auto"
                                    Minimum="{Binding Path=PeriodStart, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource dateConverter}}"
                                    Maximum="{Binding Path=PeriodEnd, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource dateConverter}}"
                                    MinimumRangeSpan="{Binding Path=ActualMinZoomRange, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource timespanConverter}}"
                                    MaximumRangeSpan="{Binding Path=MaxZoomRange, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource timeSpanToMaximumRangeSpanConverter}}"
                                    Selection="{Binding Path=ActualVisiblePeriodRange, RelativeSource={RelativeSource TemplatedParent}, Mode=TwoWay, Converter={StaticResource selectionRangeConverter}}"
                                    SmallChange="{Binding Path=SmallChange, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource timespanConverter}}"
                                    LargeChange="{Binding Path=LargeChange, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource timespanConverter}}"
                                    ThumbVisibility="{Binding Path=ScrollMode, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource scrollModeToThumbVisibilityConverter}}"
                                    Visibility="{Binding Path=ScrollMode, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource scrollModeToVisibilityConverter}}"
                                    IsCoercionSuppressed="True"/>
                        </Grid>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style TargetType="timelines:TimelineItemControl" BasedOn="{StaticResource TimelineItemControlStyle}"/>
    <Style TargetType="timelines:TimelineInstantItemControl" BasedOn="{StaticResource TimelineInstantItemControlStyle}"/>
    <Style TargetType="timelines:TimelineAnnotation" BasedOn="{StaticResource TimelineAnnotationStyle}"/>
    <Style TargetType="timelines:SelectionRegion" BasedOn="{StaticResource SelectionRegionStyle}"/>
    <Style TargetType="timelines:TimelineItemContainer" BasedOn="{StaticResource TimelineItemContainerStyle}"/>
    <Style TargetType="datavizControls:RadTimeline" BasedOn="{StaticResource RadTimelineStyle}"/>
</ResourceDictionary>
