<ResourceDictionary
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	
    
    
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"
    xmlns:telerikQuickStart="clr-namespace:Telerik.Windows.Controls.QuickStart;assembly=Telerik.Windows.Controls"
	xmlns:filteringEditors="clr-namespace:Telerik.Windows.Controls.Filtering.Editors;assembly=Telerik.Windows.Controls"
    
 >

	<SolidColorBrush x:Key="ControlOuterBorder_Normal" Color="#FF898C95" />
<LinearGradientBrush x:Key="ControlBackground_Normal" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFF2F2F2" Offset="0" />
		<GradientStop Color="#FFECECEC" Offset="0.5" />
		<GradientStop Color="#FFDDDDDD" Offset="0.5" />
		<GradientStop Color="#FFD0D0D0" Offset="1" />
	</LinearGradientBrush>
<SolidColorBrush x:Key="ControlInnerBorder_Normal" Color="#FFFCFCFC" />
<SolidColorBrush x:Key="ControlElement_Normal" Color="#FF282828" />
<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="ControlElement_Disabled" Color="#FF6E6E6E" />
<SolidColorBrush x:Key="ControlOuterBorder_MouseOver" Color="#FF3C7FB1" />
<SolidColorBrush x:Key="ControlInnerBorder_MouseOver" Color="#FFE9F6FD" />
<LinearGradientBrush x:Key="ControlBackground_MouseOver" StartPoint="0.5,0" EndPoint="0.5,1">
		<GradientStop Color="#FFBDE4F9" Offset="0" />
		<GradientStop Color="#FFB4E0F7" Offset="0.5" />
		<GradientStop Color="#FF98D1EF" Offset="0.5" />
		<GradientStop Color="#FF81C3E5" Offset="1" />
	</LinearGradientBrush>
<SolidColorBrush x:Key="ControlElement_MouseOver" Color="#FF282828" />
<SolidColorBrush x:Key="ControlOuterBorder_Pressed" Color="#FF2C628B" />
<SolidColorBrush x:Key="ControlInnerBorder_Pressed" Color="#FF9EB0BA" />
<LinearGradientBrush x:Key="ControlBackground_Pressed" StartPoint="0.5,1" EndPoint="0.5,0.0">
		<GradientStop Color="#FF6AB6DE" Offset="0" />
		<GradientStop Color="#FF82C2E4" Offset="0.5" />
		<GradientStop Color="#FF98D0ED" Offset="0.5" />
		<GradientStop Color="#FFA9DEFB" Offset="1" />
	</LinearGradientBrush>
<SolidColorBrush x:Key="ControlElement_Pressed" Color="#FF282828" />
<LinearGradientBrush EndPoint="0,1" x:Key="FocusBrush">
			<GradientStop Offset="0" Color="#FF3D7BAD" />
			<GradientStop Offset="1" Color="#B23D7BAD" />
		</LinearGradientBrush>
<CornerRadius x:Key="Expander_BorderRadius">3</CornerRadius>
<SolidColorBrush x:Key="BorderInnerBrush" Color="#FF979994" />
<CornerRadius x:Key="Expander_HeaderBorderRadiusDown">2 2 0 0</CornerRadius>
<CornerRadius x:Key="Expander_HeaderBorderRadiusUp">0 0 2 2</CornerRadius>
<CornerRadius x:Key="Expander_HeaderBorderRadiusLeft">0 2 2 0</CornerRadius>
<CornerRadius x:Key="Expander_HeaderBorderRadiusRight">2 0 0 2</CornerRadius>
<SolidColorBrush x:Key="Expander_HeaderBackground" Color="#00FFFFFF" />
<SolidColorBrush x:Key="Expander_HeaderBorderBrush" Color="#00FFFFFF" />
<Thickness x:Key="Expander_HeaderBorderThickness">0</Thickness>
<CornerRadius x:Key="Expander_HeaderBorderRadius">2</CornerRadius>
<SolidColorBrush x:Key="Expander_Background" Color="#00FFFFFF" />
<SolidColorBrush x:Key="Expander_BorderBrush" Color="#00FFFFFF" />
<Thickness x:Key="Expander_BorderThickness">0</Thickness>

	

	<telerik:BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter" />

	
	<Style x:Key="EmptyFocusVisual">
		<Setter Property="Control.Template">
			<Setter.Value>
				<ControlTemplate />
			</Setter.Value>
		</Setter>
	</Style>
	

	<ControlTemplate TargetType="telerik:RadExpanderDecorator" x:Key="ExpanderDecoratorTemplate">
		<Grid x:Name="root" Background="{TemplateBinding Background}"
			 SnapsToDevicePixels="True"
			 >
			
			<Ellipse x:Name="OuterCircle" Width="20" Height="20"
					Stroke="{StaticResource ControlOuterBorder_Normal}" HorizontalAlignment="Center"
					VerticalAlignment="Center" Fill="{StaticResource ControlBackground_Normal}" />
			<Ellipse x:Name="InnerCircle" Width="18" Height="18"
					Stroke="{StaticResource ControlInnerBorder_Normal}" HorizontalAlignment="Center"
					VerticalAlignment="Center" />
			<Grid x:Name="arrowHolder" RenderTransformOrigin="0.5,0.5" HorizontalAlignment="Center"
					VerticalAlignment="Center">
				<Grid.RenderTransform>
					<RotateTransform x:Name="expandRotation" Angle="0" />
				</Grid.RenderTransform>
				<Path x:Name="arrow" Fill="{StaticResource ControlElement_Normal}" Width="8"
						Height="4" Stretch="None"
						Data="M0,0 L0.67,0 4,2.67 7.25,0 8,0 8,0.67 4,4 0,0.75 z"
						RenderTransformOrigin="0.5,0.5">
					<Path.RenderTransform>
						<RotateTransform x:Name="directionRotation" Angle="0" />
					</Path.RenderTransform>
				</Path>
			</Grid>
		</Grid>
		
		<ControlTemplate.Triggers>
			<Trigger Property="IsEnabled" Value="False">
				<Setter TargetName="OuterCircle" Property="Stroke"
						Value="{StaticResource ControlOuterBorder_Disabled}" />
				<Setter TargetName="InnerCircle" Property="Stroke"
						Value="{StaticResource ControlInnerBorder_Disabled}" />
				<Setter TargetName="OuterCircle" Property="Fill"
						Value="{StaticResource ControlBackground_Disabled}" />
				<Setter TargetName="arrow" Property="Fill"
						Value="{StaticResource ControlElement_Disabled}" />
			</Trigger>
			<Trigger Property="IsExpanded" Value="True">
				<Setter TargetName="arrow" Property="LayoutTransform">
					<Setter.Value>
						<TransformGroup>
							<RotateTransform Angle="180" />
						</TransformGroup>
					</Setter.Value>
				</Setter>
			</Trigger>
			<Trigger Property="IsHighlighted" Value="true">
				<Setter TargetName="OuterCircle" Property="Stroke"
						Value="{StaticResource ControlOuterBorder_MouseOver}" />
				<Setter TargetName="InnerCircle" Property="Stroke"
						Value="{StaticResource ControlInnerBorder_MouseOver}" />
				<Setter TargetName="OuterCircle" Property="Fill"
						Value="{StaticResource ControlBackground_MouseOver}" />
				<Setter TargetName="arrow" Property="Fill"
						Value="{StaticResource ControlElement_MouseOver}" />
			</Trigger>
			<Trigger Property="IsPressed" Value="True">
				<Setter TargetName="OuterCircle" Property="Stroke"
						Value="{StaticResource ControlOuterBorder_Pressed}" />
				<Setter TargetName="InnerCircle" Property="Stroke"
						Value="{StaticResource ControlInnerBorder_Pressed}" />
				<Setter TargetName="OuterCircle" Property="Fill"
						Value="{StaticResource ControlBackground_Pressed}" />
				<Setter TargetName="arrow" Property="Stroke"
						Value="{StaticResource ControlElement_Pressed}" />
			</Trigger>
			<Trigger Property="ExpandDirection" Value="Up">
				<Setter TargetName="arrowHolder" Property="LayoutTransform">
					<Setter.Value>
						<TransformGroup>
							<RotateTransform Angle="180" />
						</TransformGroup>
					</Setter.Value>
				</Setter>
			</Trigger>
			<Trigger Property="ExpandDirection" Value="Left">
				<Setter TargetName="arrowHolder" Property="LayoutTransform">
					<Setter.Value>
						<TransformGroup>
							<RotateTransform Angle="90" />
						</TransformGroup>
					</Setter.Value>
				</Setter>
			</Trigger>
			<Trigger Property="ExpandDirection" Value="Right">
				<Setter TargetName="arrowHolder" Property="LayoutTransform">
					<Setter.Value>
						<TransformGroup>
							<RotateTransform Angle="-90" />
						</TransformGroup>
					</Setter.Value>
				</Setter>
			</Trigger>
		</ControlTemplate.Triggers>
		
	</ControlTemplate>

	<ControlTemplate TargetType="telerik:RadExpanderHeader" x:Key="ExpanderHeaderTemplate">
		<Grid Background="{TemplateBinding Background}"
			SnapsToDevicePixels="True"
			 >
			
			<Border x:Name="HeaderBorder"
					Background="{TemplateBinding Background}"
					BorderBrush="{TemplateBinding BorderBrush}"
					BorderThickness="{TemplateBinding BorderThickness}"
					CornerRadius="{TemplateBinding CornerRadius}"
					Padding="{TemplateBinding Padding}">
				<Grid Background="Transparent"
					 >
					<Grid.RowDefinitions>
						<RowDefinition Height="Auto" />
						<RowDefinition Height="*" />
						<RowDefinition Height="Auto" />
					</Grid.RowDefinitions>
					<Grid.ColumnDefinitions>
						<ColumnDefinition Width="Auto" />
						<ColumnDefinition Width="*" />
						<ColumnDefinition Width="Auto" />
					</Grid.ColumnDefinitions>
					<telerik:RadExpanderDecorator
						x:Name="decorator"
						Grid.Row="1" Grid.Column="1" Margin="0"
						IsPressed="{TemplateBinding IsPressed}"
						IsExpanded="{TemplateBinding IsExpanded}"
						IsHighlighted="{TemplateBinding IsMouseOver}"
						ExpandDirection="{TemplateBinding ExpandDirection}"
						Template="{TemplateBinding DecoratorTemplate}" />
					<ContentPresenter
						x:Name="content"
						Grid.Row="1" Grid.Column="1" Margin="2"
						VerticalAlignment="Stretch" HorizontalAlignment="Stretch"
						Content="{TemplateBinding Content}"
						ContentTemplate="{TemplateBinding ContentTemplate}"
						
						SnapsToDevicePixels="True"
						 />
				</Grid>
			</Border>
			<Rectangle x:Name="FocusDecorator" Stroke="{StaticResource FocusBrush}"
					StrokeDashArray="1 2" StrokeThickness="1" Opacity="0" IsHitTestVisible="false" />
		</Grid>
		
		<ControlTemplate.Triggers>
			<Trigger Property="IsFocused" Value="True">
				<Setter TargetName="FocusDecorator" Property="Opacity" Value="1" />
			</Trigger>
			<Trigger Property="IsEnabled" Value="False">
				<Setter TargetName="content" Property="Opacity" Value="0.5" />
			</Trigger>
			<Trigger Property="ExpandDirection" Value="Down">
				<Setter TargetName="decorator" Property="Grid.Column" Value="0" />
				<Setter TargetName="content" Property="Margin" Value="4,2,2,2" />
			</Trigger>
			<Trigger Property="ExpandDirection" Value="Up">
				<Setter TargetName="decorator" Property="Grid.Column" Value="0" />
				<Setter TargetName="content" Property="Margin" Value="4,2,2,2" />
			</Trigger>
			<Trigger Property="ExpandDirection" Value="Left">
				<Setter TargetName="decorator" Property="Grid.Row" Value="0" />
				<Setter TargetName="content" Property="Margin" Value="2,4,2,2" />
			</Trigger>
			<Trigger Property="ExpandDirection" Value="Right">
				<Setter TargetName="decorator" Property="Grid.Row" Value="0" />
				<Setter TargetName="content" Property="Margin" Value="2,4,2,2" />
			</Trigger>
		</ControlTemplate.Triggers>
		
	</ControlTemplate>

	<ControlTemplate TargetType="telerik:RadExpander" x:Key="ExpanderTemplate">
		<Grid>
			
			<Border BorderBrush="{TemplateBinding BorderBrush}"
					BorderThickness="{TemplateBinding BorderThickness}"
					CornerRadius="{StaticResource Expander_BorderRadius}"
				
				SnapsToDevicePixels="true"
				 >
				<Grid>
					<Grid.RowDefinitions>
						<RowDefinition Height="Auto" />
						<RowDefinition Height="*" />
						<RowDefinition Height="Auto" />
					</Grid.RowDefinitions>
					<Grid.ColumnDefinitions>
						<ColumnDefinition Width="Auto" />
						<ColumnDefinition Width="*" />
						<ColumnDefinition Width="Auto" />
					</Grid.ColumnDefinitions>
					<Border Grid.RowSpan="9" Grid.ColumnSpan="9" CornerRadius="2"
							BorderBrush="{StaticResource BorderInnerBrush}"
							BorderThickness="{TemplateBinding BorderThickness}"
							Background="{TemplateBinding Background}"
							 />
						<telerik:RadExpanderHeader x:Name="HeaderButton" Margin="1" Grid.Row="1"
								Grid.Column="1" Template="{TemplateBinding HeaderControlTemplate}"
								Content="{TemplateBinding Header}"
								ContentTemplate="{TemplateBinding HeaderTemplate}"
								DecoratorTemplate="{TemplateBinding DecoratorTemplate}"
								ClickMode="{TemplateBinding ClickMode}"
								ExpandDirection="{TemplateBinding ExpandDirection}"
								FontSize="{TemplateBinding FontSize}"
								FontStyle="{TemplateBinding FontStyle}"
								FontWeight="{TemplateBinding FontWeight}"
								FontFamily="{TemplateBinding FontFamily}"
								FontStretch="{TemplateBinding FontStretch}" IsTabStop="True"
								
								
								IsExpanded="{Binding Path=IsExpanded, RelativeSource={RelativeSource TemplatedParent}, Mode=TwoWay}"
								 />
						<Rectangle
								x:Name="Fix_BlendNotToCrashOnBindingViaRelativeSourceAndConverter"
								DataContext="{Binding RelativeSource={RelativeSource TemplatedParent}}"
								Visibility="{Binding Path=IsExpanded, Converter={StaticResource BooleanToVisibilityConverter}, Mode=TwoWay}"
								/>
						<ContentPresenter
								x:Name="Content"
								Grid.Row="1" Grid.Column="1"
								Margin="{TemplateBinding Padding}"
								Content="{TemplateBinding Content}"
								ContentTemplate="{TemplateBinding ContentTemplate}"
								HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
								VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
								Visibility="{Binding Path=Visibility, ElementName=Fix_BlendNotToCrashOnBindingViaRelativeSourceAndConverter, Mode=TwoWay}"/>
				</Grid>
			</Border>
		</Grid>
		
		<ControlTemplate.Triggers>
			<Trigger Property="ExpandDirection" Value="Down">
				<Setter TargetName="HeaderButton" Property="Grid.Row" Value="0" />
				<Setter TargetName="HeaderButton" Property="CornerRadius"
						Value="{StaticResource Expander_HeaderBorderRadiusDown}" />
			</Trigger>
			<Trigger Property="ExpandDirection" Value="Up">
				<Setter TargetName="HeaderButton" Property="Grid.Row" Value="2" />
				<Setter TargetName="HeaderButton" Property="CornerRadius"
						Value="{StaticResource Expander_HeaderBorderRadiusUp}" />
			</Trigger>
			<Trigger Property="ExpandDirection" Value="Left">
				<Setter TargetName="HeaderButton" Property="Grid.Column" Value="2" />
				<Setter TargetName="HeaderButton" Property="CornerRadius"
						Value="{StaticResource Expander_HeaderBorderRadiusLeft}" />
			</Trigger>
			<Trigger Property="ExpandDirection" Value="Right">
				<Setter TargetName="HeaderButton" Property="Grid.Column" Value="0" />
				<Setter TargetName="HeaderButton" Property="CornerRadius"
						Value="{StaticResource Expander_HeaderBorderRadiusRight}" />
			</Trigger>
			<Trigger Property="IsExpanded" Value="True">
				<Trigger.EnterActions>
					<BeginStoryboard>
						<Storyboard>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Content"
									Storyboard.TargetProperty="Visibility" Duration="0">
								<DiscreteObjectKeyFrame KeyTime="0">
									<DiscreteObjectKeyFrame.Value>
										<Visibility>Visible</Visibility>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
							<DoubleAnimation Storyboard.TargetName="Content"
									Storyboard.TargetProperty="Opacity" To="1.0" Duration="0:0:0.2" />
						</Storyboard>
					</BeginStoryboard>
				</Trigger.EnterActions>
				<Trigger.ExitActions>
					<BeginStoryboard>
						<Storyboard>
							<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Content"
									Storyboard.TargetProperty="Visibility" Duration="0:0:0.2">
								<DiscreteObjectKeyFrame KeyTime="0:0:0.2">
									<DiscreteObjectKeyFrame.Value>
										<Visibility>Collapsed</Visibility>
									</DiscreteObjectKeyFrame.Value>
								</DiscreteObjectKeyFrame>
							</ObjectAnimationUsingKeyFrames>
							<DoubleAnimation Storyboard.TargetName="Content"
									Storyboard.TargetProperty="Opacity" To="0.0" Duration="0:0:0.2" />
						</Storyboard>
					</BeginStoryboard>
				</Trigger.ExitActions>
			</Trigger>
			<Trigger Property="IsEnabled" Value="True" />
		</ControlTemplate.Triggers>
		
	</ControlTemplate>

	<Style TargetType="telerik:RadExpanderDecorator"
		
		x:Key="{telerik:ThemeResourceKey ThemeType=
		telerik:VistaTheme ,  ElementType=telerik:RadExpanderDecorator}"
		 >
		<Setter Property="ExpandDirection" Value="Down" />
		<Setter Property="IsExpanded" Value="false" />
		<Setter Property="Background" Value="Transparent" />
		<Setter Property="IsTabStop" Value="false" />
		<Setter Property="Template" Value="{StaticResource ExpanderDecoratorTemplate}" />
	</Style>

	<Style TargetType="telerik:RadExpanderHeader"
		
		x:Key="{telerik:ThemeResourceKey ThemeType=
		telerik:VistaTheme , ElementType=telerik:RadExpanderHeader}"
		 >
		<Setter Property="ExpandDirection" Value="Down" />
		<Setter Property="IsExpanded" Value="false" />
		<Setter Property="IsThreeState" Value="false" />
		<Setter Property="Padding" Value="2,1,2,1" />
		<Setter Property="Background" Value="{StaticResource Expander_HeaderBackground}" />
		<Setter Property="BorderBrush" Value="{StaticResource Expander_HeaderBorderBrush}" />
		<Setter Property="BorderThickness" Value="{StaticResource Expander_HeaderBorderThickness}" />
		<Setter Property="CornerRadius" Value="{StaticResource Expander_HeaderBorderRadius}" />
		<Setter Property="Template" Value="{StaticResource ExpanderHeaderTemplate}" />
		<Setter Property="DecoratorTemplate" Value="{StaticResource ExpanderDecoratorTemplate}" />
		
		<Setter Property="FocusVisualStyle" Value="{StaticResource EmptyFocusVisual}" />
		
	</Style>

	<Style TargetType="telerik:RadExpander"
		
		x:Key="{telerik:ThemeResourceKey ThemeType=
		telerik:VistaTheme ,  ElementType=telerik:RadExpander}"
		 >
		<Setter Property="IsTabStop" Value="false" />
		<Setter Property="IsExpanded" Value="false" />
		<Setter Property="ExpandDirection" Value="Down" />
		<Setter Property="HorizontalContentAlignment" Value="Stretch" />
		<Setter Property="VerticalContentAlignment" Value="Stretch" />
		<Setter Property="Background" Value="{StaticResource Expander_Background}" />
		<Setter Property="BorderBrush" Value="{StaticResource Expander_BorderBrush}" />
		<Setter Property="BorderThickness" Value="{StaticResource Expander_BorderThickness}" />
		<Setter Property="Padding" Value="2" />
		<Setter Property="Template" Value="{StaticResource ExpanderTemplate}" />
		<Setter Property="DecoratorTemplate" Value="{StaticResource ExpanderDecoratorTemplate}" />
		<Setter Property="HeaderControlTemplate" Value="{StaticResource ExpanderHeaderTemplate}" />
		
	</Style>

	

</ResourceDictionary>