<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
					xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                     
    
    
xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls"
    xmlns:telerikPrimitives="clr-namespace:Telerik.Windows.Controls.Primitives;assembly=Telerik.Windows.Controls"    
    xmlns:dragDrop="clr-namespace:Telerik.Windows.Controls.DragDrop;assembly=Telerik.Windows.Controls"
    xmlns:animation="clr-namespace:Telerik.Windows.Controls.Animation;assembly=Telerik.Windows.Controls"
    xmlns:telerikChromes="clr-namespace:Telerik.Windows.Controls.Chromes;assembly=Telerik.Windows.Controls"
    xmlns:sys="clr-namespace:System;assembly=mscorlib"
	xmlns:telerikTransitions="clr-namespace:Telerik.Windows.Controls.TransitionEffects;assembly=Telerik.Windows.Controls"
    xmlns:telerikTransitonControl="clr-namespace:Telerik.Windows.Controls.TransitionControl;assembly=Telerik.Windows.Controls"
    xmlns:telerikQuickStart="clr-namespace:Telerik.Windows.Controls.QuickStart;assembly=Telerik.Windows.Controls"
	xmlns:filteringEditors="clr-namespace:Telerik.Windows.Controls.Filtering.Editors;assembly=Telerik.Windows.Controls"
    
>

	<SolidColorBrush x:Key="CheckBoxOuterBackground_Normal" Color="#CCFFFFFF" />
<SolidColorBrush x:Key="CheckBoxOuterBorder_Normal" Color="#7F000000" />
<SolidColorBrush x:Key="CheckBoxOuterBorder_Focused" Color="#7F000000" />
<SolidColorBrush x:Key="CheckBoxOuterBackground_Focused" Color="Transparent" />
<SolidColorBrush x:Key="CheckBoxInnerBorder_Normal" Color="#7F000000" />
<LinearGradientBrush x:Key="CheckBoxInnerBackground_Normal" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#33000000" Offset="0"/>
        <GradientStop Color="#CCFFFFFF" Offset="1"/>
        <GradientStop Color="#66FFFFFF" Offset="0.59"/>
    </LinearGradientBrush>
<SolidColorBrush x:Key="RadioButtonTickStroke_Normal" Color="#FFFFFFFF" />
<RadialGradientBrush x:Key="RadioButtonTickFill_Normal" GradientOrigin="0.323,0.315">
        <GradientStop Color="#FFFFFFFF" Offset="0"/>
        <GradientStop Color="#FF000000" Offset="1"/>
    </RadialGradientBrush>
<SolidColorBrush x:Key="RadioButtonTickStrokeIndetermined_Normal" Color="#66FFFFFF" />
<SolidColorBrush x:Key="RadioButtonTickFillIndetermined_Normal" Color="#FF282828" />
<SolidColorBrush x:Key="CheckBoxOuterBorder_MouseOver" Color="#66FFFFFF" />
<SolidColorBrush x:Key="CheckBoxInnerBorder_MouseOver" Color="#7F000000" />
<LinearGradientBrush x:Key="CheckBoxInnerBackground_MouseOver" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#33000000" Offset="0"/>
        <GradientStop Color="#CCFFFFFF" Offset="1"/>
        <GradientStop Color="#66FFFFFF" Offset="0.59"/>       
    </LinearGradientBrush>
<SolidColorBrush x:Key="RadioButtonTickStroke_MouseOver" Color="#FFFFFFFF" />
<RadialGradientBrush x:Key="RadioButtonTickFill_MouseOver" GradientOrigin="0.323,0.315">
        <GradientStop Color="#FFFFFFFF" Offset="0"/>
        <GradientStop Color="#FF000000" Offset="1"/>
    </RadialGradientBrush>
<LinearGradientBrush x:Key="CheckBoxIntermediateBorder_Pressed" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#66000000" Offset="0"/>
        <GradientStop Color="#B2FFFFFF" Offset="1"/>
    </LinearGradientBrush>
<SolidColorBrush x:Key="CheckBoxOuterBorder_Pressed" Color="#7F000000" />
<LinearGradientBrush x:Key="CheckBoxInnerBorder_Pressed" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#B2000000" Offset="0"/>
        <GradientStop Color="#7F000000" Offset="1"/>
    </LinearGradientBrush>
<LinearGradientBrush x:Key="CheckBoxInnerBackground_Pressed" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#4CFFFFFF" Offset="1"/>
        <GradientStop Color="#33000000" Offset="0.59"/>
        <GradientStop Color="#99000000"/>
    </LinearGradientBrush>
<SolidColorBrush x:Key="RadioButtonTickStroke_Pressed" Color="#FFFFFFFF" />
<RadialGradientBrush x:Key="RadioButtonTickFill_Pressed" GradientOrigin="0.323,0.315">       
        <GradientStop Color="#FFFFFFFF" Offset="0"/>
        <GradientStop Color="#FF000000" Offset="1"/>
    </RadialGradientBrush>
<SolidColorBrush x:Key="CheckBoxIntermediateBorder_Disabled" Color="#19000000" />
<SolidColorBrush x:Key="CheckBoxOuterBorder_Disabled" Color="#7F000000" />
<SolidColorBrush x:Key="CheckBoxOuterBackground_Disabled" Color="#19000000" />
<SolidColorBrush x:Key="CheckBoxInnerBorder_Disabled" Color="#7F000000" />
<SolidColorBrush x:Key="CheckBoxInnerBackground_Disabled" Color="#19000000" />
<SolidColorBrush x:Key="RadioButtonTickStroke_Disabled" Color="#99000000" />
<RadialGradientBrush x:Key="RadioButtonTickFill_Disabled" GradientOrigin="0.323,0.315">
        <GradientStop Color="#00000000" Offset="0"/>
        <GradientStop Color="#99000000" Offset="1"/>
    </RadialGradientBrush>
<SolidColorBrush x:Key="RadioButtonTickStrokeIndetermined_Disabled" Color="#66FFFFFF" />
<SolidColorBrush x:Key="RadioButtonTickFillIndetermined_Disabled" Color="#7F000000" />

	
    <!-- style for RadioButton -->
    <Style x:Key="RadioButtonStyle" TargetType="RadioButton">
		<Setter Property="Background" Value="{StaticResource CheckBoxOuterBackground_Normal}" />
		<Setter Property="BorderBrush" Value="{StaticResource CheckBoxOuterBorder_Normal}" />
		<Setter Property="HorizontalContentAlignment" Value="Left" />
        <Setter Property="VerticalContentAlignment" Value="Top" />
		<Setter Property="Padding" Value="4 0 0 0" />
		
		<Setter Property="SnapsToDevicePixels" Value="True" />
		<Setter Property="FocusVisualStyle" Value="{x:Null}" />
		
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="RadioButton">
                    <Grid>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="Auto" />
                            <ColumnDefinition Width="*" />
                        </Grid.ColumnDefinitions>
                        
						
						<Grid Width="15" Height="15" HorizontalAlignment="Left" VerticalAlignment="Top">                   
                            <Ellipse x:Name="OuterBorder"
									Width="13" Height="13"
									Stroke="{TemplateBinding BorderBrush}" />
							<Ellipse x:Name="FocusBorder"
									Visibility="Collapsed"
									Width="13" Height="13"
									Stroke="{StaticResource CheckBoxOuterBorder_Focused}"
									Fill="{StaticResource CheckBoxOuterBackground_Focused}"/>
                            <Ellipse x:Name="IntermediateBorder" Width="11" Height="11"
                                     Stroke="{TemplateBinding Background}" />
							<Ellipse x:Name="InnerBorder"
									Width="9" Height="9"
									Stroke="{StaticResource CheckBoxInnerBorder_Normal}"
									Fill="{StaticResource CheckBoxInnerBackground_Normal}" />

							<Ellipse x:Name="CheckIcon" Visibility="Collapsed" StrokeThickness="1" Width="7" Height="7" Stroke="{StaticResource RadioButtonTickStroke_Normal}" Fill="{StaticResource RadioButtonTickFill_Normal}" />
							<Ellipse x:Name="IndeterminateIcon" Visibility="Collapsed" StrokeThickness="1" Width="7" Height="7" Stroke="{StaticResource RadioButtonTickStrokeIndetermined_Normal}" Fill="{StaticResource RadioButtonTickFillIndetermined_Normal}"/>
						</Grid>

						<ContentPresenter x:Name="ContentItem"
								Grid.Column="1"
								Margin="{TemplateBinding Padding}"
								Content="{TemplateBinding Content}"
								ContentTemplate="{TemplateBinding ContentTemplate}"
								HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
								VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
								
							RecognizesAccessKey="True"
							 />
					</Grid>
                    
                    <ControlTemplate.Triggers>
						<Trigger Property="IsMouseOver" Value="True">
                            <Setter TargetName="OuterBorder" Property="Stroke" Value="{StaticResource CheckBoxOuterBorder_MouseOver}" />
                            <Setter TargetName="InnerBorder" Property="Stroke" Value="{StaticResource CheckBoxInnerBorder_MouseOver}" />
							<Setter TargetName="InnerBorder" Property="Fill" Value="{StaticResource CheckBoxInnerBackground_MouseOver}" />
							<Setter TargetName="CheckIcon" Property="Stroke" Value="{StaticResource RadioButtonTickStroke_MouseOver}" />
							<Setter TargetName="CheckIcon" Property="Fill" Value="{StaticResource RadioButtonTickFill_MouseOver}" />
							<Setter TargetName="IndeterminateIcon" Property="Stroke" Value="{StaticResource RadioButtonTickStroke_MouseOver}" />
							<Setter TargetName="IndeterminateIcon" Property="Fill" Value="{StaticResource RadioButtonTickFill_MouseOver}" />
						</Trigger>                      
                        <Trigger Property="IsPressed" Value="True">
                            <Setter TargetName="IntermediateBorder" Property="Stroke" Value="{StaticResource CheckBoxIntermediateBorder_Pressed}" />
                            <Setter TargetName="OuterBorder" Property="Stroke" Value="{StaticResource CheckBoxOuterBorder_Pressed}" />
                            <Setter TargetName="InnerBorder" Property="Stroke" Value="{StaticResource CheckBoxInnerBorder_Pressed}" />
							<Setter TargetName="InnerBorder" Property="Fill" Value="{StaticResource CheckBoxInnerBackground_Pressed}" />
							<Setter TargetName="CheckIcon" Property="Stroke" Value="{StaticResource RadioButtonTickStroke_Pressed}" />
							<Setter TargetName="CheckIcon" Property="Fill" Value="{StaticResource RadioButtonTickFill_Pressed}" />
							<Setter TargetName="IndeterminateIcon" Property="Stroke" Value="{StaticResource RadioButtonTickStroke_Pressed}" />
							<Setter TargetName="IndeterminateIcon" Property="Fill" Value="{StaticResource RadioButtonTickFill_Pressed}" />
						</Trigger>
                        <Trigger Property="IsEnabled" Value="False">
                            <Setter TargetName="IntermediateBorder" Property="Stroke" Value="{StaticResource CheckBoxIntermediateBorder_Disabled}" />
							<Setter TargetName="OuterBorder" Property="Stroke" Value="{StaticResource CheckBoxOuterBorder_Disabled}" />
							<Setter TargetName="OuterBorder" Property="Fill" Value="{StaticResource CheckBoxOuterBackground_Disabled}" />
							<Setter TargetName="InnerBorder" Property="Stroke" Value="{StaticResource CheckBoxInnerBorder_Disabled}" />
							<Setter TargetName="InnerBorder" Property="Fill" Value="{StaticResource CheckBoxInnerBackground_Disabled}" />
							<Setter TargetName="ContentItem" Property="Opacity" Value="0.5" />
							<Setter TargetName="CheckIcon" Property="Stroke" Value="{StaticResource RadioButtonTickStroke_Disabled}" />
							<Setter TargetName="CheckIcon" Property="Fill" Value="{StaticResource RadioButtonTickFill_Disabled}" />
							<Setter TargetName="IndeterminateIcon" Property="Stroke" Value="{StaticResource RadioButtonTickStrokeIndetermined_Disabled}" />
							<Setter TargetName="IndeterminateIcon" Property="Fill" Value="{StaticResource RadioButtonTickFillIndetermined_Disabled}" />
						</Trigger>
						<Trigger Property="IsChecked" Value="True">
							<Setter TargetName="CheckIcon" Property="Visibility" Value="Visible" />
						</Trigger>
						<Trigger Property="IsChecked" Value="{x:Null}">
							<Setter TargetName="IndeterminateIcon" Property="Visibility" Value="Visible" />
						</Trigger>
						<Trigger Property="IsFocused" Value="True">
							<Setter TargetName="FocusBorder" Property="Visibility" Value="Visible" />
						</Trigger>
					</ControlTemplate.Triggers>
                    
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Key="{telerik:ThemeResourceKey ThemeType=
        telerik:TransparentTheme , ElementType=RadioButton}"
         BasedOn="{StaticResource RadioButtonStyle}" TargetType="RadioButton" />
        
        

</ResourceDictionary>