<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
		xmlns:vistaCopy="clr-namespace:VistaThemeCopy"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
		xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
		xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"
		
    
    
    xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls"
    xmlns:telerikPrimitives="clr-namespace:Telerik.Windows.Controls.Primitives;assembly=Telerik.Windows.Controls"
    xmlns:dragDrop="clr-namespace:Telerik.Windows.Controls.DragDrop;assembly=Telerik.Windows.Controls"
    xmlns:animation="clr-namespace:Telerik.Windows.Controls.Animation;assembly=Telerik.Windows.Controls"
    xmlns:telerikChromes="clr-namespace:Telerik.Windows.Controls.Chromes;assembly=Telerik.Windows.Controls"
    xmlns:sys="clr-namespace:System;assembly=mscorlib"
	xmlns:telerikTransitions="clr-namespace:Telerik.Windows.Controls.TransitionEffects;assembly=Telerik.Windows.Controls"
    xmlns:telerikTransitonControl="clr-namespace:Telerik.Windows.Controls.TransitionControl;assembly=Telerik.Windows.Controls"
    
 >

    <CornerRadius x:Key="SliderHandOuterBorder_CornerRadius">2</CornerRadius>
<SolidColorBrush x:Key="SliderHandOuterBorder_Normal" Color="#00FFFFFF" />
<SolidColorBrush x:Key="SliderHandBackground_Normal" Color="#00FFFFFF" />
<CornerRadius x:Key="SliderHandInnerBorder_CornerRadius">1</CornerRadius>
<SolidColorBrush x:Key="SliderHandInnerBorder_Normal" Color="#00FFFFFF" />
<vistaCopy:VistaThemeCopyTheme x:Key="Theme" />
<SolidColorBrush x:Key="ControlElement_Normal" Color="#FF282828" />
<SolidColorBrush x:Key="ControlElement_MouseOver" Color="#FF282828" />
<SolidColorBrush x:Key="ControlElement_Pressed" Color="#FF282828" />
<SolidColorBrush x:Key="ControlElement_Disabled" Color="#FF6E6E6E" />
<CornerRadius x:Key="ControlOuterBorder_CornerRadius">2</CornerRadius>
<SolidColorBrush x:Key="SliderThumb_OuterBorder_Normal" Color="#FF898C95" />
<LinearGradientBrush x:Key="ControlBackground_Normal" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFD0D0D0" Offset="1" />
		<GradientStop Color="#FFF2F2F2" Offset="0" />
		<GradientStop Color="#FFDDDDDD" Offset="0.51" />
		<GradientStop Color="#FFECECEC" Offset="0.5" />
	</LinearGradientBrush>
<CornerRadius x:Key="ControlInnerBorder_CornerRadius">1</CornerRadius>
<SolidColorBrush x:Key="ControlInnerBorder_Normal" Color="#FFFCFCFC" />
<SolidColorBrush x:Key="ControlOuterBorder_MouseOver" Color="#FF3C7FB1" />
<SolidColorBrush x:Key="ControlInnerBorder_MouseOver" Color="#FFE9F6FD" />
<LinearGradientBrush x:Key="ControlBackground_MouseOver" EndPoint="0.5,0" StartPoint="0.5,1">
		<GradientStop Color="#FF81C3E5" Offset="0" />
		<GradientStop Color="#FF98D1EF" Offset="0.5" />
		<GradientStop Color="#FFB4E0F7" Offset="0.5" />
		<GradientStop Color="#FFBDE4F9" Offset="1" />
	</LinearGradientBrush>
<SolidColorBrush x:Key="ControlOuterBorder_Disabled" Color="#FFA9A9A9" />
<SolidColorBrush x:Key="ControlInnerBorder_Disabled" Color="#FFF8F8F8" />
<LinearGradientBrush x:Key="ControlBackground_Disabled" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFF7F7F7" Offset="0.004" />
		<GradientStop Color="#FFE3E3E3" Offset="1" />
		<GradientStop Color="#FFF3F3F3" Offset="0.5" />
		<GradientStop Color="#FFEAEAEA" Offset="0.5" />
	</LinearGradientBrush>
<SolidColorBrush x:Key="ControlOuterBorder_Pressed" Color="#FF2C628B" />
<SolidColorBrush x:Key="ControlInnerBorder_Pressed" Color="#FF9EB0BA" />
<LinearGradientBrush x:Key="ControlBackground_Pressed" EndPoint="0.5,0" StartPoint="0.5,1">
		<GradientStop Color="#FF6AB6DE" Offset="0" />
		<GradientStop Color="#FF82C2E4" Offset="0.5" />
		<GradientStop Color="#FF98D0ED" Offset="0.5" />
		<GradientStop Color="#FFA9DEFB" Offset="1" />
	</LinearGradientBrush>
<LinearGradientBrush x:Key="SliderRangeMiddleThumb_Background" EndPoint="0.069,0.931" StartPoint="0.069,0.074">
			<GradientStop Color="#FF8ACEE4" Offset="0.655" />
			<GradientStop Color="#FF9AE7FE" Offset="0.02" />
			<GradientStop Color="#FF2F58CD" Offset="0.281" />
			<GradientStop Color="#FF3E69E2" Offset="0.65" />
			<GradientStop Color="#FF9AE7FE" Offset="0.28" />
			<GradientStop Color="#FF8ACEE4" Offset="0.996" />
		</LinearGradientBrush>
<LinearGradientBrush x:Key="SliderRangeMiddleThumb_Background_State" EndPoint="0.069,0.931"
				StartPoint="0.069,0.074">
			<GradientStop Color="#FF739DC3" Offset="0.655" />
			<GradientStop Color="#FFAAD6FE" Offset="0.02" />
			<GradientStop Color="#FF0A309B" Offset="0.295" />
			<GradientStop Color="#FF0D5DC9" Offset="0.647" />
			<GradientStop Color="#FFAAD6FE" Offset="0.28" />
		</LinearGradientBrush>
<SolidColorBrush x:Key="ControlOuterBorderVertical_Normal" Color="#FF898C95" />
<LinearGradientBrush x:Key="ControlBackgroundVertical_Normal" EndPoint="1,0.5" StartPoint="0,0.5">
			<GradientStop Color="#FFD0D0D0" Offset="1" />
			<GradientStop Color="#FFF2F2F2" Offset="0" />
			<GradientStop Color="#FFDDDDDD" Offset="0.51" />
			<GradientStop Color="#FFECECEC" Offset="0.507" />
		</LinearGradientBrush>
<SolidColorBrush x:Key="ControlInnerBorderVertical_Normal" Color="#FFFCFCFC" />
<SolidColorBrush x:Key="ControlOuterBorderVertical_MouseOver" Color="#FF3C7FB1" />
<SolidColorBrush x:Key="ControlInnerBorderVertical_MouseOver" Color="#FFE9F6FD" />
<LinearGradientBrush x:Key="ControlBackgroundVertical_MouseOver" EndPoint="0,0.5" StartPoint="1,0.5">
		<GradientStop Color="#FF81C3E5" Offset="0" />
		<GradientStop Color="#FF98D1EF" Offset="0.5" />
		<GradientStop Color="#FFB4E0F7" Offset="0.5" />
		<GradientStop Color="#FFBDE4F9" Offset="1" />
	</LinearGradientBrush>
<SolidColorBrush x:Key="ControlOuterBorderVertical_Disabled" Color="#FFA9A9A9" />
<SolidColorBrush x:Key="ControlInnerBorderVertical_Disabled" Color="#FFF8F8F8" />
<LinearGradientBrush x:Key="ControlBackgroundVertical_Disabled" EndPoint="1,0.5" StartPoint="0,0.5">
		<GradientStop Color="#FFF7F7F7" Offset="0.004" />
		<GradientStop Color="#FFE3E3E3" Offset="1" />
		<GradientStop Color="#FFF3F3F3" Offset="0.5" />
		<GradientStop Color="#FFEAEAEA" Offset="0.5" />
	</LinearGradientBrush>
<SolidColorBrush x:Key="ControlOuterBorderVertical_Pressed" Color="#FF2C628B" />
<SolidColorBrush x:Key="ControlInnerBorderVertical_Pressed" Color="#FF9EB0BA" />
<LinearGradientBrush x:Key="ControlBackgroundVertical_Pressed" EndPoint="0,0.5" StartPoint="1,0.5">
		<GradientStop Color="#FF6AB6DE" Offset="0" />
		<GradientStop Color="#FF82C2E4" Offset="0.5" />
		<GradientStop Color="#FF98D0ED" Offset="0.5" />
		<GradientStop Color="#FFA9DEFB" Offset="1" />
	</LinearGradientBrush>
<LinearGradientBrush x:Key="SliderRangeMiddleThumb_BackgroundVerical" EndPoint="1,0.5"
				StartPoint="0,0.5">
			<GradientStop Color="#FF0E7094" />
			<GradientStop Color="#FF1990B1" Offset="1" />
		</LinearGradientBrush>
<LinearGradientBrush x:Key="SliderRangeMiddleThumb_BackgroundVerical_State" EndPoint="1,0.5"
				StartPoint="0,0.5">
			<GradientStop Color="#FF12A6DA" />
			<GradientStop Color="#FF39BDEB" Offset="1" />
		</LinearGradientBrush>
<SolidColorBrush x:Key="SliderBackgroundTrack" Color="#FFE7EAEA" />
<SolidColorBrush x:Key="SliderOuterBorderTrack" Color="#FF898C95" />
<SolidColorBrush x:Key="SliderBackground_Tick" Color="#FF000000" />
<CornerRadius x:Key="SliderOuterBorderTrack_CornerRadius">0</CornerRadius>
<Thickness x:Key="SliderOuterBorderTrack_BorderThickness">1 1 1 0</Thickness>
<CornerRadius x:Key="SliderInnerBorderTrack_CornerRadius">0</CornerRadius>
<Thickness x:Key="SliderInnerBorderTrack_BorderThickness">0</Thickness>
<SolidColorBrush x:Key="SliderInnerBorderTrack" Color="#00FFFFFF" />
<Thickness x:Key="SliderOuterBorderTrack_BorderThicknessVertical">0 1 1 1</Thickness>
<SolidColorBrush x:Key="FocusBrushBlack" Color="#FF000000" />
<ControlTemplate x:Key="ValidationToolTipTemplate" TargetType="{x:Type ToolTip}">
		
		
			<Grid x:Name="Root" Margin="5,0" RenderTransformOrigin="0,0" Opacity="0">
				

				
				<Grid.RenderTransform>
					<TranslateTransform X="-25" />
				</Grid.RenderTransform>
				

				


				<Border Background="#FFDC000C" CornerRadius="2">
					
				</Border>

				<Border CornerRadius="2">
					<TextBlock Foreground="White" Margin="8,3,8,3" MaxWidth="250"
							TextWrapping="Wrap" Text="{Binding (Validation.Errors)[0].ErrorContent}" />
				</Border>
			</Grid>
			
			<ControlTemplate.Triggers>
				<Trigger Property="IsOpen" Value="True">
					<Trigger.EnterActions>
						<BeginStoryboard>
							<Storyboard Name="OpenAnimation">
								<DoubleAnimation Storyboard.TargetName="xform"
										Storyboard.TargetProperty="X" To="0" Duration="0:0:0.2" />
								<DoubleAnimation Storyboard.TargetName="Root"
										Storyboard.TargetProperty="Opacity" To="1"
										Duration="0:0:0.2" />
							</Storyboard>
						</BeginStoryboard>
					</Trigger.EnterActions>
					<Trigger.ExitActions>
						<StopStoryboard BeginStoryboardName="OpenAnimation" />
					</Trigger.ExitActions>
				</Trigger>
				<Trigger Property="IsOpen" Value="True">
					<Setter TargetName="Root" Property="RenderTransform">
						<Setter.Value>
							<TranslateTransform X="0" />
						</Setter.Value>
					</Setter>
					<Setter Property="Opacity" Value="1" TargetName="Root" />
				</Trigger>
				<Trigger Property="IsOpen" Value="False">
					<Setter Property="Opacity" Value="0" TargetName="Root" />
				</Trigger>
			</ControlTemplate.Triggers>
			
		</ControlTemplate>

    

	<SolidColorBrush x:Key="VerticalSingleLargeFill" Color="#00FFFFFF" />

	<!--Increas/Decrease Handle Style-->
	<Style x:Key="HandleStyle" TargetType="RepeatButton">
		<Setter Property="IsTabStop" Value="False" />
		<Setter Property="Cursor" Value="Hand" />
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="RepeatButton">
					<Grid x:Name="Root" Width="18" Height="18">
						
						<Border x:Name="Border" BorderThickness="1"
								CornerRadius="{StaticResource SliderHandOuterBorder_CornerRadius}"
								BorderBrush="{StaticResource SliderHandOuterBorder_Normal}"
								Background="{StaticResource  SliderHandBackground_Normal}">
							<Border x:Name="InnerBorder" BorderThickness="1"
									CornerRadius="{StaticResource SliderHandInnerBorder_CornerRadius}"
									BorderBrush="{StaticResource SliderHandInnerBorder_Normal}" />
						</Border>

						<telerikChromes:ButtonChrome
								telerik:StyleManager.Theme="{StaticResource Theme}"
								RenderNormal="False" RenderEnabled="{TemplateBinding IsEnabled}"
								RenderMouseOver="{TemplateBinding IsMouseOver}"
								RenderPressed="{TemplateBinding IsPressed}"
								RenderFocused="{TemplateBinding IsFocused}"
								CornerRadius="{StaticResource SliderHandOuterBorder_CornerRadius}" />
						<Path Fill="{StaticResource ControlElement_Normal}" x:Name="Path"
								Stretch="Fill" HorizontalAlignment="Center"
								VerticalAlignment="Center" Width="4" Height="7"
								RenderTransformOrigin="0.5,0.5"
								Data="M3,0 L4,0 L4,1 L4,2 L4,3 L4,4 L4,5 L4,6 L4,7 L3,7 L3,6 L2,6 L2,5 L1,5 L1,4 L0,4 L0,3 L1,3 L1,2 L2,2 L2,1 L3,1 z" />
					</Grid>
					
					<ControlTemplate.Triggers>
						<Trigger Property="IsMouseOver" Value="True">
							<Setter TargetName="Path" Property="Fill"
									Value="{StaticResource ControlElement_MouseOver}" />
						</Trigger>
						<Trigger Property="IsPressed" Value="True">
							<Setter TargetName="Path" Property="Fill"
									Value="{StaticResource ControlElement_Pressed}" />
						</Trigger>
						<Trigger Property="IsEnabled" Value="False">
							<Setter TargetName="Path" Property="Fill"
									Value="{StaticResource ControlElement_Disabled}" />
						</Trigger>
					</ControlTemplate.Triggers>
					
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<!--Horizontal Thumb Template-->
	<ControlTemplate x:Key="HorizontalThumbTemplate" TargetType="Thumb">
		<Grid>
			

			<Border x:Name="Border" BorderThickness="1"
					CornerRadius="{StaticResource ControlOuterBorder_CornerRadius}"
					BorderBrush="{StaticResource SliderThumb_OuterBorder_Normal}"
					Background="{StaticResource  ControlBackground_Normal}">
				<Border x:Name="InnerBorder" BorderThickness="1"
						CornerRadius="{StaticResource ControlInnerBorder_CornerRadius}"
						BorderBrush="{StaticResource ControlInnerBorder_Normal}" />
			</Border>

		</Grid>
		
		<ControlTemplate.Triggers>
			<Trigger Property="IsMouseOver" Value="True">
				<Setter TargetName="Border" Property="BorderBrush"
						Value="{StaticResource ControlOuterBorder_MouseOver}" />
				<Setter TargetName="InnerBorder" Property="BorderBrush"
						Value="{StaticResource ControlInnerBorder_MouseOver}" />
				<Setter TargetName="Border" Property="Background"
						Value="{StaticResource ControlBackground_MouseOver}" />
			</Trigger>
			<Trigger Property="IsEnabled" Value="False">
				<Setter TargetName="Border" Property="BorderBrush"
						Value="{StaticResource ControlOuterBorder_Disabled}" />
				<Setter TargetName="InnerBorder" Property="BorderBrush"
						Value="{StaticResource ControlInnerBorder_Disabled}" />
				<Setter TargetName="Border" Property="Background"
						Value="{StaticResource ControlBackground_Disabled}" />
			</Trigger>
			<Trigger Property="IsDragging" Value="True">
				<Setter TargetName="Border" Property="BorderBrush"
						Value="{StaticResource ControlOuterBorder_Pressed}" />
				<Setter TargetName="InnerBorder" Property="BorderBrush"
						Value="{StaticResource ControlInnerBorder_Pressed}" />
				<Setter TargetName="Border" Property="Background"
						Value="{StaticResource ControlBackground_Pressed}" />
			</Trigger>
		</ControlTemplate.Triggers>
		
	</ControlTemplate>

	<!--Horizontal Range Selection Thumb Template-->
	<ControlTemplate x:Key="HorizontalRangeSelectionThumbTemplate" TargetType="Thumb">
		<Grid>
			
			<Border x:Name="border" Height="4" Opacity="1"
					Background="{StaticResource SliderRangeMiddleThumb_Background}" />
		</Grid>
		
		<ControlTemplate.Triggers>
			<Trigger Property="IsMouseOver" Value="True">
				<Setter TargetName="border" Property="Background"
						Value="{StaticResource SliderRangeMiddleThumb_Background_State}" />
			</Trigger>
			<EventTrigger RoutedEvent="Thumb.DragStarted" />
		</ControlTemplate.Triggers>
		
	</ControlTemplate>

	<!--Vertical Thumb Template-->
	<ControlTemplate x:Key="VerticalThumbTemplate" TargetType="Thumb">
		<Grid>
			

			<Border x:Name="Border" BorderThickness="1"
					CornerRadius="{StaticResource ControlOuterBorder_CornerRadius}"
					BorderBrush="{StaticResource ControlOuterBorderVertical_Normal}"
					Background="{StaticResource  ControlBackgroundVertical_Normal}">
				<Border x:Name="InnerBorder" BorderThickness="1"
						CornerRadius="{StaticResource ControlInnerBorder_CornerRadius}"
						BorderBrush="{StaticResource ControlInnerBorderVertical_Normal}" />
			</Border>
		</Grid>
		
		<ControlTemplate.Triggers>
			<Trigger Property="IsMouseOver" Value="True">
				<Setter TargetName="Border" Property="BorderBrush"
						Value="{StaticResource ControlOuterBorderVertical_MouseOver}" />
				<Setter TargetName="InnerBorder" Property="BorderBrush"
						Value="{StaticResource ControlInnerBorderVertical_MouseOver}" />
				<Setter TargetName="Border" Property="Background"
						Value="{StaticResource ControlBackgroundVertical_MouseOver}" />
			</Trigger>
			<Trigger Property="IsEnabled" Value="False">
				<Setter TargetName="Border" Property="BorderBrush"
						Value="{StaticResource ControlOuterBorderVertical_Disabled}" />
				<Setter TargetName="InnerBorder" Property="BorderBrush"
						Value="{StaticResource ControlInnerBorderVertical_Disabled}" />
				<Setter TargetName="Border" Property="Background"
						Value="{StaticResource ControlBackgroundVertical_Disabled}" />
			</Trigger>
			<Trigger Property="IsDragging" Value="True">
				<Setter TargetName="Border" Property="BorderBrush"
						Value="{StaticResource ControlOuterBorderVertical_Pressed}" />
				<Setter TargetName="InnerBorder" Property="BorderBrush"
						Value="{StaticResource ControlInnerBorderVertical_Pressed}" />
				<Setter TargetName="Border" Property="Background"
						Value="{StaticResource ControlBackgroundVertical_Pressed}" />
			</Trigger>
		</ControlTemplate.Triggers>
		
	</ControlTemplate>

	<!--Vertical Range Selection Thumb Template-->
	<ControlTemplate x:Key="VerticalRangeSelectionThumbTemplate" TargetType="Thumb">
		<Grid>
			
			<Border x:Name="border" Width="4" Opacity="1"
					Background="{StaticResource SliderRangeMiddleThumb_BackgroundVerical}" />
		</Grid>
		
		<ControlTemplate.Triggers>
			<Trigger Property="IsMouseOver" Value="True">
				<Setter TargetName="border" Property="Background"
						Value="{StaticResource SliderRangeMiddleThumb_BackgroundVerical_State}" />
			</Trigger>
			<EventTrigger RoutedEvent="Thumb.DragStarted" />
		</ControlTemplate.Triggers>
		
	</ControlTemplate>

	<!--TickBar-->
	<ControlTemplate x:Key="TickBarTemplate" TargetType="telerik:RadTickBar">
		<Canvas x:Name="LayoutRoot" Background="Transparent" />
	</ControlTemplate>

	<!--RadSlider-->
	<Style TargetType="telerik:RadSlider"
		   
		x:Key="{telerik:ThemeResourceKey ThemeType=
		vistaCopy:VistaThemeCopyTheme , ElementType=telerik:RadSlider}"
		 >
		<Setter Property="HorizontalAlignment" Value="Stretch" />
		<Setter Property="VerticalAlignment" Value="Stretch" />
		<Setter Property="Orientation" Value="Horizontal" />
		<Setter Property="IsEnabled" Value="True" />
		<Setter Property="HandlesVisibility" Value="Collapsed" />
		<Setter Property="IsMouseWheelEnabled" Value="True" />
		<Setter Property="Background" Value="{StaticResource SliderBackgroundTrack}" />
		<Setter Property="BorderBrush" Value="{StaticResource SliderOuterBorderTrack}" />
		<Setter Property="Delay" Value="250" />
		<Setter Property="RepeatInterval" Value="250" />
		<Setter Property="StepAction" Value="ChangeRange" />
		<Setter Property="ThumbVisibility" Value="Visible" />
		<Setter Property="SelectionStart" Value="0.4" />
		<Setter Property="SelectionEnd" Value="0.6" />
		<Setter Property="MinimumRangeSpan" Value="0.0" />
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="telerik:RadSlider">
					<Grid x:Name="LayoutRoot">
						<Grid.Resources>
							<!-- Tick Template -->
							<DataTemplate x:Key="HorizontalTickTemplate">
								<Grid x:Name="RootElement" ToolTipService.ToolTip="{Binding}">
									<Rectangle Width="1" Height="5"
											Fill="{StaticResource SliderBackground_Tick}" />
								</Grid>
							</DataTemplate>
							<DataTemplate x:Key="VerticalTickTemplate">
								<Grid x:Name="RootElement" ToolTipService.ToolTip="{Binding}">
									<Rectangle Width="5" Height="1"
											Fill="{StaticResource SliderBackground_Tick}" />
								</Grid>
							</DataTemplate>
						</Grid.Resources>
						
						<Grid>

							<!--HorizontalTemplate-->
							<Grid x:Name="HorizontalTemplate">
								<Grid.ColumnDefinitions>
									<ColumnDefinition Width="Auto" />
									<ColumnDefinition Width="*" />
									<ColumnDefinition Width="Auto" />
								</Grid.ColumnDefinitions>
								<Grid.RowDefinitions>
									<RowDefinition Height="Auto" />
									<RowDefinition Height="Auto" />
									<RowDefinition Height="Auto" />
								</Grid.RowDefinitions>

								<!--[Horizontal] [TopTicks]-->
								<telerik:RadTickBar x:Name="TopTickBar" IsTabStop="False"
										EnableSideTicks="{TemplateBinding EnableSideTicks}"
										Template="{StaticResource TickBarTemplate}" MinHeight="6"
										Placement="Top" Grid.Column="1"
										TickFrequency="{TemplateBinding TickFrequency}"
										Ticks="{TemplateBinding Ticks}"
										IsDirectionReversed="{TemplateBinding IsDirectionReversed}"
										Maximum="{TemplateBinding Maximum}"
										Minimum="{TemplateBinding Minimum}"
										TickTemplate="{TemplateBinding TickTemplate}"
										TickTemplateSelector="{TemplateBinding TickTemplateSelector}"
										Orientation="{TemplateBinding Orientation}" />
								<!--[Horizontal] [BottomTicks]-->
								<telerik:RadTickBar x:Name="BottomTickBar" IsTabStop="False"
										Template="{StaticResource TickBarTemplate}" MinHeight="6"
										Placement="Bottom" Grid.Column="1" Grid.Row="2"
										EnableSideTicks="{TemplateBinding EnableSideTicks}"
										TickFrequency="{TemplateBinding TickFrequency}"
										Ticks="{TemplateBinding Ticks}"
										IsDirectionReversed="{TemplateBinding IsDirectionReversed}"
										Maximum="{TemplateBinding Maximum}"
										Minimum="{TemplateBinding Minimum}"
										TickTemplate="{TemplateBinding TickTemplate}"
										TickTemplateSelector="{TemplateBinding TickTemplateSelector}"
										Orientation="{TemplateBinding Orientation}" />

								<!--Track-->
								<Border VerticalAlignment="Center" Height="6" x:Name="Track"
										CornerRadius="{StaticResource SliderOuterBorderTrack_CornerRadius}"
										BorderThickness="{StaticResource SliderOuterBorderTrack_BorderThickness}"
										BorderBrush="{TemplateBinding BorderBrush}" Grid.Column="1"
										Grid.Row="1">
									<Border
											CornerRadius="{StaticResource SliderInnerBorderTrack_CornerRadius}"
											BorderThickness="{StaticResource SliderInnerBorderTrack_BorderThickness}"
											BorderBrush="{StaticResource SliderInnerBorderTrack}"
											Background="{TemplateBinding Background}" />
								</Border>

								<!--[Horizontal] [SingleThumbTemplate]-->
								<Grid x:Name="HorizontalSingleThumbTemplate" Grid.Row="1"
										Grid.Column="1" Height="18">
									<Grid.ColumnDefinitions>
										<ColumnDefinition Width="Auto" />
										<ColumnDefinition Width="Auto" />
										<ColumnDefinition Width="*" />
									</Grid.ColumnDefinitions>
									<Rectangle x:Name="HorizontalSingleLargeDecrease" Cursor="Hand"
											Opacity="0" Fill="Transparent"
											VerticalAlignment="Stretch" />
									<Thumb x:Name="HorizontalSingleThumb"
											IsEnabled="{TemplateBinding IsEnabled}" Width="8"
											Height="18" Grid.Column="1"
											Template="{StaticResource HorizontalThumbTemplate}"
											VerticalAlignment="Center"
											Visibility="{TemplateBinding ThumbVisibility}" />
									<Rectangle x:Name="HorizontalSingleLargeIncrease" Cursor="Hand"
											Grid.Column="2" Opacity="0" Fill="Transparent"
											VerticalAlignment="Stretch" />
								</Grid>

								<!--[Horizontal] [RangeSelectionTemplate]-->
								<Grid x:Name="HorizontalRangeTemplate" Grid.Row="1" Grid.Column="1"
										Height="18">
									<Grid.ColumnDefinitions>
										<ColumnDefinition Width="Auto" />
										<ColumnDefinition Width="Auto" />
										<ColumnDefinition Width="*" />
										<ColumnDefinition Width="Auto" />
										<ColumnDefinition Width="Auto" />
									</Grid.ColumnDefinitions>

									<Rectangle x:Name="HorizontalRangeLargeDecrease" Cursor="Hand"
											Opacity="0" Fill="Transparent" Grid.Column="0" />
									<Thumb x:Name="HorizontalRangeStartThumb"
											IsEnabled="{TemplateBinding IsEnabled}" Width="8"
											Height="18" Grid.Column="1"
											Template="{StaticResource HorizontalThumbTemplate}"
											VerticalAlignment="Center"
											Visibility="{TemplateBinding ThumbVisibility}" />
									<Thumb x:Name="HorizontalRangeMiddleThumb"
											IsEnabled="{TemplateBinding IsEnabled}" Grid.Column="2"
											Template="{StaticResource HorizontalRangeSelectionThumbTemplate}"
											VerticalAlignment="Center" />
									<Thumb x:Name="HorizontalRangeEndThumb"
											IsEnabled="{TemplateBinding IsEnabled}" Width="8"
											Height="18" Grid.Column="3"
											Template="{StaticResource HorizontalThumbTemplate}"
											VerticalAlignment="Center"
											Visibility="{TemplateBinding ThumbVisibility}" />
									<Rectangle x:Name="HorizontalRangeLargeIncrease" Cursor="Hand"
											Opacity="0" Fill="Transparent" Grid.Column="4" />
								</Grid>

								<!--[Horizontal] [DecreaseHandle]-->
								<RepeatButton x:Name="HorizontalDecreaseHandle" Grid.Row="1"
										IsEnabled="{TemplateBinding IsEnabled}"
										Delay="{TemplateBinding Delay}"
										Interval="{TemplateBinding RepeatInterval}"
										Visibility="{TemplateBinding HandlesVisibility}"
										Style="{StaticResource HandleStyle}" Margin="0 0 2 0" />

								<!--[Horizontal] [IncreaseHandle]-->
								<RepeatButton x:Name="HorizontalIncreaseHandle" Grid.Row="1"
										Grid.Column="2" IsEnabled="{TemplateBinding IsEnabled}"
										Delay="{TemplateBinding Delay}"
										Interval="{TemplateBinding RepeatInterval}"
										Visibility="{TemplateBinding HandlesVisibility}"
										RenderTransformOrigin="0.5,0.5" Margin="2 0 0 0"
										Style="{StaticResource HandleStyle}">
									<RepeatButton.RenderTransform>
										<ScaleTransform ScaleX="-1" ScaleY="1" />
									</RepeatButton.RenderTransform>
								</RepeatButton>
							</Grid>
							<!--VerticalTemplate-->
							<Grid x:Name="VerticalTemplate">
								<Grid.ColumnDefinitions>
									<ColumnDefinition Width="Auto" />
									<ColumnDefinition Width="Auto" />
									<ColumnDefinition Width="Auto" />
								</Grid.ColumnDefinitions>
								<Grid.RowDefinitions>
									<RowDefinition Height="Auto" />
									<RowDefinition Height="*" />
									<RowDefinition Height="Auto" />
								</Grid.RowDefinitions>

								<!--[Vertical] [LeftTicks]-->
								<telerik:RadTickBar x:Name="LeftTickBar" IsTabStop="False"
										Template="{StaticResource TickBarTemplate}" MinWidth="6"
										EnableSideTicks="{TemplateBinding EnableSideTicks}"
										Placement="Left" Grid.Column="0" Grid.Row="1"
										TickFrequency="{TemplateBinding TickFrequency}"
										Ticks="{TemplateBinding Ticks}"
										IsDirectionReversed="{TemplateBinding IsDirectionReversed}"
										Maximum="{TemplateBinding Maximum}"
										Minimum="{TemplateBinding Minimum}"
										TickTemplate="{TemplateBinding TickTemplate}"
										TickTemplateSelector="{TemplateBinding TickTemplateSelector}"
										Orientation="{TemplateBinding Orientation}" />
								<!--[Vertical] [RightTicks]-->
								<telerik:RadTickBar x:Name="RightTickBar" IsTabStop="False"
										Template="{StaticResource TickBarTemplate}" MinWidth="6"
										Placement="Right" Grid.Column="2" Grid.Row="1"
										EnableSideTicks="{TemplateBinding EnableSideTicks}"
										TickFrequency="{TemplateBinding TickFrequency}"
										Ticks="{TemplateBinding Ticks}"
										IsDirectionReversed="{TemplateBinding IsDirectionReversed}"
										Maximum="{TemplateBinding Maximum}"
										Minimum="{TemplateBinding Minimum}"
										TickTemplate="{TemplateBinding TickTemplate}"
										TickTemplateSelector="{TemplateBinding TickTemplateSelector}"
										Orientation="{TemplateBinding Orientation}" />

								<!--Track-->
								<Border Width="6" HorizontalAlignment="Center"
										CornerRadius="{StaticResource SliderOuterBorderTrack_CornerRadius}"
										BorderThickness="{StaticResource SliderOuterBorderTrack_BorderThicknessVertical}"
										BorderBrush="{TemplateBinding BorderBrush}" Grid.Column="1"
										Grid.Row="1">
									<Border
											CornerRadius="{StaticResource SliderInnerBorderTrack_CornerRadius}"
											BorderThickness="{StaticResource SliderInnerBorderTrack_BorderThickness}"
											BorderBrush="{StaticResource SliderInnerBorderTrack}"
											Background="{TemplateBinding Background}" />
								</Border>

								<!--[Vertical] [TrackBackground]-->

								<!--[Vertical] [SingleThumbTemplate]-->
								<Grid x:Name="VerticalSingleThumbTemplate" Grid.Row="1"
										Grid.Column="1" Width="18">
									<Grid.RowDefinitions>
										<RowDefinition Height="*" />
										<RowDefinition Height="Auto" />
										<RowDefinition Height="Auto" />
									</Grid.RowDefinitions>
									<Rectangle x:Name="VerticalSingleLargeDecrease" Cursor="Hand"
											Grid.Row="2" Opacity="0"
											Fill="{StaticResource VerticalSingleLargeFill}"
											HorizontalAlignment="Stretch" />
									<Thumb x:Name="VerticalSingleThumb"
											IsEnabled="{TemplateBinding IsEnabled}" Width="18"
											Height="8" Grid.Row="1"
											Template="{StaticResource VerticalThumbTemplate}"
											HorizontalAlignment="Right"
											Visibility="{TemplateBinding ThumbVisibility}" />
									<Rectangle x:Name="VerticalSingleLargeIncrease" Cursor="Hand"
											Grid.Row="0" Opacity="0"
											Fill="{StaticResource VerticalSingleLargeFill}"
											HorizontalAlignment="Stretch" />
								</Grid>

								<!--[Vertical] [RangeSelectionTemplate]-->
								<Grid x:Name="VerticalRangeTemplate" Grid.Row="1" Grid.Column="1"
										Width="18">
									<Grid.RowDefinitions>
										<RowDefinition Height="Auto" />
										<RowDefinition Height="Auto" />
										<RowDefinition Height="*" />
										<RowDefinition Height="Auto" />
										<RowDefinition Height="Auto" />
									</Grid.RowDefinitions>

									<Rectangle x:Name="VerticalRangeLargeDecrease" Cursor="Hand"
											Opacity="0" Fill="Transparent" Grid.Row="4" />
									<Thumb x:Name="VerticalRangeStartThumb"
											IsEnabled="{TemplateBinding IsEnabled}" Height="8"
											Width="18" Grid.Row="3"
											Template="{StaticResource VerticalThumbTemplate}"
											HorizontalAlignment="Center"
											Visibility="{TemplateBinding ThumbVisibility}" />
									<Thumb x:Name="VerticalRangeMiddleThumb"
											IsEnabled="{TemplateBinding IsEnabled}" Grid.Row="2"
											Template="{StaticResource VerticalRangeSelectionThumbTemplate}"
											HorizontalAlignment="Center" />
									<Thumb x:Name="VerticalRangeEndThumb"
											IsEnabled="{TemplateBinding IsEnabled}" Height="8"
											Width="18" Grid.Row="1"
											Template="{StaticResource VerticalThumbTemplate}"
											HorizontalAlignment="Center"
											Visibility="{TemplateBinding ThumbVisibility}" />
									<Rectangle x:Name="VerticalRangeLargeIncrease" Cursor="Hand"
											Opacity="0" Fill="Transparent" Grid.Row="0" />
								</Grid>

								<!--[Vertical] [DecreaseHandle]-->
								<RepeatButton x:Name="VerticalDecreaseHandle"
										IsEnabled="{TemplateBinding IsEnabled}"
										Delay="{TemplateBinding Delay}"
										Interval="{TemplateBinding RepeatInterval}"
										HorizontalAlignment="Center" Grid.Column="1" Grid.Row="2"
										Visibility="{TemplateBinding HandlesVisibility}"
										Style="{StaticResource HandleStyle}" Margin="0 2 0 0"
										RenderTransformOrigin="0.5,0.5">
									<RepeatButton.RenderTransform>
										<TransformGroup>
											<ScaleTransform ScaleX="-1" ScaleY="-1" />
											<RotateTransform Angle="90" />
										</TransformGroup>
									</RepeatButton.RenderTransform>
								</RepeatButton>

								<!--[Vertical] [IncreaseHandle]-->
								<RepeatButton x:Name="VerticalIncreaseHandle"
										IsEnabled="{TemplateBinding IsEnabled}"
										Delay="{TemplateBinding Delay}"
										Interval="{TemplateBinding RepeatInterval}"
										HorizontalAlignment="Center" Grid.Column="1" Grid.Row="0"
										Visibility="{TemplateBinding HandlesVisibility}"
										RenderTransformOrigin="0.5,0.5"
										Style="{StaticResource HandleStyle}" Margin="0,0,0,2">
									<RepeatButton.RenderTransform>
										<TransformGroup>
											<ScaleTransform ScaleX="1" ScaleY="-1" />
											<RotateTransform Angle="90" />
										</TransformGroup>
									</RepeatButton.RenderTransform>
								</RepeatButton>
							</Grid>

						</Grid>
						<Rectangle x:Name="FocusVisual" Stroke="{StaticResource FocusBrushBlack}"
								Opacity="0" StrokeDashArray="1 2" StrokeThickness="1" RadiusX="2"
								RadiusY="2" />
						<!--Error Visual Element-->
						<Border x:Name="ValidationErrorElement" BorderThickness="1" CornerRadius="1"
								BorderBrush="#FFDB000C" Visibility="Collapsed">
							<ToolTipService.ToolTip>
								<ToolTip x:Name="validationTooltip"
										Template="{StaticResource ValidationToolTipTemplate}"
										Placement="Right"
										PlacementTarget="{Binding RelativeSource={RelativeSource TemplatedParent}}"
										DataContext="{Binding RelativeSource={RelativeSource TemplatedParent}}">
									<ToolTip.Triggers>
										<EventTrigger RoutedEvent="Canvas.Loaded">
											<EventTrigger.Actions>
												<BeginStoryboard>
													<Storyboard>
														<ObjectAnimationUsingKeyFrames
																Storyboard.TargetName="validationTooltip"
																Storyboard.TargetProperty="IsHitTestVisible">
															<DiscreteObjectKeyFrame KeyTime="0">
																<DiscreteObjectKeyFrame.Value>
																	<sys:Boolean>true</sys:Boolean>
																</DiscreteObjectKeyFrame.Value>
															</DiscreteObjectKeyFrame>
														</ObjectAnimationUsingKeyFrames>
													</Storyboard>
												</BeginStoryboard>
											</EventTrigger.Actions>
										</EventTrigger>
									</ToolTip.Triggers>
								</ToolTip>
							</ToolTipService.ToolTip>
							<Grid Width="12" Height="12" HorizontalAlignment="Right"
									Margin="1,-4,-4,0" VerticalAlignment="Top"
									Background="Transparent">
								<Path Margin="1,3,0,0" Data="M 1,0 L6,0 A 2,2 90 0 1 8,2 L8,7 z"
										Fill="#FFDC000C" />
								<Path Margin="1,3,0,0" Data="M 0,0 L2,0 L 8,6 L8,8" Fill="#ffffff" />
							</Grid>
						</Border>
					</Grid>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	
</ResourceDictionary>