<ResourceDictionary 
	
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:mscorlib="clr-namespace:System;assembly=mscorlib"
    xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls"
    xmlns:telerikPrimitives="clr-namespace:Telerik.Windows.Controls.Primitives;assembly=Telerik.Windows.Controls"
    xmlns:telerikNavigation="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation"
    xmlns:telerikNavigationPrimitives="clr-namespace:Telerik.Windows.Controls.Primitives;assembly=Telerik.Windows.Controls.Navigation"
	xmlns:telerikInput="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Input"
	xmlns:telerikDocking="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Docking"
	xmlns:dock="clr-namespace:Telerik.Windows.Controls.Docking;assembly=Telerik.Windows.Controls.Docking"
    xmlns:system="clr-namespace:System.Windows.Controls;assembly=PresentationFramework"


>
	
	<SolidColorBrush x:Key="Docking_Background" Color="#FFF0F0F0" />
<SolidColorBrush x:Key="Docking_BorderBrush" Color="#FF688CAF" />
<telerik:Office_BlackTheme x:Key="Theme" />
<CornerRadius x:Key="Compass_Indicator_CornerRadius">4</CornerRadius>
<CornerRadius x:Key="Compass_Indicator_InnerCornerRadius">3</CornerRadius>
<SolidColorBrush x:Key="Compass_Indicator_InnerBorderBrush" Color="#B2FCFCFC" />
<CornerRadius x:Key="Compass_Background_CornerRadius">6</CornerRadius>
<CornerRadius x:Key="Compass_Background_InnerCornerRadius">5</CornerRadius>
<SolidColorBrush x:Key="Compass_Indicator_BorderBrush" Color="#B27E7E7E" />
<LinearGradientBrush x:Key="Compass_Indicator_Background" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#99F8F8F9" Offset="0"/>
		<GradientStop Color="#99DEDEDE" Offset="1"/>
		<GradientStop Color="#99DEDEDE" Offset="0.5"/>
		<GradientStop Color="#99C3C3C3" Offset="0.5"/>
	</LinearGradientBrush>
<SolidColorBrush x:Key="Compass_Indicator_BorderBrush_Highlighted" Color="#FFFFBC6B" />
<LinearGradientBrush x:Key="Compass_Indicator_Background_Highlighted" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFFFFFFA" Offset="0"/>
		<GradientStop Color="#FFFFEBA5" Offset="0.5"/>
		<GradientStop Color="#FFFFD565" Offset="0.51"/>
		<GradientStop Color="#FFFFE592" Offset="0.9887640449438202"/>
	</LinearGradientBrush>
<SolidColorBrush x:Key="Compass_VisualCue_Background" Color="#99FCD590" />
<SolidColorBrush x:Key="Compass_VisualCue_BorderBrush" Color="#FFFFBC6B" />
<Thickness x:Key="Compass_VisualCue_BorderThickness">1</Thickness>
<SolidColorBrush x:Key="GridResizer_Background_Preview" Color="#FF868686" />
<SolidColorBrush x:Key="GridResizer_FocusFrame" Color="#FF6DBDD1" />
<CornerRadius x:Key="Pane_DocumentHostTab_CornerRadius">3 3 0 0</CornerRadius>
<LinearGradientBrush x:Key="Pane_Tab_BorderBrush_Vertical" StartPoint="0,0.5" EndPoint="1,0.5">
		<GradientStop Color="#A0A0A0" Offset="0" />
		<GradientStop Color="#898C95" Offset="1" />
	</LinearGradientBrush>
<LinearGradientBrush x:Key="Pane_Tab_Background_Vertical" StartPoint="0,0.5" EndPoint="1,0.5">
		<GradientStop Color="#F2F2F2" Offset="0" />
		<GradientStop Color="#EBEBEB" Offset="0.5" />
		<GradientStop Color="#DDDDDD" Offset="0.5" />
		<GradientStop Color="#CFCFCF" Offset="1" />
	</LinearGradientBrush>
<LinearGradientBrush x:Key="Pane_Tab_BorderBrush_Vertical_MouseOver" EndPoint="1,0.5" StartPoint="0,0.5">
		<GradientStop Color="#FFDBCE99" Offset="0"/>
		<GradientStop Color="#FFCCC4AC" Offset="1"/>
		<GradientStop Color="#FFB89F73" Offset="0.5"/>
	</LinearGradientBrush>
<LinearGradientBrush x:Key="Pane_Tab_Background_Vertical_MouseOver" StartPoint="0,0.5" EndPoint="1,0.5">
		<GradientStop Color="#FFFFFDEB" Offset="0"/>
		<GradientStop Color="#FFFFE391" Offset="1"/>
	</LinearGradientBrush>
<LinearGradientBrush x:Key="Pane_Tab_BorderBrush_Vertical_Selected" EndPoint="1,0.5" StartPoint="0,0.5">
		<GradientStop Color="#FF8E8165" Offset="0"/>
		<GradientStop Color="#FFC6C0B2" Offset="1"/>
	</LinearGradientBrush>
<LinearGradientBrush x:Key="Pane_Tab_Background_Vertical_Selected" StartPoint="0,0.5" EndPoint="1,0.5">
		<GradientStop Color="#FFFFDC9C" Offset="0"/>
		<GradientStop Color="#FFFFCA5D" Offset="1"/>
	</LinearGradientBrush>
<SolidColorBrush x:Key="Pane_Tab_BorderBrush_Vertical_SelectedPinned" Color="#FFA0A0A0" />
<SolidColorBrush x:Key="Pane_Tab_Background_Vertical_SelectedPinned" Color="#FFFCFCFC" />
<LinearGradientBrush x:Key="Pane_Tab_BorderBrush" StartPoint="0.5,0" EndPoint="0.5,1">
		<GradientStop Color="#A0A0A0" Offset="0" />
		<GradientStop Color="#898C95" Offset="1" />
	</LinearGradientBrush>
<LinearGradientBrush x:Key="Pane_Tab_Background" StartPoint="0.5,0" EndPoint="0.5,1">
		<GradientStop Color="#CFCFCF" Offset="0" />
		<GradientStop Color="#DDDDDD" Offset="0.5" />
		<GradientStop Color="#EBEBEB" Offset="0.5" />
		<GradientStop Color="#F2F2F2" Offset="1" />
	</LinearGradientBrush>
<LinearGradientBrush x:Key="Pane_Tab_BorderBrush_MouseOver" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFDBCE99" Offset="0"/>
		<GradientStop Color="#FFCCC4AC" Offset="1"/>
		<GradientStop Color="#FFB89F73" Offset="0.5"/>
	</LinearGradientBrush>
<LinearGradientBrush x:Key="Pane_Tab_Background_MouseOver" StartPoint="0.5,0" EndPoint="0.5,1">
		<GradientStop Color="#FFFFFDEB" Offset="0"/>
		<GradientStop Color="#FFFFE391" Offset="1"/>
	</LinearGradientBrush>
<LinearGradientBrush x:Key="Pane_Tab_BorderBrush_Selected" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FF8E8165" Offset="0"/>
		<GradientStop Color="#FFC6C0B2" Offset="1"/>
	</LinearGradientBrush>
<LinearGradientBrush x:Key="Pane_Tab_Background_Selected" StartPoint="0.5,0" EndPoint="0.5,1">
		<GradientStop Color="#FFFFDC9C" Offset="0"/>
		<GradientStop Color="#FFFFCA5D" Offset="1"/>
	</LinearGradientBrush>
<SolidColorBrush x:Key="Pane_Tab_BorderBrush_SelectedPinned" Color="#FFA0A0A0" />
<SolidColorBrush x:Key="Pane_Tab_Background_SelectedPinned" Color="#FFFCFCFC" />
<SolidColorBrush x:Key="Pane_DocumentHostTab_BorderBrush" Color="Transparent" />
<SolidColorBrush x:Key="Pane_DocumentHostTab_Background" Color="Transparent" />
<LinearGradientBrush x:Key="Pane_DocumentHostTab_BorderBrush_MouseOver" StartPoint="0.5,0" EndPoint="0.5,1">
		<GradientStop Color="#FFDBCE99" Offset="0"/>
		<GradientStop Color="#FFCCC4AC" Offset="1"/>
		<GradientStop Color="#FFB89F73" Offset="0.5"/>
	</LinearGradientBrush>
<LinearGradientBrush x:Key="Pane_DocumentHostTab_Background_MouseOver" StartPoint="0.5,0" EndPoint="0.5,1">
		<GradientStop Color="#FFFFE391" Offset="1"/>
		<GradientStop Color="#FFFFFDEB" Offset="0"/>
		<GradientStop Color="#FFFFD563" Offset="0.43"/>
		<GradientStop Color="#FFFFEDB3" Offset="0.42"/>
	</LinearGradientBrush>
<SolidColorBrush x:Key="Pane_DocumentHostTab_BorderBrush_Selected" Color="#FFA0A0A0" />
<SolidColorBrush x:Key="Pane_DocumentHostTab_Background_Selected" Color="#FFFCFCFC" />
<LinearGradientBrush x:Key="Pane_OuterBorderBrush" EndPoint="0,1">
		<GradientStop Color="#A0A0A0" Offset="0" />
		<GradientStop Color="#898C95" Offset="1" />
	</LinearGradientBrush>
<LinearGradientBrush x:Key="Pane_Background" EndPoint="0,1">
		<GradientStop Color="#CFCFCF" Offset="0" />
		<GradientStop Color="#DDDDDD" Offset="0.5" />
		<GradientStop Color="#EBEBEB" Offset="0.5" />
		<GradientStop Color="#F2F2F2" Offset="1" />
	</LinearGradientBrush>
<SolidColorBrush x:Key="Pane_Foreground" Color="#555564" />
<CornerRadius x:Key="PaneGroup_PaneFrame_CornerRadius">0</CornerRadius>
<CornerRadius x:Key="PaneGroup_DocumentFrameL4_CornerRadius">0</CornerRadius>
<Thickness x:Key="PaneGroup_DocumentFrameL3_Thickness">1</Thickness>
<SolidColorBrush x:Key="PaneGroup_DocumentFrameL3_Brush" Color="#FFFFFFFF" />
<CornerRadius x:Key="PaneGroup_DocumentFrameL3_CornerRadius">0</CornerRadius>
<Thickness x:Key="PaneGroup_DocumentFrameL2_Thickness">2</Thickness>
<SolidColorBrush x:Key="PaneGroup_DocumentFrameL2_Brush" Color="#FFE1E3EA" />
<CornerRadius x:Key="PaneGroup_DocumentFrameL2_CornerRadius">0</CornerRadius>
<Thickness x:Key="PaneGroup_DocumentFrameL1_Thickness">1</Thickness>
<SolidColorBrush x:Key="PaneGroup_DocumentFrameL1_Brush" Color="#FFA0A0A0" />
<CornerRadius x:Key="PaneGroup_DocumentFrameL1_CornerRadius">0</CornerRadius>
<LinearGradientBrush x:Key="PaneHeader_ItemBackground_MouseOver" EndPoint="0.5,1"
            StartPoint="0.5,0">
		<GradientStop Color="#FFFDDB73" Offset="1" />
		<GradientStop Color="#FFFEF4CA" Offset="0" />
	</LinearGradientBrush>
<SolidColorBrush x:Key="PaneHeader_ItemBorderBrush_MouseOver" Color="#FFFFBC6B" />
<LinearGradientBrush x:Key="PaneHeader_ItemBackground_Pressed" EndPoint="0.5,1"
            StartPoint="0.5,0">
		<GradientStop Color="#FFFEB85D" Offset="1" />
		<GradientStop Color="#FFFB933C" Offset="0" />
	</LinearGradientBrush>
<SolidColorBrush x:Key="PaneHeader_ItemBorderBrush_Pressed" Color="#FFFA8C3B" />
<LinearGradientBrush x:Key="PaneHeader_ItemBackground_Checked" EndPoint="0.5,1"
            StartPoint="0.5,0">
		<GradientStop Color="#FFFEB85D" Offset="1" />
		<GradientStop Color="#FFFB933C" Offset="0" />
	</LinearGradientBrush>
<SolidColorBrush x:Key="PaneHeader_ItemBorderBrush_Checked" Color="#FFFA8C3B" />
<Thickness x:Key="PaneHeader_BorderThickness">0 0 0 1</Thickness>
<SolidColorBrush x:Key="PaneHeader_BorderBrush" Color="#FFA0A0A0" />
<LinearGradientBrush x:Key="PaneHeader_Background" EndPoint="0.5,1"
            StartPoint="0.5,0">
		<GradientStop Color="#FFF3F4F6" Offset="0" />
		<GradientStop Color="#FFCED3D9" Offset="1" />
	</LinearGradientBrush>
<LinearGradientBrush x:Key="PaneHeader_Background_Focused" EndPoint="0 1">
		<GradientStop Offset="0" Color="#FF969EA8" />
		<GradientStop Offset="1" Color="#FFC7CCCF" />
	</LinearGradientBrush>
<Thickness x:Key="PaneGroup_BorderThickness">1</Thickness>
<SolidColorBrush x:Key="PaneGroup_BorderBrush" Color="#FFA0A0A0" />
<SolidColorBrush x:Key="PaneGroup_Background" Color="#FFFCFCFC" />
<LinearGradientBrush x:Key="ToolWindow_CloseButtonIconFill" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FF1E395B"/>
		<GradientStop Color="#FF8CA0B9" Offset="1"/>
	</LinearGradientBrush>
<SolidColorBrush x:Key="ToolWindow_CloseButtonIconStroke" Color="#FFFFFFFF" />
<SolidColorBrush x:Key="ToolWindow_BorderBrush" Color="#FFA0A0A0" />
<SolidColorBrush x:Key="ToolWindow_Background" Color="#FFC6CBCE" />

	
	<!-- Docking -->
	

	<Style TargetType="telerikDocking:RadDocking" x:Key="{telerik:ThemeResourceKey ThemeType=
		telerik:Office_BlackTheme , ElementType={x:Type telerikDocking:RadDocking}}"
		 >
		
		<Setter Property="Background" Value="{StaticResource Docking_Background}" />
		<Setter Property="BorderBrush" Value="{StaticResource Docking_BorderBrush}" />
		<Setter Property="BorderThickness" Value="1" />
		<Setter Property="Padding" Value="4" />
		
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="telerikDocking:RadDocking">
					<Grid x:Name="Root">
						<Border
							x:Name="Border"
							Background="{TemplateBinding Background}"
							BorderBrush="{TemplateBinding BorderBrush}"
							BorderThickness="{TemplateBinding BorderThickness}"
							Padding="{TemplateBinding Padding}">

							
							
							<DockPanel x:Name="RootDockPanel">

								<dock:AutoHideArea
									x:Name="LeftAutoHide"
									telerik:StyleManager.Theme="{StaticResource Theme}"
									DockPanel.Dock="Left"
									BackgroundVisibility="Collapsed"
									TabStripPlacement="Left"
									TabOrientation="Vertical" />
								<dock:AutoHideArea
									x:Name="RightAutoHide"
									telerik:StyleManager.Theme="{StaticResource Theme}"
									DockPanel.Dock="Right"
									BackgroundVisibility="Collapsed"
									TabStripPlacement="Right"
									TabOrientation="Vertical" />
								<dock:AutoHideArea
									x:Name="TopAutoHide"
									telerik:StyleManager.Theme="{StaticResource Theme}"
									DockPanel.Dock="Top"
									BackgroundVisibility="Collapsed"
									TabStripPlacement="Top" />
								<dock:AutoHideArea
									x:Name="BottomAutoHide"
									telerik:StyleManager.Theme="{StaticResource Theme}"
									DockPanel.Dock="Bottom"
									BackgroundVisibility="Collapsed"
									TabStripPlacement="Bottom"/>
								<telerikDocking:DockingPanel
									x:Name="ContentDockPanel"
									Background="{TemplateBinding Background}">
									
									<dock:DocumentHost
										x:Name="DocumentHost"
										Content="{TemplateBinding DocumentHost}" />

								</telerikDocking:DockingPanel>
							</DockPanel>
							
						</Border>
						
						<Canvas x:Name="PopupPanel">
							<dock:VisualCue
								x:Name="PART_DragCue"
								telerik:StyleManager.Theme="{StaticResource Theme}"
								Style="{TemplateBinding VisualCueStyle}">
							</dock:VisualCue>
							<dock:Compass
								x:Name="PART_Compass"
								telerik:StyleManager.Theme="{StaticResource Theme}"
								Style="{TemplateBinding CompassStyle}" Visibility="Collapsed"
								Canvas.ZIndex="999998">
							</dock:Compass>
							<dock:RootCompass
								x:Name="PART_RootCompass"
								telerik:StyleManager.Theme="{StaticResource Theme}"
								Style="{TemplateBinding RootCompassStyle}"
								Visibility="Collapsed" Canvas.ZIndex="999999">
							</dock:RootCompass>
						</Canvas>
					</Grid>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	
	<!-- Compass -->
	
	
	<!-- End of Brushes -->
	
	<!--Compass_IndicatorSideTemplate-->
	<ControlTemplate x:Key="Compass_IndicatorSideTemplate" TargetType="ContentControl">
		<Border
			x:Name="Background"
			BorderThickness="1"
			CornerRadius="{StaticResource Compass_Indicator_CornerRadius}"
			BorderBrush="{TemplateBinding BorderBrush}"
			Background="{TemplateBinding Background}">
			
			<Border
				x:Name="InnerBorder"
				BorderThickness="1"
				CornerRadius="{StaticResource Compass_Indicator_InnerCornerRadius}"
				BorderBrush="{StaticResource Compass_Indicator_InnerBorderBrush}">
				
				<ContentPresenter />
				
			</Border>
		</Border>
	</ControlTemplate>
	<!--Compass_IndicatorCenterTemplate-->
	<ControlTemplate x:Key="Compass_IndicatorCenterTemplate" TargetType="ContentControl">
		<Grid>
			<Path
				Fill="{TemplateBinding Background}"
				Stroke="{TemplateBinding BorderBrush}" 
				Stretch="Fill"
				StrokeMiterLimit="0"
				Data="M4.5,0.5 L27.5,0.5 C29.709139,0.5 31.5,2.2908103 31.5,4.4998875 L31.5,25.174112 C31.5,26.830921 30.492641,28.252453 29.05698,28.859669 L28.393,28.993717 28.393,30.5 C28.393,31.052284 27.945284,31.5 27.393,31.5 L22.471001,31.5 C21.918715,31.5 21.471001,31.052284 21.471001,30.5 L21.471001,29.174 21.400999,29.174 21.400999,30.5 C21.400999,31.052284 20.953285,31.5 20.400999,31.5 L14.549,31.5 C13.996716,31.5 13.549,31.052284 13.549,30.5 L13.549,29.174 13.479,29.174 13.479,30.5 C13.479,31.052284 13.031284,31.5 12.479,31.5 L1.5,31.5 C0.94771522,31.5 0.5,31.052284 0.5,30.5 L0.5,25.174112 0.5,11.743 0.5,4.4998875 C0.5,2.2908103 2.2908609,0.5 4.5,0.5 M13.570125,29.18675 L28.39825,29.12425 z"/>
			
			<Path
				Stroke="{StaticResource Compass_Indicator_InnerBorderBrush}"
				Margin="1"
				Stretch="Fill"
				StrokeMiterLimit="0"
				Data="M3.5,0.5 L26.5,0.5 C28.156855,0.49999988 29.5,1.8431089 29.5,3.4999181 L29.5,24.174082 C29.5,25.830891 28.156855,27.174 26.5,27.174 L11.549,27.174 11.549,29.454 0.5,29.454 0.5,24.174082 0.5,9.7429999 0.5,3.4999181 C0.5,1.8431089 1.8431457,0.49999988 3.5,0.5 z"/>
			<ContentPresenter />
			
		</Grid>
	</ControlTemplate>
	<!--Compass_BackgroundTemplate-->
	<ControlTemplate x:Key="Compass_BackgroundTemplate" TargetType="ContentControl">
		<Border
			x:Name="Background"
			CornerRadius="{StaticResource Compass_Background_CornerRadius}"
			BorderThickness="1"
			BorderBrush="{TemplateBinding BorderBrush}"
			Background="{TemplateBinding Background}">
			<Border
				x:Name="InnerBorder"
				CornerRadius="{StaticResource Compass_Background_InnerCornerRadius}"
				BorderThickness="1"
				BorderBrush="{StaticResource Compass_Indicator_InnerBorderBrush}">
				
				<ContentPresenter />
				
			</Border>
		</Border>
	</ControlTemplate>
	
	
	
	
	<!-- End of Brushes -->
	
	<Style x:Key="Compass_BackgroundStyle" TargetType="ContentControl">
		<Setter Property="BorderBrush" Value="{StaticResource Compass_Indicator_BorderBrush}" />
		<Setter Property="Background" Value="{StaticResource Compass_Indicator_Background}" />
		<Setter Property="Template" Value="{StaticResource Compass_BackgroundTemplate}" />
		<Setter Property="Margin" Value="16" />
		<Setter Property="MinWidth" Value="72" />
		<Setter Property="MinHeight" Value="72" />
	</Style>
	
	<Style x:Key="Compass_IndicatorXSideStyle" TargetType="ContentControl">
		<Setter Property="BorderBrush" Value="{StaticResource Compass_Indicator_BorderBrush}" />
		<Setter Property="Background" Value="{StaticResource Compass_Indicator_Background}" />
		<Setter Property="Template" Value="{StaticResource Compass_IndicatorSideTemplate}" />
		<Setter Property="Width" Value="32" />
		<Setter Property="Height" Value="32" />
	</Style>

	<Style x:Key="Compass_IndicatorLeftStyle" TargetType="ContentControl" BasedOn="{StaticResource Compass_IndicatorXSideStyle}">
		<Setter Property="Margin" Value="0 36" />
		<Setter Property="ContentTemplate">
			<Setter.Value>
				<DataTemplate>
					<Path x:Name="ArrowLeft" HorizontalAlignment="Right" Margin="8" Width="6" Height="13" Fill="Black" Stretch="Uniform" Data="M1,0 L0,1 L1,2 Z" />
				</DataTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style x:Key="Compass_IndicatorTopStyle" TargetType="ContentControl" BasedOn="{StaticResource Compass_IndicatorXSideStyle}">
		<Setter Property="Margin" Value="36 0" />
		<Setter Property="ContentTemplate">
			<Setter.Value>
				<DataTemplate>
					<Path x:Name="ArrowUp" VerticalAlignment="Bottom" Margin="8" Width="13" Height="6" Fill="Black" Stretch="Uniform" Data="M0,1 L1,0 L2,1 Z" />
				</DataTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style x:Key="Compass_IndicatorRightStyle" TargetType="ContentControl" BasedOn="{StaticResource Compass_IndicatorXSideStyle}">
		<Setter Property="Margin" Value="0 36" />
		<Setter Property="ContentTemplate">
			<Setter.Value>
				<DataTemplate>
					<Path x:Name="ArrowRight" HorizontalAlignment="Left"  Margin="8" Width="6" Height="13" Fill="Black" Stretch="Uniform" Data="M0,0 L1,1 L0,2 Z" />
				</DataTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style x:Key="Compass_IndicatorBottomStyle" TargetType="ContentControl" BasedOn="{StaticResource Compass_IndicatorXSideStyle}">
		<Setter Property="Margin" Value="36 0" />
		<Setter Property="ContentTemplate">
			<Setter.Value>
				<DataTemplate>
					<Path x:Name="ArrowDown" VerticalAlignment="Top" Margin="8" Width="13" Height="6" Fill="Black" Stretch="Uniform" Data="M0,0 L1,1 L2,0 Z" />
				</DataTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<Style x:Key="Compass_IndicatorCenterStyle" TargetType="ContentControl">
		<Setter Property="BorderBrush" Value="{StaticResource Compass_Indicator_BorderBrush}" />
		<Setter Property="Template" Value="{StaticResource Compass_IndicatorCenterTemplate}" />
		<Setter Property="Margin" Value="36" />
	</Style>

	<Style x:Key="Compass_IndicatorLeftStyle_Highlighted" TargetType="ContentControl" BasedOn="{StaticResource Compass_IndicatorLeftStyle}">
		<Setter Property="BorderBrush" Value="{StaticResource Compass_Indicator_BorderBrush_Highlighted}" />
		<Setter Property="Background" Value="{StaticResource Compass_Indicator_Background_Highlighted}" />
	</Style>
	<Style x:Key="Compass_IndicatorTopStyle_Highlighted" TargetType="ContentControl" BasedOn="{StaticResource Compass_IndicatorTopStyle}">
		<Setter Property="BorderBrush" Value="{StaticResource Compass_Indicator_BorderBrush_Highlighted}" />
		<Setter Property="Background" Value="{StaticResource Compass_Indicator_Background_Highlighted}" />
	</Style>
	<Style x:Key="Compass_IndicatorRightStyle_Highlighted" TargetType="ContentControl" BasedOn="{StaticResource Compass_IndicatorRightStyle}">
		<Setter Property="BorderBrush" Value="{StaticResource Compass_Indicator_BorderBrush_Highlighted}" />
		<Setter Property="Background" Value="{StaticResource Compass_Indicator_Background_Highlighted}" />
	</Style>
	<Style x:Key="Compass_IndicatorBottomStyle_Highlighted" TargetType="ContentControl" BasedOn="{StaticResource Compass_IndicatorBottomStyle}">
		<Setter Property="BorderBrush" Value="{StaticResource Compass_Indicator_BorderBrush_Highlighted}" />
		<Setter Property="Background" Value="{StaticResource Compass_Indicator_Background_Highlighted}" />
	</Style>
	<Style x:Key="Compass_IndicatorCenterStyle_Highlighted" TargetType="ContentControl" BasedOn="{StaticResource Compass_IndicatorCenterStyle}">
		<Setter Property="BorderBrush" Value="{StaticResource Compass_Indicator_BorderBrush_Highlighted}" />
		<Setter Property="Background" Value="{StaticResource Compass_Indicator_Background_Highlighted}" />
	</Style>
	
	
	
	<!--Compass Style-->
	<Style TargetType="dock:Compass" x:Key="{telerik:ThemeResourceKey ThemeType=
		telerik:Office_BlackTheme , ElementType={x:Type dock:Compass}}"
		>
		<Setter Property="Width" Value="105" />
		<Setter Property="Height" Value="105" />
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="dock:Compass">
					<Border
						x:Name="Root"
						Background="{TemplateBinding Background}"
						BorderThickness="{TemplateBinding BorderThickness}"
						BorderBrush="{TemplateBinding BorderBrush}">
						
						<Grid
							x:Name="Visual"
							HorizontalAlignment="Center"
							VerticalAlignment="Center">
							
							<ContentControl
								x:Name="PART_Center"
								HorizontalAlignment="Stretch" VerticalAlignment="Stretch"
								Style="{StaticResource Compass_BackgroundStyle}" />
							<ContentControl
								x:Name="PART_LeftIndicator"
								HorizontalAlignment="Left" VerticalAlignment="Stretch" 
								Style="{StaticResource Compass_IndicatorLeftStyle}"/>
							<ContentControl
								x:Name="PART_TopIndicator"
								HorizontalAlignment="Stretch" VerticalAlignment="Top"
								Style="{StaticResource Compass_IndicatorTopStyle}"/>
							<ContentControl
								x:Name="PART_RightIndicator"
								HorizontalAlignment="Right" VerticalAlignment="Stretch" 
								Style="{StaticResource Compass_IndicatorRightStyle}"/>
							<ContentControl
								x:Name="PART_BottomIndicator"
								HorizontalAlignment="Stretch" VerticalAlignment="Bottom"
								Style="{StaticResource Compass_IndicatorBottomStyle}"/>
							<ContentControl
								x:Name="PART_CenterIndicator"
								HorizontalAlignment="Stretch" VerticalAlignment="Stretch"
								Style="{StaticResource Compass_IndicatorCenterStyle}"/>
						</Grid>

						
					</Border>
					
					<ControlTemplate.Triggers>
						<Trigger Property="DockPosition" Value="Left">
							<Setter TargetName="PART_LeftIndicator" Property="Style"
									Value="{StaticResource Compass_IndicatorLeftStyle_Highlighted}" />
						</Trigger>
						<Trigger Property="DockPosition" Value="Top">
							<Setter TargetName="PART_TopIndicator" Property="Style"
									Value="{StaticResource Compass_IndicatorTopStyle_Highlighted}" />
						</Trigger>
						<Trigger Property="DockPosition" Value="Right">
							<Setter TargetName="PART_RightIndicator" Property="Style"
									Value="{StaticResource Compass_IndicatorRightStyle_Highlighted}" />
						</Trigger>
						<Trigger Property="DockPosition" Value="Bottom">
							<Setter TargetName="PART_BottomIndicator" Property="Style"
									Value="{StaticResource Compass_IndicatorBottomStyle_Highlighted}" />
						</Trigger>
						<Trigger Property="DockPosition" Value="Center">
							<Setter TargetName="PART_CenterIndicator" Property="Style"
									Value="{StaticResource Compass_IndicatorCenterStyle_Highlighted}" />
						</Trigger>

						<Trigger Property="IsLeftIndicatorVisible" Value="False">
							<Setter TargetName="PART_LeftIndicator" Property="Visibility" Value="Collapsed" />
						</Trigger>
						<Trigger Property="IsTopIndicatorVisible" Value="False">
							<Setter TargetName="PART_TopIndicator" Property="Visibility" Value="Collapsed" />
						</Trigger>
						<Trigger Property="IsRightIndicatorVisible" Value="False">
							<Setter TargetName="PART_RightIndicator" Property="Visibility" Value="Collapsed" />
						</Trigger>
						<Trigger Property="IsBottomIndicatorVisible" Value="False">
							<Setter TargetName="PART_BottomIndicator" Property="Visibility" Value="Collapsed" />
						</Trigger>
						<Trigger Property="IsCenterIndicatorVisible" Value="False">
							<Setter TargetName="PART_CenterIndicator" Property="Visibility" Value="Collapsed" />
							<Setter TargetName="PART_Center" Property="IsHitTestVisible" Value="False" />
						</Trigger>
					</ControlTemplate.Triggers>
					
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<!--Compass Style-->
	<Style TargetType="dock:RootCompass" x:Key="{telerik:ThemeResourceKey ThemeType=
		telerik:Office_BlackTheme , ElementType={x:Type dock:RootCompass}}"
		 >
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="dock:Compass">
					<Border
						x:Name="Root"
						Background="{TemplateBinding Background}"
						BorderThickness="{TemplateBinding BorderThickness}"
						BorderBrush="{TemplateBinding BorderBrush}">

						<Grid x:Name="Visual">

							

							<ContentControl
								x:Name="PART_LeftIndicator"
								HorizontalAlignment="Left" VerticalAlignment="Stretch" 
								Style="{StaticResource Compass_IndicatorLeftStyle}"/>
							<ContentControl
								x:Name="PART_TopIndicator"
								HorizontalAlignment="Stretch" VerticalAlignment="Top"
								Style="{StaticResource Compass_IndicatorTopStyle}"/>
							<ContentControl
								x:Name="PART_RightIndicator"
								HorizontalAlignment="Right" VerticalAlignment="Stretch" 
								Style="{StaticResource Compass_IndicatorRightStyle}"/>
							<ContentControl
								x:Name="PART_BottomIndicator"
								HorizontalAlignment="Stretch" VerticalAlignment="Bottom"
								Style="{StaticResource Compass_IndicatorBottomStyle}"/>

						</Grid>

					</Border>
					
					<ControlTemplate.Triggers>
						<Trigger Property="DockPosition" Value="Left">
							<Setter TargetName="PART_LeftIndicator" Property="Style"
									Value="{StaticResource Compass_IndicatorLeftStyle_Highlighted}" />
						</Trigger>
						<Trigger Property="DockPosition" Value="Top">
							<Setter TargetName="PART_TopIndicator" Property="Style"
									Value="{StaticResource Compass_IndicatorTopStyle_Highlighted}" />
						</Trigger>
						<Trigger Property="DockPosition" Value="Right">
							<Setter TargetName="PART_RightIndicator" Property="Style"
									Value="{StaticResource Compass_IndicatorRightStyle_Highlighted}" />
						</Trigger>
						<Trigger Property="DockPosition" Value="Bottom">
							<Setter TargetName="PART_BottomIndicator" Property="Style"
									Value="{StaticResource Compass_IndicatorBottomStyle_Highlighted}" />
						</Trigger>
						<Trigger Property="IsLeftIndicatorVisible" Value="False">
							<Setter TargetName="PART_LeftIndicator" Property="Visibility" Value="Collapsed" />
						</Trigger>
						<Trigger Property="IsTopIndicatorVisible" Value="False">
							<Setter TargetName="PART_TopIndicator" Property="Visibility" Value="Collapsed" />
						</Trigger>
						<Trigger Property="IsRightIndicatorVisible" Value="False">
							<Setter TargetName="PART_RightIndicator" Property="Visibility" Value="Collapsed" />
						</Trigger>
						<Trigger Property="IsBottomIndicatorVisible" Value="False">
							<Setter TargetName="PART_BottomIndicator" Property="Visibility" Value="Collapsed" />
						</Trigger>
					</ControlTemplate.Triggers>
					
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<!-- VisualCue Style-->
	<Style TargetType="dock:VisualCue" x:Key="{telerik:ThemeResourceKey ThemeType=
		telerik:Office_BlackTheme , ElementType={x:Type dock:VisualCue}}"
		>
		<Setter Property="Background" Value="{StaticResource Compass_VisualCue_Background}" />
		<Setter Property="BorderBrush" Value="{StaticResource Compass_VisualCue_BorderBrush}" />
		<Setter Property="BorderThickness" Value="{StaticResource Compass_VisualCue_BorderThickness}" />
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="dock:VisualCue">
					<Border Background="{TemplateBinding Background}"
							BorderBrush="{TemplateBinding BorderBrush}"
							BorderThickness="{TemplateBinding BorderThickness}" />
				</ControlTemplate>
			</Setter.Value>
		</Setter>
		<Setter Property="Visibility" Value="Collapsed" />
	</Style>
	
	
	<!-- Document Host -->
	
	
	<!--DocumentHost Style-->
	<Style TargetType="dock:DocumentHost" x:Key="{telerik:ThemeResourceKey ThemeType=
		telerik:Office_BlackTheme , ElementType={x:Type dock:DocumentHost}}"
		>
		<Setter Property="HorizontalContentAlignment" Value="Stretch" />
		<Setter Property="VerticalContentAlignment" Value="Stretch" />
		<Setter Property="MinWidth" Value="25" />
		<Setter Property="MinHeight" Value="25" />
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="dock:DocumentHost">
					<Border Background="{TemplateBinding Background}"
							BorderBrush="{TemplateBinding BorderBrush}"
							BorderThickness="{TemplateBinding BorderThickness}"
							Padding="{TemplateBinding Padding}">
						<ContentPresenter ContentTemplate="{TemplateBinding ContentTemplate}"
								Content="{TemplateBinding Content}"
								HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
								VerticalAlignment="{TemplateBinding VerticalContentAlignment}" />
					</Border>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	
	<!-- GridResizer -->
	
	<Style x:Key="GridResizerPreviewStyle" TargetType="Control">
		<Setter Property="Background" Value="{StaticResource GridResizer_Background_Preview}" />
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="Control">
					<Grid x:Name="Root" Opacity=".5">

						<!-- Background -->
						<Rectangle Fill="{TemplateBinding Background}" />

						<!-- Horizontal Template -->
						<Grid x:Name="HorizontalTemplate" Height="6">
							<!-- Just show the faint gray grid splitter rectangle with no other details -->
						</Grid>

						<!-- Vertical Template -->
						<Grid x:Name="VerticalTemplate" Visibility="Collapsed" Width="6">
							<!-- Just show the faint gray grid splitter rectangle with no other details -->
						</Grid>

					</Grid>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	<Style TargetType="dock:RadGridResizer" x:Key="{telerik:ThemeResourceKey ThemeType=
		telerik:Office_BlackTheme , ElementType={x:Type dock:RadGridResizer}}"
		>
		<Setter Property="Background" Value="#01FF0000" />
		<Setter Property="IsTabStop" Value="true" />
		<Setter Property="PreviewStyle" Value="{StaticResource GridResizerPreviewStyle}" />
		<Setter Property="HorizontalAlignment" Value="Right" />
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="dock:RadGridResizer">
					<Grid x:Name="Root" IsHitTestVisible="{TemplateBinding IsEnabled}">
						

						<!-- Background -->
						<Rectangle Fill="{TemplateBinding Background}" StrokeThickness="0" />

						<!-- Horizontal Template -->
						<Grid x:Name="HorizontalTemplate" Height="10">
							<StackPanel Height="6" VerticalAlignment="Center">
							</StackPanel>
						</Grid>

						<!-- Vertical Template -->
						<Grid x:Name="VerticalTemplate" Visibility="Collapsed" Width="10">
							<StackPanel Width="6" VerticalAlignment="Center" Orientation="Horizontal">
							</StackPanel>
						</Grid>

						<!-- Focus Visual -->
						<Rectangle
							x:Name="FocusVisual"
							Stroke="{StaticResource GridResizer_FocusFrame}"
							StrokeThickness="1"
							Opacity="0"
							IsHitTestVisible="false" />
					</Grid>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	
    <!--SplitContainer Style-->
    <Style TargetType="telerikDocking:RadSplitContainer" x:Key="{telerik:ThemeResourceKey ThemeType=
        telerik:Office_BlackTheme , ElementType={x:Type telerikDocking:RadSplitContainer}}"
         >
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="telerikDocking:RadSplitContainer">
                    <Grid>
                        

                        <Border x:Name="border" Background="{TemplateBinding Background}"
                                BorderBrush="{TemplateBinding BorderBrush}"
                                BorderThickness="{TemplateBinding BorderThickness}"
                                Padding="{TemplateBinding Padding}">
                            <ItemsPresenter />
                        </Border>

                        <dock:RadGridResizer x:Name="DockResizer" Placement="Left"
                                ShowsPreview="True" Visibility="Collapsed"
                                VerticalAlignment="Stretch" HorizontalAlignment="Left" />
                    </Grid>

                    
                    <ControlTemplate.Triggers>
                        <Trigger Property="SplitterPosition">
                            <Trigger.Value>
                                <system:Dock>Left</system:Dock>
                            </Trigger.Value>
                            <Setter TargetName="DockResizer" Property="Visibility" Value="Visible" />
                            <Setter TargetName="DockResizer" Property="Width" Value="4" />
                            <Setter TargetName="border" Property="Margin" Value="4 0 0 0" />
                            <Setter TargetName="DockResizer" Property="Cursor" Value="SizeWE" />
                        </Trigger>
                        <Trigger Property="SplitterPosition">
                            <Trigger.Value>
                                <system:Dock>Top</system:Dock>
                            </Trigger.Value>
                            <Setter TargetName="DockResizer" Property="Visibility" Value="Visible" />
                            <Setter TargetName="DockResizer" Property="VerticalAlignment"
                                    Value="Top" />
                            <Setter TargetName="DockResizer" Property="HorizontalAlignment"
                                    Value="Stretch" />
                            <Setter TargetName="DockResizer" Property="Cursor" Value="SizeNS" />
                            <Setter TargetName="DockResizer" Property="Placement">
                                <Setter.Value>
                                    <system:Dock>Top</system:Dock>
                                </Setter.Value>
                            </Setter>
                            <Setter TargetName="DockResizer" Property="Height" Value="4" />
                            <Setter TargetName="border" Property="Margin" Value="0 4 0 0" />
                        </Trigger>
                        <Trigger Property="SplitterPosition">
                            <Trigger.Value>
                                <system:Dock>Right</system:Dock>
                            </Trigger.Value>
                            <Setter TargetName="DockResizer" Property="Visibility" Value="Visible" />
                            <Setter TargetName="DockResizer" Property="Width" Value="4" />
                            <Setter TargetName="border" Property="Margin" Value="0 0 4 0" />
                            <Setter TargetName="DockResizer" Property="HorizontalAlignment"
                                    Value="Right" />
                            <Setter TargetName="DockResizer" Property="Cursor" Value="SizeWE" />
                            <Setter TargetName="DockResizer" Property="Placement">
                                <Setter.Value>
                                    <system:Dock>Right</system:Dock>
                                </Setter.Value>
                            </Setter>
                        </Trigger>
                        <Trigger Property="SplitterPosition">
                            <Trigger.Value>
                                <system:Dock>Bottom</system:Dock>
                            </Trigger.Value>
                            <Setter TargetName="DockResizer" Property="Cursor" Value="SizeNS" />
                            <Setter TargetName="DockResizer" Property="Visibility" Value="Visible" />
                            <Setter TargetName="DockResizer" Property="VerticalAlignment"
                                    Value="Bottom" />
                            <Setter TargetName="DockResizer" Property="HorizontalAlignment"
                                    Value="Stretch" />
                            <Setter TargetName="DockResizer" Property="Placement">
                                <Setter.Value>
                                    <system:Dock>Bottom</system:Dock>
                                </Setter.Value>
                            </Setter>
                            <Setter TargetName="DockResizer" Property="Height" Value="4" />
                            <Setter TargetName="border" Property="Margin" Value="0 0 0 4" />
                        </Trigger>
                    </ControlTemplate.Triggers>
                    
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="MinWidth" Value="15" />
        <Setter Property="MinHeight" Value="15" />
        <Setter Property="ItemsPanel">
            <Setter.Value>
                <ItemsPanelTemplate>
                    <telerikDocking:ProportionalStackPanel />
                </ItemsPanelTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    
	
	<!-- Pane -->
	

	<ControlTemplate x:Key="Pane_TabTemplate_Left" TargetType="ContentControl">
		<Border
			x:Name="Root"
			BorderBrush="{TemplateBinding BorderBrush}"
			BorderThickness="{TemplateBinding BorderThickness}"
			Background="{TemplateBinding Background}">
			<ContentPresenter x:Name="Content" Margin="{TemplateBinding Padding}" />
		</Border>
	</ControlTemplate>

	<ControlTemplate x:Key="Pane_TabTemplate_Top" TargetType="ContentControl">
		<Border
			x:Name="Root"
			BorderBrush="{TemplateBinding BorderBrush}"
			BorderThickness="{TemplateBinding BorderThickness}"
			Background="{TemplateBinding Background}">
			<ContentPresenter x:Name="Content" Margin="{TemplateBinding Padding}" />
		</Border>
	</ControlTemplate>

	<ControlTemplate x:Key="Pane_TabTemplate_Right" TargetType="ContentControl">
		<Border
			x:Name="Root"
			BorderBrush="{TemplateBinding BorderBrush}"
			BorderThickness="{TemplateBinding BorderThickness}"
			Background="{TemplateBinding Background}">
			<ContentPresenter x:Name="Content" Margin="{TemplateBinding Padding}" />
		</Border>
	</ControlTemplate>

	<ControlTemplate x:Key="Pane_TabTemplate_Bottom" TargetType="ContentControl">
		<Border
			x:Name="Root"
			BorderBrush="{TemplateBinding BorderBrush}"
			BorderThickness="{TemplateBinding BorderThickness}"
			Background="{TemplateBinding Background}">
			<ContentPresenter x:Name="Content" Margin="{TemplateBinding Padding}" />
		</Border>
	</ControlTemplate>

	<ControlTemplate x:Key="Pane_DocumentHostTabTemplate" TargetType="ContentControl">
		<Border
			x:Name="Root"
			BorderBrush="{TemplateBinding BorderBrush}"
			BorderThickness="{TemplateBinding BorderThickness}"
			Background="{TemplateBinding Background}"
			CornerRadius="{StaticResource Pane_DocumentHostTab_CornerRadius}">
			<ContentPresenter x:Name="Content" Margin="{TemplateBinding Padding}" />
		</Border>
	</ControlTemplate>

	
	
	
	<!-- Styles >> -->
	
	<!-- Tab Left -->
	<Style x:Key="Pane_TabStyle_Left" TargetType="ContentControl">
		<Setter Property="Template" Value="{StaticResource Pane_TabTemplate_Left}" />
		<Setter Property="BorderBrush" Value="{StaticResource Pane_Tab_BorderBrush_Vertical}" />
		<Setter Property="Background" Value="{StaticResource Pane_Tab_Background_Vertical}" />
		<Setter Property="BorderThickness" Value="1" />
		<Setter Property="Margin" Value="0 0 4 -1" />
		<Setter Property="Padding" Value="0 4" />
		<Setter Property="VerticalAlignment" Value="Top" />
		
		
		<Setter Property="SnapsToDevicePixels" Value="True" />
		
	</Style>
	<Style x:Key="Pane_TabStyle_Left_MouseOver" BasedOn="{StaticResource Pane_TabStyle_Left}" TargetType="ContentControl">
		<Setter Property="BorderBrush" Value="{StaticResource Pane_Tab_BorderBrush_Vertical_MouseOver}" />
		<Setter Property="Background" Value="{StaticResource Pane_Tab_Background_Vertical_MouseOver}" />
	</Style>
	<Style x:Key="Pane_TabStyle_Left_Selected" BasedOn="{StaticResource Pane_TabStyle_Left}" TargetType="ContentControl">
		<Setter Property="BorderBrush" Value="{StaticResource Pane_Tab_BorderBrush_Vertical_Selected}" />
		<Setter Property="Background" Value="{StaticResource Pane_Tab_Background_Vertical_Selected}" />
	</Style>
	<Style x:Key="Pane_TabStyle_Left_SelectedPinned" BasedOn="{StaticResource Pane_TabStyle_Left}" TargetType="ContentControl">
		<Setter Property="BorderThickness" Value="1 0 1 1" />
		<Setter Property="Padding" Value="0 2" />
		<Setter Property="BorderBrush" Value="{StaticResource Pane_Tab_BorderBrush_Vertical_SelectedPinned}" />
		<Setter Property="Background" Value="{StaticResource Pane_Tab_Background_Vertical_SelectedPinned}" />
	</Style>

	<!-- Tab Top -->
	<Style x:Key="Pane_TabStyle_Top" TargetType="ContentControl">
		<Setter Property="Template" Value="{StaticResource Pane_TabTemplate_Top}" />
		<Setter Property="BorderBrush" Value="{StaticResource Pane_Tab_BorderBrush}" />
		<Setter Property="Background" Value="{StaticResource Pane_Tab_Background}" />
		<Setter Property="BorderThickness" Value="1" />
		<Setter Property="Margin" Value="0 0 -1 4" />
		<Setter Property="Padding" Value="2 1 2 2" />
		<Setter Property="VerticalAlignment" Value="Top" />
		
		
		<Setter Property="SnapsToDevicePixels" Value="True" />
		
	</Style>
	<Style x:Key="Pane_TabStyle_Top_MouseOver" BasedOn="{StaticResource Pane_TabStyle_Top}" TargetType="ContentControl">
		<Setter Property="BorderBrush" Value="{StaticResource Pane_Tab_BorderBrush_MouseOver}" />
		<Setter Property="Background" Value="{StaticResource Pane_Tab_Background_MouseOver}" />
	</Style>
	<Style x:Key="Pane_TabStyle_Top_Selected" BasedOn="{StaticResource Pane_TabStyle_Top}" TargetType="ContentControl">
		<Setter Property="BorderBrush" Value="{StaticResource Pane_Tab_BorderBrush_Selected}" />
		<Setter Property="Background" Value="{StaticResource Pane_Tab_Background_Selected}" />
	</Style>
	<Style x:Key="Pane_TabStyle_Top_SelectedPinned" BasedOn="{StaticResource Pane_TabStyle_Top}" TargetType="ContentControl">
		<Setter Property="BorderThickness" Value="1 0 1 1" />
		<Setter Property="Padding" Value="2 2" />
		<Setter Property="BorderBrush" Value="{StaticResource Pane_Tab_BorderBrush_SelectedPinned}" />
		<Setter Property="Background" Value="{StaticResource Pane_Tab_Background_SelectedPinned}" />
	</Style>

	<!-- Tab Right -->
	<Style x:Key="Pane_TabStyle_Right" TargetType="ContentControl" BasedOn="{StaticResource Pane_TabStyle_Left}">
		<Setter Property="Margin" Value="4 0 0 -1" />
		<Setter Property="Template" Value="{StaticResource Pane_TabTemplate_Right}" />
	</Style>
	<Style x:Key="Pane_TabStyle_Right_MouseOver" TargetType="ContentControl" BasedOn="{StaticResource Pane_TabStyle_Left_MouseOver}">
		<Setter Property="Margin" Value="4 0 0 -1" />
	</Style>
	<Style x:Key="Pane_TabStyle_Right_Selected" TargetType="ContentControl" BasedOn="{StaticResource Pane_TabStyle_Left_Selected}">
		<Setter Property="Margin" Value="4 0 0 -1" />
	</Style>
	<Style x:Key="Pane_TabStyle_Right_SelectedPinned" TargetType="ContentControl" BasedOn="{StaticResource Pane_TabStyle_Left_SelectedPinned}">
		<Setter Property="Margin" Value="4 0 0 -1" />
	</Style>

	<!-- Tab Bottom -->
	<Style x:Key="Pane_TabStyle_Bottom" TargetType="ContentControl" BasedOn="{StaticResource Pane_TabStyle_Top}">
		<Setter Property="Margin" Value="0 4 -1 0" />
		<Setter Property="Template" Value="{StaticResource Pane_TabTemplate_Bottom}" />
	</Style>
	<Style x:Key="Pane_TabStyle_Bottom_MouseOver" TargetType="ContentControl" BasedOn="{StaticResource Pane_TabStyle_Top_MouseOver}">
		<Setter Property="Margin" Value="0 4 -1 0" />
	</Style>
	<Style x:Key="Pane_TabStyle_Bottom_Selected" TargetType="ContentControl" BasedOn="{StaticResource Pane_TabStyle_Top_Selected}">
		<Setter Property="Margin" Value="0 4 -1 0" />
	</Style>
	<Style x:Key="Pane_TabStyle_Bottom_SelectedPinned" TargetType="ContentControl" BasedOn="{StaticResource Pane_TabStyle_Top_SelectedPinned}">
		<Setter Property="Margin" Value="0 4 -1 0" />
	</Style>

	<!-- DocumentHostTab -->
	<Style x:Key="Pane_DocumentHostTabStyle" TargetType="ContentControl">
		<Setter Property="Template" Value="{StaticResource Pane_DocumentHostTabTemplate}" />
		<Setter Property="Margin" Value="0 0 -1 0" />
		<Setter Property="Padding" Value="8 1 8 2" />
		<Setter Property="BorderBrush" Value="{StaticResource Pane_DocumentHostTab_BorderBrush}" />
		<Setter Property="Background" Value="{StaticResource Pane_DocumentHostTab_Background}" />
		<Setter Property="VerticalAlignment" Value="Bottom" />
		<Setter Property="BorderThickness" Value="1 1 1 0" />
		
		
		<Setter Property="SnapsToDevicePixels" Value="True" />
		
	</Style>
	<Style x:Key="Pane_DocumentHostTabStyle_MouseOver" BasedOn="{StaticResource Pane_DocumentHostTabStyle}" TargetType="ContentControl">
		<Setter Property="BorderBrush" Value="{StaticResource Pane_DocumentHostTab_BorderBrush_MouseOver}" />
		<Setter Property="Background" Value="{StaticResource Pane_DocumentHostTab_Background_MouseOver}" />
	</Style>
	<Style x:Key="Pane_DocumentHostTabStyle_Selected" BasedOn="{StaticResource Pane_DocumentHostTabStyle}" TargetType="ContentControl">
		<Setter Property="BorderBrush" Value="{StaticResource Pane_DocumentHostTab_BorderBrush_Selected}" />
		<Setter Property="Background" Value="{StaticResource Pane_DocumentHostTab_Background_Selected}" />
	</Style>
	
	
	
	
	<ControlTemplate TargetType="telerikDocking:RadPane" x:Key="PaneTemplate_Left">
		<ContentControl x:Name="wrapper" Style="{StaticResource Pane_TabStyle_Left}">
			<telerikNavigationPrimitives:TabItemContentPresenter
				x:Name="HeaderElement"
				Margin="{TemplateBinding Padding}"
				HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}"
				VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"
				Foreground="{TemplateBinding Foreground}"
				Content="{TemplateBinding Header}"
				ContentTemplate="{TemplateBinding HeaderTemplate}"
				
				ContentTemplateSelector="{TemplateBinding HeaderTemplateSelector}"
				 />

			
        <telerikNavigation:RadContextMenu.ContextMenu>
          <telerikNavigation:RadContextMenu
            telerik:StyleManager.Theme="{StaticResource Theme}"
             ItemsSource="{TemplateBinding MenuCommands}"
            ItemTemplate="{TemplateBinding MenuItemTemplate}"
            ItemTemplateSelector="{TemplateBinding MenuItemTemplateSelector}">
            
            <telerikNavigation:RadContextMenu.ItemContainerStyle>
              <Style TargetType="telerikNavigation:RadMenuItem">
                <Setter Property="IsCheckable" Value="False" />
                <Setter Property="IsChecked" Value="{Binding IsChecked}" />
                <Setter Property="IsEnabled" Value="{Binding IsEnabled}" />
              </Style>
            </telerikNavigation:RadContextMenu.ItemContainerStyle>
            
          </telerikNavigation:RadContextMenu>
        </telerikNavigation:RadContextMenu.ContextMenu>
		</ContentControl>
		
		<ControlTemplate.Triggers>
			<MultiTrigger>
				<MultiTrigger.Conditions>
					<Condition Property="IsSelected" Value="True" />
					<Condition Property="IsPinned" Value="False" />
				</MultiTrigger.Conditions>
				<Setter TargetName="wrapper" Property="Style" Value="{StaticResource Pane_TabStyle_Left_Selected}" />
				<Setter Property="Canvas.ZIndex" Value="2" />
			</MultiTrigger>
			<Trigger Property="IsMouseOver" Value="True">
				<Setter TargetName="wrapper" Property="Style" Value="{StaticResource Pane_TabStyle_Left_MouseOver}" />
				<Setter Property="Canvas.ZIndex" Value="1" />
			</Trigger>
			<MultiTrigger>
				<MultiTrigger.Conditions>
					<Condition Property="IsSelected" Value="True" />
					<Condition Property="IsPinned" Value="True" />
				</MultiTrigger.Conditions>
				<Setter TargetName="wrapper" Property="Style" Value="{StaticResource Pane_TabStyle_Left_SelectedPinned}" />
				<Setter Property="Canvas.ZIndex" Value="2" />
			</MultiTrigger>
			<Trigger Property="IsLastInGroup" Value="True">
				<Setter TargetName="wrapper" Property="Margin" Value="0 0 4 5" />
			</Trigger>
		</ControlTemplate.Triggers>
		
	</ControlTemplate>
	
	<ControlTemplate TargetType="telerikDocking:RadPane" x:Key="PaneTemplate_Top">
		<ContentControl x:Name="wrapper" Style="{StaticResource Pane_TabStyle_Top}">
			<telerikNavigationPrimitives:TabItemContentPresenter
				x:Name="HeaderElement"
				Margin="{TemplateBinding Padding}"
				HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}"
				VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"
				Foreground="{TemplateBinding Foreground}"
				Content="{TemplateBinding Header}"
				ContentTemplate="{TemplateBinding HeaderTemplate}"
				
				ContentTemplateSelector="{TemplateBinding HeaderTemplateSelector}"
				 />

			
        <telerikNavigation:RadContextMenu.ContextMenu>
          <telerikNavigation:RadContextMenu
            telerik:StyleManager.Theme="{StaticResource Theme}"
             ItemsSource="{TemplateBinding MenuCommands}"
            ItemTemplate="{TemplateBinding MenuItemTemplate}"
            ItemTemplateSelector="{TemplateBinding MenuItemTemplateSelector}">
            
            <telerikNavigation:RadContextMenu.ItemContainerStyle>
              <Style TargetType="telerikNavigation:RadMenuItem">
                <Setter Property="IsCheckable" Value="False" />
                <Setter Property="IsChecked" Value="{Binding IsChecked}" />
                <Setter Property="IsEnabled" Value="{Binding IsEnabled}" />
              </Style>
            </telerikNavigation:RadContextMenu.ItemContainerStyle>
            
          </telerikNavigation:RadContextMenu>
        </telerikNavigation:RadContextMenu.ContextMenu>
      </ContentControl>
		
		<ControlTemplate.Triggers>
			<MultiTrigger>
				<MultiTrigger.Conditions>
					<Condition Property="IsSelected" Value="True" />
					<Condition Property="IsPinned" Value="False" />
				</MultiTrigger.Conditions>
				<Setter TargetName="wrapper" Property="Style" Value="{StaticResource Pane_TabStyle_Top_Selected}" />
				<Setter Property="Canvas.ZIndex" Value="2" />
			</MultiTrigger>
			<Trigger Property="IsMouseOver" Value="True">
				<Setter TargetName="wrapper" Property="Style" Value="{StaticResource Pane_TabStyle_Top_MouseOver}" />
				<Setter Property="Canvas.ZIndex" Value="1" />
			</Trigger>
			<MultiTrigger>
				<MultiTrigger.Conditions>
					<Condition Property="IsSelected" Value="True" />
					<Condition Property="IsPinned" Value="True" />
				</MultiTrigger.Conditions>
				<Setter TargetName="wrapper" Property="Style" Value="{StaticResource Pane_TabStyle_Top_SelectedPinned}" />
				<Setter Property="Canvas.ZIndex" Value="2" />
			</MultiTrigger>
			<Trigger Property="IsLastInGroup" Value="True">
				<Setter TargetName="wrapper" Property="Margin" Value="0 0 5 4" />
			</Trigger>
		</ControlTemplate.Triggers>
		
	</ControlTemplate>
	
	<ControlTemplate TargetType="telerikDocking:RadPane" x:Key="PaneTemplate_Right">
		<ContentControl x:Name="wrapper" Style="{StaticResource Pane_TabStyle_Right}">
			<telerikNavigationPrimitives:TabItemContentPresenter
				x:Name="HeaderElement"
				Margin="{TemplateBinding Padding}"
				HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}"
				VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"
				Foreground="{TemplateBinding Foreground}"
				Content="{TemplateBinding Header}"
				ContentTemplate="{TemplateBinding HeaderTemplate}"
				
				ContentTemplateSelector="{TemplateBinding HeaderTemplateSelector}"
				 />

			        
        <telerikNavigation:RadContextMenu.ContextMenu>
          <telerikNavigation:RadContextMenu
            telerik:StyleManager.Theme="{StaticResource Theme}"
             ItemsSource="{TemplateBinding MenuCommands}"
            ItemTemplate="{TemplateBinding MenuItemTemplate}"
            ItemTemplateSelector="{TemplateBinding MenuItemTemplateSelector}">
            
            <telerikNavigation:RadContextMenu.ItemContainerStyle>
              <Style TargetType="telerikNavigation:RadMenuItem">
                <Setter Property="IsCheckable" Value="False" />
                <Setter Property="IsChecked" Value="{Binding IsChecked}" />
                <Setter Property="IsEnabled" Value="{Binding IsEnabled}" />
              </Style>
            </telerikNavigation:RadContextMenu.ItemContainerStyle>
            
          </telerikNavigation:RadContextMenu>
        </telerikNavigation:RadContextMenu.ContextMenu>				
		</ContentControl>
		
		<ControlTemplate.Triggers>
			<MultiTrigger>
				<MultiTrigger.Conditions>
					<Condition Property="IsSelected" Value="True" />
					<Condition Property="IsPinned" Value="False" />
				</MultiTrigger.Conditions>
				<Setter TargetName="wrapper" Property="Style" Value="{StaticResource Pane_TabStyle_Right_Selected}" />
				<Setter Property="Canvas.ZIndex" Value="2" />
			</MultiTrigger>
			<Trigger Property="IsMouseOver" Value="True">
				<Setter TargetName="wrapper" Property="Style" Value="{StaticResource Pane_TabStyle_Right_MouseOver}" />
				<Setter Property="Canvas.ZIndex" Value="1" />
			</Trigger>
			<MultiTrigger>
				<MultiTrigger.Conditions>
					<Condition Property="IsSelected" Value="True" />
					<Condition Property="IsPinned" Value="True" />
				</MultiTrigger.Conditions>
				<Setter TargetName="wrapper" Property="Style" Value="{StaticResource Pane_TabStyle_Right_SelectedPinned}" />
				<Setter Property="Canvas.ZIndex" Value="2" />
			</MultiTrigger>
			<Trigger Property="IsLastInGroup" Value="True">
				<Setter TargetName="wrapper" Property="Margin" Value="4 0 0 5" />
			</Trigger>
		</ControlTemplate.Triggers>
		
	</ControlTemplate>
	
	<ControlTemplate TargetType="telerikDocking:RadPane" x:Key="PaneTemplate_Bottom">
		<ContentControl x:Name="wrapper" Style="{StaticResource Pane_TabStyle_Bottom}">
			<telerikNavigationPrimitives:TabItemContentPresenter
				x:Name="HeaderElement"
				Margin="{TemplateBinding Padding}"
				HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}"
				VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"
				Foreground="{TemplateBinding Foreground}"
				Content="{TemplateBinding Header}"
				ContentTemplate="{TemplateBinding HeaderTemplate}"
				
				ContentTemplateSelector="{TemplateBinding HeaderTemplateSelector}"
				 />

			
        <telerikNavigation:RadContextMenu.ContextMenu>
          <telerikNavigation:RadContextMenu
            telerik:StyleManager.Theme="{StaticResource Theme}"
             ItemsSource="{TemplateBinding MenuCommands}"
            ItemTemplate="{TemplateBinding MenuItemTemplate}"
            ItemTemplateSelector="{TemplateBinding MenuItemTemplateSelector}">
            
            <telerikNavigation:RadContextMenu.ItemContainerStyle>
              <Style TargetType="telerikNavigation:RadMenuItem">
                <Setter Property="IsCheckable" Value="False" />
                <Setter Property="IsChecked" Value="{Binding IsChecked}" />
                <Setter Property="IsEnabled" Value="{Binding IsEnabled}" />
              </Style>
            </telerikNavigation:RadContextMenu.ItemContainerStyle>
            
          </telerikNavigation:RadContextMenu>
        </telerikNavigation:RadContextMenu.ContextMenu>			
		</ContentControl>
		
		<ControlTemplate.Triggers>
			<MultiTrigger>
				<MultiTrigger.Conditions>
					<Condition Property="IsSelected" Value="True" />
					<Condition Property="IsPinned" Value="False" />
				</MultiTrigger.Conditions>
				<Setter TargetName="wrapper" Property="Style" Value="{StaticResource Pane_TabStyle_Bottom_Selected}" />
				<Setter Property="Canvas.ZIndex" Value="2" />
			</MultiTrigger>
			<Trigger Property="IsMouseOver" Value="True">
				<Setter TargetName="wrapper" Property="Style" Value="{StaticResource Pane_TabStyle_Bottom_MouseOver}" />
				<Setter Property="Canvas.ZIndex" Value="1" />
			</Trigger>
			<MultiTrigger>
				<MultiTrigger.Conditions>
					<Condition Property="IsSelected" Value="True" />
					<Condition Property="IsPinned" Value="True" />
				</MultiTrigger.Conditions>
				<Setter TargetName="wrapper" Property="Style" Value="{StaticResource Pane_TabStyle_Bottom_SelectedPinned}" />
				<Setter Property="Canvas.ZIndex" Value="2" />
			</MultiTrigger>
			<Trigger Property="IsLastInGroup" Value="True">
				<Setter TargetName="wrapper" Property="Margin" Value="0 4 5 0" />
			</Trigger>
		</ControlTemplate.Triggers>
		
	</ControlTemplate>

	<!--The DocumentHostTemplate Template-->
	<ControlTemplate TargetType="telerikDocking:RadPane" x:Key="DocumentHostTemplate">
		<ContentControl x:Name="wrapper" Style="{StaticResource Pane_DocumentHostTabStyle}">
			<Grid>
        <telerikNavigationPrimitives:TabItemContentPresenter
					x:Name="HeaderElement"
					Content="{TemplateBinding Header}"
					ContentTemplate="{TemplateBinding HeaderTemplate}">
				</telerikNavigationPrimitives:TabItemContentPresenter>
			</Grid>

			
      <telerikNavigation:RadContextMenu.ContextMenu>
        <telerikNavigation:RadContextMenu
          telerik:StyleManager.Theme="{StaticResource Theme}"
           ItemsSource="{TemplateBinding MenuCommands}"
          ItemTemplate="{TemplateBinding MenuItemTemplate}"
          ItemTemplateSelector="{TemplateBinding MenuItemTemplateSelector}">
          
          <telerikNavigation:RadContextMenu.ItemContainerStyle>
            <Style TargetType="telerikNavigation:RadMenuItem">
              <Setter Property="IsCheckable" Value="False" />
              <Setter Property="IsChecked" Value="{Binding IsChecked}" />
              <Setter Property="IsEnabled" Value="{Binding IsEnabled}" />
            </Style>
          </telerikNavigation:RadContextMenu.ItemContainerStyle>
          
        </telerikNavigation:RadContextMenu>
      </telerikNavigation:RadContextMenu.ContextMenu>
    </ContentControl>

		
		<ControlTemplate.Triggers>
			<Trigger Property="IsMouseOver" Value="True">
				<Setter TargetName="wrapper" Property="Style" Value="{StaticResource Pane_DocumentHostTabStyle_MouseOver}" />
				<Setter Property="Canvas.ZIndex" Value="1" />
			</Trigger>
			<Trigger Property="IsSelected" Value="True">
				<Setter TargetName="wrapper" Property="Style" Value="{StaticResource Pane_DocumentHostTabStyle_Selected}" />
				<Setter Property="Canvas.ZIndex" Value="2" />
			</Trigger>
		</ControlTemplate.Triggers>
		

	</ControlTemplate>

	<Style TargetType="telerikDocking:RadPane" x:Key="{telerik:ThemeResourceKey ThemeType=
		telerik:Office_BlackTheme , ElementType={x:Type telerikDocking:RadPane}}"
		 >
		<Setter Property="Template" Value="{StaticResource DocumentHostTemplate}" />

		<Setter Property="DocumentHostTemplate" Value="{StaticResource DocumentHostTemplate}" />
		
		<Setter Property="LeftTemplate" Value="{StaticResource PaneTemplate_Left}" />
		<Setter Property="TopTemplate" Value="{StaticResource PaneTemplate_Top}" />
		<Setter Property="RightTemplate" Value="{StaticResource PaneTemplate_Right}" />
		<Setter Property="BottomTemplate" Value="{StaticResource PaneTemplate_Bottom}" />

		<Setter Property="BorderThickness" Value="1 1 1 1" />
		<Setter Property="BorderBrush" Value="{StaticResource Pane_OuterBorderBrush}" />
		<Setter Property="Background" Value="{StaticResource Pane_Background}" />
		<Setter Property="Padding" Value="3 1 3 1" />
		<Setter Property="Margin" Value="0" />
		<Setter Property="Foreground" Value="{StaticResource Pane_Foreground}" />
	</Style>
	
	
	<!-- PaneGroup -->
	

	<ControlTemplate x:Key="PaneGroup_PaneFrameTemplate" TargetType="ContentControl">
		<Border
			x:Name="Root"
			BorderBrush="{TemplateBinding BorderBrush}"
			Background="{TemplateBinding Background}"
			BorderThickness="{TemplateBinding BorderThickness}"
			CornerRadius="{StaticResource PaneGroup_PaneFrame_CornerRadius}">
			
			<ContentPresenter />
			
		</Border>
	</ControlTemplate>
	
	<ControlTemplate x:Key="PaneGroup_DocumentFrameTemplate" TargetType="ContentControl">
		<Border
			x:Name="Root"
			BorderBrush="{TemplateBinding BorderBrush}"
			Background="{TemplateBinding Background}"
			BorderThickness="{TemplateBinding BorderThickness}"
			CornerRadius="{StaticResource PaneGroup_DocumentFrameL4_CornerRadius}">

			<Border
				x:Name="BorderLayer3"
				BorderThickness="{StaticResource PaneGroup_DocumentFrameL3_Thickness}"
				BorderBrush="{StaticResource PaneGroup_DocumentFrameL3_Brush}"
				CornerRadius="{StaticResource PaneGroup_DocumentFrameL3_CornerRadius}">
			
				<Border
					x:Name="BorderLayer2"
					BorderThickness="{StaticResource PaneGroup_DocumentFrameL2_Thickness}"
					BorderBrush="{StaticResource PaneGroup_DocumentFrameL2_Brush}"
					CornerRadius="{StaticResource PaneGroup_DocumentFrameL2_CornerRadius}">
				
					<Border
						x:Name="BorderLayer1"
						BorderThickness="{StaticResource PaneGroup_DocumentFrameL1_Thickness}"
						BorderBrush="{StaticResource PaneGroup_DocumentFrameL1_Brush}"
						CornerRadius="{StaticResource PaneGroup_DocumentFrameL1_CornerRadius}">

						<ContentPresenter />

					</Border>
				</Border>
			</Border>
		</Border>
	</ControlTemplate>
	
	
	
	
	<Style x:Key="PaneGroup_DocumentFrameStyle" TargetType="ContentControl">
		<Setter Property="Template" Value="{StaticResource PaneGroup_DocumentFrameTemplate}" />
	</Style>
	
	<Style x:Key="PaneGroup_PaneFrameStyle" TargetType="ContentControl">
		<Setter Property="Template" Value="{StaticResource PaneGroup_PaneFrameTemplate}" />
	</Style>
	
	
	
	
	<ControlTemplate x:Key="PaneHeader_ButtonTemplate" TargetType="telerik:RadButton">
		<Border
			x:Name="Root"
			BorderThickness="{TemplateBinding BorderThickness}"
			BorderBrush="{TemplateBinding BorderBrush}"
			Background="{TemplateBinding Background}">
			
			<ContentPresenter x:Name="Content" />

			
		</Border>

		
		<ControlTemplate.Triggers>
			<Trigger Property="IsMouseOver" Value="True">
				<Setter TargetName="Root" Property="Background" Value="{StaticResource PaneHeader_ItemBackground_MouseOver}" />
				<Setter TargetName="Root" Property="BorderBrush" Value="{StaticResource PaneHeader_ItemBorderBrush_MouseOver}" />
			</Trigger>
			<Trigger Property="IsPressed" Value="True">
				<Setter TargetName="Root" Property="Background" Value="{StaticResource PaneHeader_ItemBackground_Pressed}" />
				<Setter TargetName="Root" Property="BorderBrush" Value="{StaticResource PaneHeader_ItemBorderBrush_Pressed}" />
			</Trigger>
			<Trigger Property="IsEnabled" Value="False">
				<Setter TargetName="Content" Property="Opacity" Value="0.5" />
			</Trigger>
		</ControlTemplate.Triggers>
		
	</ControlTemplate>

	<ControlTemplate x:Key="PaneHeader_ToggleButtonTemplate" TargetType="telerik:RadToggleButton">
		<Border
			x:Name="Root"
			BorderThickness="{TemplateBinding BorderThickness}"
			BorderBrush="{TemplateBinding BorderBrush}"
			Background="{TemplateBinding Background}">
			
			

			
			<ContentPresenter x:Name="Content" />
			

			
		</Border>

		
		<ControlTemplate.Triggers>
			<Trigger Property="IsMouseOver" Value="True">
				<Setter TargetName="Root" Property="Background" Value="{StaticResource PaneHeader_ItemBackground_MouseOver}" />
				<Setter TargetName="Root" Property="BorderBrush" Value="{StaticResource PaneHeader_ItemBorderBrush_MouseOver}" />
			</Trigger>
			<Trigger Property="IsPressed" Value="True">
				<Setter TargetName="Root" Property="Background" Value="{StaticResource PaneHeader_ItemBackground_Pressed}" />
				<Setter TargetName="Root" Property="BorderBrush" Value="{StaticResource PaneHeader_ItemBorderBrush_Pressed}" />
			</Trigger>
			<Trigger Property="IsChecked" Value="True">
				<Setter TargetName="Root" Property="Background" Value="{StaticResource PaneHeader_ItemBackground_Checked}" />
				<Setter TargetName="Root" Property="BorderBrush" Value="{StaticResource PaneHeader_ItemBorderBrush_Checked}" />
			</Trigger>
			<Trigger Property="IsEnabled" Value="False">
				<Setter TargetName="Content" Property="Opacity" Value="0.5" />
			</Trigger>
		</ControlTemplate.Triggers>
		
	</ControlTemplate>

	
	
	
	<Style x:Key="PaneHeader_ItemStyle" TargetType="Control">
		<Setter Property="Width" Value="17" />
		<Setter Property="Height" Value="17" />
		<Setter Property="Margin" Value="0" />
		<Setter Property="BorderBrush" Value="Transparent" />
		<Setter Property="Background" Value="Transparent" />
	</Style>
	
	<Style x:Key="PaneHeader_ButtonStyle" BasedOn="{StaticResource PaneHeader_ItemStyle}" TargetType="telerik:RadButton">
		<Setter Property="Template" Value="{StaticResource PaneHeader_ButtonTemplate}" />
	</Style>
	<Style x:Key="PaneHeader_ToggleButtonStyle" BasedOn="{StaticResource PaneHeader_ItemStyle}" TargetType="telerik:RadToggleButton">
		<Setter Property="Template" Value="{StaticResource PaneHeader_ToggleButtonTemplate}" />
	</Style>
	
	<Style x:Key="PaneHeader_ButtonIconStyle" TargetType="Path">
		<Setter Property="HorizontalAlignment" Value="Center" />
		<Setter Property="VerticalAlignment" Value="Center" />
		<Setter Property="Stretch" Value="None" />
		
		<Setter Property="SnapsToDevicePixels" Value="True" />
		
		
	</Style>
	
	<Style x:Key="PaneHeader_MenuButtonStyle" BasedOn="{StaticResource PaneHeader_ToggleButtonStyle}" TargetType="telerik:RadToggleButton">
		<Setter Property="ContentTemplate">
			<Setter.Value>
				<DataTemplate>
					<Path Style="{StaticResource PaneHeader_ButtonIconStyle}" Fill="Black" Data="M0,0 L7,0 L3.5,3.5 Z" />
				</DataTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style x:Key="PaneHeader_PinButtonStyle" BasedOn="{StaticResource PaneHeader_ButtonStyle}" TargetType="telerik:RadButton">
		<Setter Property="ContentTemplate">
			<Setter.Value>
				<DataTemplate>
					<Path Style="{StaticResource PaneHeader_ButtonIconStyle}" Stroke="Black" StrokeThickness="1" Data="M0,6.5 L7,6.5 M1.5,6.5 L1.5,1.5 L2.5,0.5 L4.5,0.5 L5.5,1.5 L5.5,6.5 M3.5,6.5 L3.5,10 M4.5,6.5 L4.5,0.5" />
				</DataTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style x:Key="PaneHeader_UnPinButtonStyle" BasedOn="{StaticResource PaneHeader_ButtonStyle}" TargetType="telerik:RadButton">
		<Setter Property="ContentTemplate">
			<Setter.Value>
				<DataTemplate>
					<Path Style="{StaticResource PaneHeader_ButtonIconStyle}" Stroke="Black" StrokeThickness="1" Data="M3.5,0 L3.5,7 M3.5,1.5 L8.5,1.5 L9.5,2.5 L9.5,4.5 L8.5,5.5 L3.5,5.5 M3.5,3.5 L0,3.5 M3.5,4.5 L9.5,4.5" />
				</DataTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style x:Key="PaneHeader_CloseButtonStyle" BasedOn="{StaticResource PaneHeader_ButtonStyle}" TargetType="telerik:RadButton">
		<Setter Property="ContentTemplate">
			<Setter.Value>
				<DataTemplate>
					<Path Style="{StaticResource PaneHeader_ButtonIconStyle}" Stroke="Black" Data="M0,0 L7,7 M7,0 L0,7" />
				</DataTemplate>
			</Setter.Value>
		</Setter>
	</Style>

	
	
	<!-- NOTE: Here we edit the header -->
	<ControlTemplate x:Key="PaneHeaderTemplate" TargetType="dock:PaneHeader">
		<Border
			x:Name="Root"
			Background="{TemplateBinding Background}"
			BorderThickness="{TemplateBinding BorderThickness}"
			BorderBrush="{TemplateBinding BorderBrush}">
			
			
			<Grid x:Name="Content">
				<Grid.ColumnDefinitions>
					<ColumnDefinition Width="*" />
					<ColumnDefinition Width="Auto" />
					<ColumnDefinition Width="Auto" />
					<ColumnDefinition Width="Auto" />
				</Grid.ColumnDefinitions>

        <telerikNavigation:RadContextMenu.ContextMenu>
          <telerikNavigation:RadContextMenu
            telerik:StyleManager.Theme="{StaticResource Theme}"
            
            ItemsSource="{Binding SelectedPane.MenuCommands, RelativeSource={RelativeSource TemplatedParent}}"
            ItemTemplate="{Binding SelectedPane.MenuItemTemplate, RelativeSource={RelativeSource TemplatedParent}}"
            ItemTemplateSelector="{Binding SelectedPane.MenuItemTemplateSelector, RelativeSource={RelativeSource TemplatedParent}}">
            
            <telerikNavigation:RadContextMenu.ItemContainerStyle>
              <Style TargetType="telerikNavigation:RadMenuItem">
                <Setter Property="IsCheckable" Value="False" />
                <Setter Property="IsChecked" Value="{Binding IsChecked}" />
                <Setter Property="IsEnabled" Value="{Binding IsEnabled}" />
              </Style>
            </telerikNavigation:RadContextMenu.ItemContainerStyle>
            
          </telerikNavigation:RadContextMenu>
        </telerikNavigation:RadContextMenu.ContextMenu>

				<!-- Header -->
        <ContentControl
					x:Name="TitleElement"
					Grid.Column="0"
					Margin="{TemplateBinding Padding}"
					Content="{Binding SelectedPane.Title, RelativeSource={RelativeSource TemplatedParent}}"
					ContentTemplate="{Binding SelectedPane.TitleTemplate, RelativeSource={RelativeSource TemplatedParent}}"
					HorizontalContentAlignment="Stretch" VerticalContentAlignment="Center" />

				<!-- Menu -->
				<!-- No menu
				<telerik:RadToggleButton
					x:Name="HeaderDropDownMenu"
					Grid.Column="1"
					IsChecked="{Binding IsOpen, ElementName=HeaderDropDownSubMenu, Mode=TwoWay}"
					Style="{StaticResource PaneHeader_MenuButtonStyle}">
					
					<telerikNavigation:RadContextMenu.ContextMenu>
						<telerikNavigation:RadContextMenu
							x:Name="HeaderDropDownSubMenu"
							telerik:StyleManager.Theme="{StaticResource Theme}"
							ItemsSource="{Binding SelectedPane.MenuCommands, RelativeSource={RelativeSource TemplatedParent}}"
							ItemTemplate="{Binding SelectedPane.MenuItemTemplate, RelativeSource={RelativeSource TemplatedParent}}"
							ItemTemplateSelector="{Binding SelectedPane.MenuItemTemplateSelector, RelativeSource={RelativeSource TemplatedParent}}"
							Placement="Bottom">
							
							<telerikNavigation:RadContextMenu.ItemContainerStyle>
								<Style TargetType="telerikNavigation:RadMenuItem">
									<Setter Property="IsCheckable" Value="False" />
									<Setter Property="IsChecked" Value="{Binding IsChecked}" />
									<Setter Property="IsEnabled" Value="{Binding IsEnabled}" />
								</Style>
							</telerikNavigation:RadContextMenu.ItemContainerStyle>
							
						</telerikNavigation:RadContextMenu>
					</telerikNavigation:RadContextMenu.ContextMenu>
				</telerik:RadToggleButton>
				-->
				
				<!-- Here should come the combobox -->
				<telerikInput:RadComboBox Grid.Column="1" SelectedIndex="0">
					<telerikInput:RadComboBoxItem Content="Item 1" />
					<telerikInput:RadComboBoxItem Content="Item 2" />
					<telerikInput:RadComboBoxItem Content="Item 3" />
					<telerikInput:RadComboBoxItem Content="Item 4" />
				</telerikInput:RadComboBox>
				
				<!-- One of these is your hide button -->
				<!-- Pin -->
				<telerik:RadButton
					x:Name="HeaderPinButton"
					Grid.Column="2"
					Visibility="{Binding SelectedPane.PinButtonVisibility, RelativeSource={RelativeSource TemplatedParent}}"
					Command="telerikDocking:RadDockingCommands.Pin"
					Style="{StaticResource PaneHeader_PinButtonStyle}">
					
				</telerik:RadButton>

				<!-- Close -->
				<telerik:RadButton
					x:Name="HeaderCloseButton"
					Grid.Column="3"
					Command="telerikDocking:RadDockingCommands.Close"
					Style="{StaticResource PaneHeader_CloseButtonStyle}">
					
				</telerik:RadButton>
			</Grid>

			
		</Border>

		
		<ControlTemplate.Triggers>
			<DataTrigger Binding="{Binding SelectedPane.IsPinned, RelativeSource={RelativeSource TemplatedParent}}" Value="False">
				<Setter TargetName="HeaderPinButton" Property="Style" Value="{StaticResource PaneHeader_UnPinButtonStyle}" />
			</DataTrigger>
			<!-- I have hidden the menu button so we no longer can use this -->
			<!--<DataTrigger Binding="{Binding SelectedPane.MenuCommands.Count, RelativeSource={RelativeSource TemplatedParent}}" Value="0">
				<Setter TargetName="HeaderDropDownMenu" Property="Visibility" Value="Collapsed" />
			</DataTrigger>-->
		</ControlTemplate.Triggers>
		
	</ControlTemplate>

	<!--PaneHeader Style-->
	
	<!-- NOTE: Here we set the pane header globally. The key is removed so the key is generated from the Style's TargetType and the style is applied to all headers -->
	<!--x:Key="{telerik:ThemeResourceKey ThemeType=
		telerik:Office_BlackTheme , ElementType={x:Type dock:PaneHeader}}"-->
	<Style TargetType="dock:PaneHeader">
		<Setter Property="Template" Value="{StaticResource PaneHeaderTemplate}" />
		<Setter Property="BorderThickness" Value="{StaticResource PaneHeader_BorderThickness}" />
		<Setter Property="BorderBrush" Value="{StaticResource PaneHeader_BorderBrush}" />
		<Setter Property="Background" Value="{StaticResource PaneHeader_Background}" />
		<Setter Property="Padding" Value="3 0" />
	</Style>
	
	
	<!--PaneGroup BottomTemplate-->
    <ControlTemplate x:Key="PaneGroupBottomTemplate" TargetType="telerikDocking:RadPaneGroup">
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="*" MinHeight="20" />
                <RowDefinition Height="auto" />
            </Grid.RowDefinitions>

            <!--Content-->
            <ContentControl
				x:Name="ContentBackground"
				BorderBrush="{TemplateBinding BorderBrush}"
				BorderThickness="{TemplateBinding BorderThickness}"
				Background="{TemplateBinding Background}"
				Style="{StaticResource PaneGroup_PaneFrameStyle}">			
                <Grid>
                    <Grid.RowDefinitions>
                        <RowDefinition Height="Auto" />
                        <RowDefinition Height="*" />
                    </Grid.RowDefinitions>
                    <!--Header-->
                    <dock:PaneHeader                      
						x:Name="HeaderElement"
            telerik:StyleManager.Theme="{StaticResource Theme}"
						Grid.Row="0"
						MinHeight="16"
						SelectedPane="{TemplateBinding SelectedPane}">
                    </dock:PaneHeader>
					<ContentPresenter
						x:Name="ContentElement"
						Grid.Row="1"
						Content="{TemplateBinding SelectedContent}"
						ContentTemplate="{TemplateBinding SelectedContentTemplate}">
					</ContentPresenter>
				</Grid>
            </ContentControl>

            <!--Items-->
			<Border x:Name="ItemsContainer" Grid.Row="1" Margin="0 -5 0 0" Padding="0 0 1 0">
				<ItemsPresenter x:Name="ItemsPresenterElement" />
			</Border>
				

			<dock:RadGridResizer
				x:Name="DockResizer"
				Grid.RowSpan="2"
				Placement="Left"
				ShowsPreview="True"
				Visibility="Collapsed"
				VerticalAlignment="Stretch" HorizontalAlignment="Left" />

			
		</Grid>

        
        <ControlTemplate.Triggers>
            <Trigger Property="SplitterPosition">
                <Trigger.Value>
                    <system:Dock>Left</system:Dock>
                </Trigger.Value>
                <Setter TargetName="DockResizer" Property="Visibility" Value="Visible" />
                <Setter TargetName="DockResizer" Property="Cursor" Value="SizeWE" />
                <Setter TargetName="DockResizer" Property="Width" Value="4" />

				<Setter TargetName="ContentBackground" Property="Margin" Value="4 0 0 0" />
				<Setter TargetName="ItemsContainer" Property="Margin" Value="4 -5 0 0" />
			</Trigger>
            <Trigger Property="SplitterPosition">
                <Trigger.Value>
                    <system:Dock>Top</system:Dock>
                </Trigger.Value>
                <Setter TargetName="DockResizer" Property="Visibility" Value="Visible" />
                <Setter TargetName="DockResizer" Property="VerticalAlignment" Value="Top" />
                <Setter TargetName="DockResizer" Property="HorizontalAlignment" Value="Stretch" />
                <Setter TargetName="DockResizer" Property="Cursor" Value="SizeNS" />
                <Setter TargetName="DockResizer" Property="Height" Value="4" />
                <Setter TargetName="DockResizer" Property="system:Grid.RowSpan" Value="1" />
                <Setter TargetName="DockResizer" Property="system:Grid.Row" Value="0" />
                <Setter TargetName="DockResizer" Property="Margin" Value="2 -5 0 0" />
				<Setter TargetName="DockResizer" Property="Placement">
                    <Setter.Value>
                        <system:Dock>Top</system:Dock>
                    </Setter.Value>
                </Setter>
				
				<Setter TargetName="ContentBackground" Property="Margin" Value="0 4 0 0" />
            </Trigger>
            <Trigger Property="SplitterPosition">
                <Trigger.Value>
                    <system:Dock>Right</system:Dock>
                </Trigger.Value>
                <Setter TargetName="DockResizer" Property="Visibility" Value="Visible" />
                <Setter TargetName="DockResizer" Property="VerticalAlignment" Value="Top" />
                <Setter TargetName="DockResizer" Property="HorizontalAlignment" Value="Stretch" />
                <Setter TargetName="DockResizer" Property="Cursor" Value="SizeNS" />
                <Setter TargetName="DockResizer" Property="Height" Value="4" />
                <Setter TargetName="DockResizer" Property="system:Grid.RowSpan" Value="1" />
                <Setter TargetName="DockResizer" Property="system:Grid.Row" Value="0" />
                <Setter TargetName="DockResizer" Property="Margin" Value="2 -5 0 0" />
                <Setter TargetName="DockResizer" Property="Placement">
                    <Setter.Value>
                        <system:Dock>Top</system:Dock>
                    </Setter.Value>
                </Setter>
            </Trigger>
            <Trigger Property="SplitterPosition">
                <Trigger.Value>
                    <system:Dock>Bottom</system:Dock>
                </Trigger.Value>
                <Setter TargetName="DockResizer" Property="Visibility" Value="Visible" />
                <Setter TargetName="DockResizer" Property="VerticalAlignment" Value="Top" />
                <Setter TargetName="DockResizer" Property="HorizontalAlignment" Value="Stretch" />
                <Setter TargetName="DockResizer" Property="Cursor" Value="SizeNS" />
                <Setter TargetName="DockResizer" Property="Height" Value="4" />
                <Setter TargetName="DockResizer" Property="system:Grid.RowSpan" Value="1" />
                <Setter TargetName="DockResizer" Property="system:Grid.Row" Value="0" />
                <Setter TargetName="DockResizer" Property="Margin" Value="2 -5 0 0" />
                <Setter TargetName="DockResizer" Property="Placement">
                    <Setter.Value>
                        <system:Dock>Top</system:Dock>
                    </Setter.Value>
                </Setter>
            </Trigger>
            <Trigger Property="IsSingleItem" Value="True">
                <Setter TargetName="ItemsContainer" Property="Visibility" Value="Collapsed" />
            </Trigger>
            <Trigger Property="IsFocused" Value="True">
                <Setter TargetName="HeaderElement" Property="Background"
                        Value="{StaticResource PaneHeader_Background_Focused}" />
            </Trigger>
			<Trigger Property="IsEnabled" Value="False" />
		</ControlTemplate.Triggers>
        
    </ControlTemplate>

    <ControlTemplate x:Key="PaneGroupDocumentTemplate" TargetType="telerikDocking:RadPaneGroup">
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="auto" />
                <RowDefinition Height="*" />
            </Grid.RowDefinitions>

            <!--TabStrip-->
            <Grid Grid.Row="0" x:Name="Header">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="*" />
                    <ColumnDefinition Width="Auto" />
                </Grid.ColumnDefinitions>

                <ItemsPresenter x:Name="ItemsPresenterElement" Grid.Column="0" Margin="0 0 1 0"/>

				<telerik:RadButton
					x:Name="CloseButton" 
					Grid.Column="1"
					Style="{StaticResource PaneHeader_CloseButtonStyle}" 
					Command="telerikDocking:RadDockingCommands.Close">
					
				</telerik:RadButton>
            </Grid>

            <!--Content-->
			<ContentControl
				x:Name="ContentBackground"
				Grid.Row="1"
				BorderBrush="{TemplateBinding BorderBrush}"
				BorderThickness="{TemplateBinding BorderThickness}"
				Background="{TemplateBinding Background}"
				Style="{StaticResource PaneGroup_DocumentFrameStyle}">

                <ContentPresenter x:Name="ContentElement"
                        Content="{TemplateBinding SelectedContent}"
                        ContentTemplate="{TemplateBinding SelectedContentTemplate}" />
            </ContentControl>

            <dock:RadGridResizer
				x:Name="DockResizer"
				Placement="Left"
				ShowsPreview="True"
				Visibility="Collapsed"
				VerticalAlignment="Stretch" HorizontalAlignment="Left"
				Grid.RowSpan="2" />

			
		</Grid>

        
        <ControlTemplate.Triggers>
            <Trigger Property="SplitterPosition">
                <Trigger.Value>
                    <system:Dock>Left</system:Dock>
                </Trigger.Value>
                <Setter TargetName="DockResizer" Property="Visibility" Value="Visible" />
                <Setter TargetName="DockResizer" Property="Cursor" Value="SizeWE" />
                <Setter TargetName="DockResizer" Property="Width" Value="4" />
                <Setter TargetName="ItemsPresenterElement" Property="Margin" Value="0" />

				<Setter TargetName="ContentBackground" Property="Margin" Value="4 0 0 0" />
				<Setter TargetName="ItemsPresenterElement" Property="Margin" Value="4 0 0 0" />
			</Trigger>
            <Trigger Property="SplitterPosition">
                <Trigger.Value>
                    <system:Dock>Top</system:Dock>
                </Trigger.Value>
                <Setter TargetName="DockResizer" Property="Visibility" Value="Visible" />
                <Setter TargetName="DockResizer" Property="VerticalAlignment" Value="Top" />
                <Setter TargetName="DockResizer" Property="HorizontalAlignment" Value="Stretch" />
                <Setter TargetName="DockResizer" Property="Cursor" Value="SizeNS" />
                <Setter TargetName="DockResizer" Property="Height" Value="4" />
                <Setter TargetName="DockResizer" Property="system:Grid.RowSpan" Value="1" />
                <Setter TargetName="DockResizer" Property="system:Grid.Row" Value="0" />
                <Setter TargetName="DockResizer" Property="Margin" Value="2 0 0 0" />
                <Setter TargetName="DockResizer" Property="Placement">
                    <Setter.Value>
                        <system:Dock>Top</system:Dock>
                    </Setter.Value>
                </Setter>
				
				<Setter TargetName="Header" Property="Margin" Value="0 4 0 0" />
            </Trigger>
            <Trigger Property="SplitterPosition">
                <Trigger.Value>
                    <system:Dock>Right</system:Dock>
                </Trigger.Value>
                <Setter TargetName="DockResizer" Property="Visibility" Value="Visible" />
                <Setter TargetName="DockResizer" Property="VerticalAlignment" Value="Top" />
                <Setter TargetName="DockResizer" Property="HorizontalAlignment" Value="Stretch" />
                <Setter TargetName="DockResizer" Property="Height" Value="4" />
                <Setter TargetName="DockResizer" Property="Cursor" Value="SizeNS" />
                <Setter TargetName="DockResizer" Property="system:Grid.RowSpan" Value="1" />
                <Setter TargetName="DockResizer" Property="system:Grid.Row" Value="0" />
                <Setter TargetName="DockResizer" Property="Margin" Value="2 4 0 0" />
                <Setter TargetName="DockResizer" Property="Placement">
                    <Setter.Value>
                        <system:Dock>Top</system:Dock>
                    </Setter.Value>
                </Setter>
            </Trigger>
            <Trigger Property="SplitterPosition">
                <Trigger.Value>
                    <system:Dock>Bottom</system:Dock>
                </Trigger.Value>
                <Setter TargetName="DockResizer" Property="Visibility" Value="Visible" />
                <Setter TargetName="DockResizer" Property="VerticalAlignment" Value="Top" />
                <Setter TargetName="DockResizer" Property="HorizontalAlignment" Value="Stretch" />
                <Setter TargetName="DockResizer" Property="Cursor" Value="SizeNS" />
                <Setter TargetName="DockResizer" Property="Height" Value="4" />
                <Setter TargetName="DockResizer" Property="system:Grid.RowSpan" Value="1" />
                <Setter TargetName="DockResizer" Property="system:Grid.Row" Value="0" />
                <Setter TargetName="DockResizer" Property="Margin" Value="2 4 0 0" />
                <Setter TargetName="DockResizer" Property="Placement">
                    <Setter.Value>
                        <system:Dock>Top</system:Dock>
                    </Setter.Value>
                </Setter>
            </Trigger>
        </ControlTemplate.Triggers>
        
        
    </ControlTemplate>

    <!--PaneGroup Style-->
    <Style TargetType="telerikDocking:RadPaneGroup"
         x:Key="{telerik:ThemeResourceKey ThemeType=
        telerik:Office_BlackTheme , ElementType={x:Type telerikDocking:RadPaneGroup}}"
         >
        <Setter Property="Template" Value="{StaticResource PaneGroupBottomTemplate}" />
        <Setter Property="BottomTemplate" Value="{StaticResource PaneGroupBottomTemplate}" />
        <Setter Property="TopTemplate" Value="{StaticResource PaneGroupDocumentTemplate}" />
        <Setter Property="DocumentHostTemplate" Value="{StaticResource PaneGroupDocumentTemplate}" />
        <Setter Property="LeftTemplate" Value="{StaticResource PaneGroupBottomTemplate}" />
        <Setter Property="RightTemplate" Value="{StaticResource PaneGroupBottomTemplate}" />
        <Setter Property="ItemsPanel">
            <Setter.Value>
                <ItemsPanelTemplate>
                    <telerikNavigationPrimitives:TabStripPanel />
                </ItemsPanelTemplate>
            </Setter.Value>
        </Setter>
		
		<Setter Property="BorderThickness" Value="{StaticResource PaneGroup_BorderThickness}" />
        <Setter Property="BorderBrush" Value="{StaticResource PaneGroup_BorderBrush}" />
        <Setter Property="Background" Value="{StaticResource PaneGroup_Background}" />
		
		<Setter Property="HorizontalAlignment" Value="Stretch" />
		<Setter Property="VerticalAlignment" Value="Stretch" />
		
        <Setter Property="Align" Value="Left" />
        <Setter Property="TabStripPlacement" Value="Bottom" />
        <Setter Property="AllTabsEqualHeight" Value="True" />
        <Setter Property="BackgroundVisibility" Value="Visible" />
        <Setter Property="MinWidth" Value="15" />
        <Setter Property="MinHeight" Value="15" />
    </Style>
    
	
	<!-- RadTabControl TopTemplate-->
	<ControlTemplate x:Key="AutoHideAreaTopTemplate" TargetType="dock:AutoHideArea">
		<Grid>
			<Grid.RowDefinitions>
				<RowDefinition Height="auto" />
				<RowDefinition Height="*" />
			</Grid.RowDefinitions>

			<!--TabStrip-->
			<ItemsPresenter x:Name="ItemsPresenterElement" Grid.Row="0"/>

			<!--Content-->
			<Popup
				x:Name="ContentPopup"
				IsOpen="False"
				Grid.Row="1"
				
				AllowsTransparency="True"
				 >

				<Grid>
					<Grid x:Name="PopupChild" MinWidth="50" MinHeight="50">
						<Grid.RowDefinitions>
							<RowDefinition Height="*" />
							<RowDefinition Height="Auto" />
						</Grid.RowDefinitions>

						<!--Content-->
						<ContentControl
							x:Name="ContentBackground"
							Grid.Row="0"
							BorderBrush="{TemplateBinding BorderBrush}"
							BorderThickness="{TemplateBinding BorderThickness}"
							Background="{TemplateBinding Background}"
							Style="{StaticResource PaneGroup_PaneFrameStyle}">

							<Grid>
								<Grid.RowDefinitions>
									<RowDefinition Height="Auto" />
									<RowDefinition Height="*" />
								</Grid.RowDefinitions>

								<dock:PaneHeader
									x:Name="HeaderElement"
									Grid.Row="0"
									MinHeight="16"
									SelectedPane="{TemplateBinding SelectedPane}"
									telerik:StyleManager.Theme="{StaticResource Theme}">
								</dock:PaneHeader>
								<ContentPresenter
									x:Name="ContentElement"
									Grid.Row="1"
									Content="{TemplateBinding SelectedContent}"
									ContentTemplate="{TemplateBinding SelectedContentTemplate}">
								</ContentPresenter>
							</Grid>
						</ContentControl>

						<!--Resizer-->
						<dock:RadGridResizer
							x:Name="Resizer"
							Placement="Bottom"
							Grid.Row="1"
							Height="4"
							HorizontalAlignment="Stretch" VerticalAlignment="Bottom"
							Cursor="SizeNS" />
					</Grid>
				</Grid>
			</Popup>

		</Grid>
	</ControlTemplate>

	<!-- RadTabControl Bottom Template-->
	<ControlTemplate x:Key="AutoHideAreaBottomTemplate" TargetType="dock:AutoHideArea">
		<Grid>
			<Grid.RowDefinitions>
				<RowDefinition Height="*" />
				<RowDefinition Height="auto" />
			</Grid.RowDefinitions>

			<!--TabStrip-->
			<ItemsPresenter x:Name="ItemsPresenterElement" Grid.Row="1"/>

			<!--Content-->
			<Popup x:Name="ContentPopup" IsOpen="False" 			   
				
				AllowsTransparency="True"
				Placement="Top"
				 >
				<Grid>
					<Grid x:Name="PopupChild" MinWidth="50" MinHeight="50">
						<Grid.RowDefinitions>
							<RowDefinition Height="Auto" />
							<RowDefinition Height="*" />
						</Grid.RowDefinitions>
						
						<!--Resizer-->
						<dock:RadGridResizer
							x:Name="Resizer"
							Grid.Row="0"
							Placement="Top"
							HorizontalAlignment="Stretch" VerticalAlignment="Top"
							Height="4"
							Cursor="SizeNS" />
						
						<!--Content-->
						<ContentControl
							x:Name="ContentBackground"
							Grid.Row="1"
							BorderBrush="{TemplateBinding BorderBrush}"
							BorderThickness="{TemplateBinding BorderThickness}"
							Background="{TemplateBinding Background}"
							Style="{StaticResource PaneGroup_PaneFrameStyle}">

							<Grid>
								<Grid.RowDefinitions>
									<RowDefinition Height="Auto" />
									<RowDefinition Height="*" />
								</Grid.RowDefinitions>

								<dock:PaneHeader
									x:Name="HeaderElement"
									Grid.Row="0"
									MinHeight="16"
									SelectedPane="{TemplateBinding SelectedPane}"
									telerik:StyleManager.Theme="{StaticResource Theme}">
								</dock:PaneHeader>
								<ContentPresenter
									x:Name="ContentElement"
									Grid.Row="1"
									Content="{TemplateBinding SelectedContent}"
									ContentTemplate="{TemplateBinding SelectedContentTemplate}">
								</ContentPresenter>
							</Grid>
						</ContentControl>
					</Grid>
				</Grid>
			</Popup>	
		</Grid>
	</ControlTemplate>

	<!-- RadTabControl LeftTemplate-->
	<ControlTemplate x:Key="AutoHideAreaLeftTemplate" TargetType="dock:AutoHideArea">
		<Grid>
			<Grid.ColumnDefinitions>
				<ColumnDefinition Width="Auto" />
				<ColumnDefinition Width="*" />
			</Grid.ColumnDefinitions>

			<!--TabStrip-->
			<ItemsPresenter x:Name="ItemsPresenterElement" />

			<!--Content-->
			
			<Popup IsOpen="False" x:Name="ContentPopup" Grid.Column="1"
				
				AllowsTransparency="True"
				Placement="Right"
				 >
				<Grid>
					<Grid x:Name="PopupChild" MinWidth="50" MinHeight="50">
						<Grid.ColumnDefinitions>
							<ColumnDefinition Width="*" />
							<ColumnDefinition Width="Auto" />
						</Grid.ColumnDefinitions>
						<!--Content-->
						<ContentControl
							x:Name="ContentBackground"
							Grid.Column="0"
							BorderBrush="{TemplateBinding BorderBrush}"
							BorderThickness="{TemplateBinding BorderThickness}"
							Background="{TemplateBinding Background}"
							Style="{StaticResource PaneGroup_PaneFrameStyle}">

							<Grid>
								<Grid.RowDefinitions>
									<RowDefinition Height="Auto" />
									<RowDefinition Height="*" />
								</Grid.RowDefinitions>

								<dock:PaneHeader
									x:Name="HeaderElement"
									Grid.Row="0"
									MinHeight="16"
									SelectedPane="{TemplateBinding SelectedPane}"
									telerik:StyleManager.Theme="{StaticResource Theme}">
								</dock:PaneHeader>
								<ContentPresenter
									x:Name="ContentElement"
									Grid.Row="1"
									Content="{TemplateBinding SelectedContent}"
									ContentTemplate="{TemplateBinding SelectedContentTemplate}">
								</ContentPresenter>
							</Grid>
						</ContentControl>
						<!--Resizer-->
						<dock:RadGridResizer
							x:Name="Resizer"
							Grid.Column="1"
							Placement="Right"
							HorizontalAlignment="Right" VerticalAlignment="Stretch"
							Width="4"  
							Cursor="SizeWE" />
					</Grid>
				</Grid>
			</Popup>
			
		</Grid>
	</ControlTemplate>

	<!-- RadTabControl RightTemplate-->
	<ControlTemplate x:Key="AutoHideAreaRightTemplate" TargetType="dock:AutoHideArea">
		<Grid>
			<Grid.ColumnDefinitions>
				<ColumnDefinition Width="*" />
				<ColumnDefinition Width="Auto" />
			</Grid.ColumnDefinitions>

			<!--TabStrip-->
			<ItemsPresenter x:Name="ItemsPresenterElement" Grid.Column="1"/>

			<!--Content-->

			<Popup IsOpen="False" x:Name="ContentPopup"			   
				
				AllowsTransparency="True"
				Placement="Left"
				 >
				<Grid>
					<Grid x:Name="PopupChild" MinWidth="50" MinHeight="50">
						<Grid.ColumnDefinitions>
							<ColumnDefinition Width="Auto" />
							<ColumnDefinition Width="*" />
						</Grid.ColumnDefinitions>
						
						<!--Content-->
						<ContentControl
							x:Name="ContentBackground"
							Grid.Column="1"
							BorderBrush="{TemplateBinding BorderBrush}"
							BorderThickness="{TemplateBinding BorderThickness}"
							Background="{TemplateBinding Background}"
							Style="{StaticResource PaneGroup_PaneFrameStyle}">

							<Grid>
								<Grid.RowDefinitions>
									<RowDefinition Height="Auto" />
									<RowDefinition Height="*" />
								</Grid.RowDefinitions>

								<dock:PaneHeader
									x:Name="HeaderElement"
									Grid.Row="0"
									MinHeight="16"
									SelectedPane="{TemplateBinding SelectedPane}"
									telerik:StyleManager.Theme="{StaticResource Theme}">
								</dock:PaneHeader>
								<ContentPresenter
									x:Name="ContentElement"
									Grid.Row="1"
									Content="{TemplateBinding SelectedContent}"
									ContentTemplate="{TemplateBinding SelectedContentTemplate}">
								</ContentPresenter>
							</Grid>
						</ContentControl>
						<dock:RadGridResizer
							x:Name="Resizer"
							Grid.Column="0"
							Placement="Left"
							HorizontalAlignment="Left" VerticalAlignment="Stretch"
							Width="4"
							Cursor="SizeWE" />
					</Grid>
				</Grid>
			</Popup>

		</Grid>

	</ControlTemplate>

	<!--AutoHideArea Style-->
	<!-- RadTabControl -->
	<Style TargetType="dock:AutoHideArea" x:Key="{telerik:ThemeResourceKey ThemeType=
		telerik:Office_BlackTheme , ElementType={x:Type dock:AutoHideArea}}"
		 >
		
		<Setter Property="HorizontalContentAlignment" Value="Center" />
		<Setter Property="VerticalContentAlignment" Value="Center" />
		<Setter Property="IsEnabled" Value="True" />
		<Setter Property="IsTabStop" Value="True" />

		<Setter Property="BorderThickness" Value="{StaticResource PaneGroup_BorderThickness}" />
		<Setter Property="BorderBrush" Value="{StaticResource PaneGroup_BorderBrush}" />
		<Setter Property="Background" Value="{StaticResource PaneGroup_Background}" />

		<Setter Property="ItemsPanel">
			<Setter.Value>
				<ItemsPanelTemplate>
					<telerikNavigationPrimitives:TabStripPanel x:Name="TabStripPanel" />
				</ItemsPanelTemplate>
			</Setter.Value>
		</Setter>
		<Setter Property="ReorderTabRows" Value="False" />
		
		<Setter Property="Template" Value="{StaticResource AutoHideAreaTopTemplate}" />
		<Setter Property="TopTemplate" Value="{StaticResource AutoHideAreaTopTemplate}" />
		<Setter Property="BottomTemplate" Value="{StaticResource AutoHideAreaBottomTemplate}" />
		<Setter Property="RightTemplate" Value="{StaticResource AutoHideAreaRightTemplate}" />
		<Setter Property="LeftTemplate" Value="{StaticResource AutoHideAreaLeftTemplate}" />
	</Style>
	
	
	<!-- ToolWindow -->
	

	<Style
		x:Key="ToolWindow_CloseButtonStyle" TargetType="telerik:RadButton"
		>
		
		<Setter Property="Margin" Value="1 1 3 1" />
		<Setter Property="Width" Value="19" />
		<Setter Property="Height" Value="17" />
		<Setter Property="ContentTemplate">
			<Setter.Value>
				<DataTemplate>
					<Path
						Stretch="None"
						StrokeThickness="0.7"
						HorizontalAlignment="Center" VerticalAlignment="Center"
						Margin="2 0"
						Fill="{StaticResource ToolWindow_CloseButtonIconFill}"
						Stroke="{StaticResource ToolWindow_CloseButtonIconStroke}"
						Data="M0.5,1.5 L1.5,0.5 3.5,0.5 5.5,2.5 7.5,0.5 9.5,0.5 10.5,1.5 7.5,4.5 7.5,5.5 10.5,8.5 9.5,9.5 7.5,9.5 5.5,7.5 3.5,9.5 1.5,9.5 0.5,8.5 3.5,5.5 3.5,4.5 z"
						
						SnapsToDevicePixels="True"
						
						>
					</Path>
				</DataTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	<Style x:Key="ToolWindow_BorderStyle" TargetType="ContentControl">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="ContentControl">
					<Border
						CornerRadius="4"
						BorderThickness="1"
						BorderBrush="{StaticResource ToolWindow_BorderBrush}"
						Background="{StaticResource ToolWindow_Background}">
						
						<Border CornerRadius="3" BorderThickness="1" BorderBrush="#FFFFFFFF">
							<ContentPresenter />
						</Border>
					</Border>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	
	<Style x:Key="ToolWindow_HeaderStyle" TargetType="ContentControl">
		<Setter Property="Margin" Value="3 0" />
	</Style>
	
	<Style x:Key="ToolWindow_ContentStyle" TargetType="ContentControl">
		<Setter Property="Margin" Value="3 0 3 3" />
		<Setter Property="Background" Value="Red" />
		<Setter Property="HorizontalAlignment" Value="Stretch" />
		<Setter Property="VerticalAlignment" Value="Stretch" />
	</Style>
		
	
	
	<!--ToolWindow Style-->
	<Style TargetType="dock:ToolWindow"
		x:Key="{telerik:ThemeResourceKey ThemeType=telerik:Office_BlackTheme ,
		ElementType={x:Type dock:ToolWindow}}">
		
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="dock:ToolWindow">
					<ContentControl x:Name="VisualRoot" Style="{StaticResource ToolWindow_BorderStyle}">
						<ContentControl.RenderTransform>
							<TranslateTransform x:Name="DragTransform" />
						</ContentControl.RenderTransform>
						
						<Grid RenderTransformOrigin="0.5 0.5">
							<Grid.RowDefinitions>
								<RowDefinition Height="Auto" />
								<RowDefinition Height="*" />
							</Grid.RowDefinitions>
							<Grid.ColumnDefinitions>
								<ColumnDefinition Width="*" />
								<ColumnDefinition Width="Auto" />
							</Grid.ColumnDefinitions>

							<Border
								x:Name="HeaderElement"
								Grid.Row="0" Grid.Column="0"
								Background="Transparent">
								<ContentControl
									x:Name="Header"
									Style="{StaticResource ToolWindow_HeaderStyle}"
									Content="{TemplateBinding Header}"
									ContentTemplate="{TemplateBinding HeaderTemplate}" />
							</Border>

							<telerik:RadButton
								x:Name="CloseButton"
								Grid.Row="0" Grid.Column="1"
								Style="{StaticResource ToolWindow_CloseButtonStyle}"
								Command="telerik:WindowCommands.Close"
								
								telerik:StyleManager.Theme="{StaticResource Theme}"
								>
							</telerik:RadButton>
							
							<ContentControl
								x:Name="Content"
								Grid.Row="1" Grid.ColumnSpan="2"
								Content="{TemplateBinding Content}"
								HorizontalContentAlignment="Stretch"
								VerticalContentAlignment="Stretch"
								Style="{StaticResource ToolWindow_ContentStyle}"/>
							
						</Grid>
					</ContentControl>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
		<Setter Property="MinHeight" Value="24" />
		<Setter Property="MinWidth" Value="85" />
		<Setter Property="IsTabStop" Value="False" />
	</Style>


	
</ResourceDictionary>