<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"
    
 >

    <LinearGradientBrush x:Key="ControlOuterBorder_Normal" EndPoint="0.971000015735626,0.5" StartPoint="0.0399999991059303,0.5">
        <GradientStop Color="#FF707070" Offset="0"/>
        <GradientStop Color="#FFA3A3A3" Offset="0.5"/>
        <GradientStop Color="#FF707070" Offset="1"/>
    </LinearGradientBrush>
<SolidColorBrush x:Key="ControlBackground_Normal" Color="#FF575859" />
<SolidColorBrush x:Key="ControlForeground_Normal" Color="#FFDDDDDD" />
<CornerRadius x:Key="ControlOuterBorder_CornerRadius">3</CornerRadius>
<SolidColorBrush x:Key="ControlOuterBorder_Disabled" Color="#FF5D5C5C" />
<SolidColorBrush x:Key="ControlBackground_Disabled" Color="#FF666666" />
<SolidColorBrush x:Key="ControlOuterBorder_Focused" Color="#FF789FC3" />
<LinearGradientBrush x:Key="ControlOuterBorder_MouseOver" EndPoint="0.971000015735626,0.5" StartPoint="0.0399999991059303,0.5">
        <GradientStop Color="#FFB0B0B0" Offset="0"/>
        <GradientStop Color="#FFB0B0B0" Offset="1"/>
        <GradientStop Color="#FFE0E1E2" Offset="0.5"/>
    </LinearGradientBrush>
<SolidColorBrush x:Key="ControlBackground_MouseOver" Color="#FF878787" />
<SolidColorBrush x:Key="ControlOuterBorder_Pressed" Color="#FF1A1A1A"/>
<LinearGradientBrush x:Key="ControlBackground_Pressed" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FF2E2D2D" Offset="0"/>
        <GradientStop Color="#FF424242" Offset="1"/>
        <GradientStop Color="#FF424242" Offset="0.14"/>
    </LinearGradientBrush>
<LinearGradientBrush x:Key="CoreButtonOuterBorder_Pressed" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FF8E8165" Offset="0"/>
		<GradientStop Color="#FFC6C0B2" Offset="1"/>
	</LinearGradientBrush>

    
	<Style TargetType="RepeatButton"
		   
		   x:Key="{telerik:ThemeResourceKey ThemeType=telerik:ExpressionDarkTheme, ElementType=RepeatButton}"
		    
		   >
		<Setter Property="BorderThickness" Value="1"/>
		<Setter Property="BorderBrush" Value="{StaticResource ControlOuterBorder_Normal}" />
		<Setter Property="Background" Value="{StaticResource ControlBackground_Normal}" />
		<Setter Property="Foreground" Value="{StaticResource ControlForeground_Normal}"/>
		<Setter Property="HorizontalContentAlignment" Value="Center"/>
		<Setter Property="VerticalContentAlignment" Value="Center"/>
		<Setter Property="Padding" Value="1"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="RepeatButton">
                    <Grid   SnapsToDevicePixels="True"  >
						

                        <Border x:Name="Border" BorderThickness="{TemplateBinding BorderThickness}"
								BorderBrush="{TemplateBinding BorderBrush}"
								Background="{TemplateBinding Background}"
                                CornerRadius="{StaticResource ControlOuterBorder_CornerRadius}" />

                        <Border x:Name="BorderDisable" Opacity="0" BorderThickness="{TemplateBinding BorderThickness}"
								BorderBrush="{StaticResource ControlOuterBorder_Disabled}"
								Background="{StaticResource ControlBackground_Disabled}"
                                CornerRadius="{StaticResource ControlOuterBorder_CornerRadius}" />

                        <ContentPresenter x:Name="ContentElement"
								HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
								Margin="{TemplateBinding Padding}"
								VerticalAlignment="{TemplateBinding VerticalContentAlignment}" 
								
								RecognizesAccessKey="True"
								 />
                            
                        <!-- Focus -->
                        <Border BorderThickness="1" CornerRadius="{StaticResource ControlOuterBorder_CornerRadius}" Opacity="0" x:Name="FocusState"
                                BorderBrush="{StaticResource ControlOuterBorder_Focused}"/>

                    </Grid>
					
                    <ControlTemplate.Triggers>
                        <Trigger Property="IsMouseOver" Value="true">
                            <Setter TargetName="Border" Property="BorderBrush"
									Value="{StaticResource ControlOuterBorder_MouseOver}" />
                            <Setter TargetName="Border" Property="Background"
									Value="{StaticResource ControlBackground_MouseOver}" />
                        </Trigger>
                        <Trigger Property="IsPressed" Value="True">
                            <Setter TargetName="Border" Property="BorderBrush"
									Value="{StaticResource ControlOuterBorder_Pressed}" />
                            <Setter TargetName="Border" Property="Background"
									Value="{StaticResource ControlBackground_Pressed}" />
                        </Trigger>
                        <Trigger Property="IsEnabled" Value="True">
                            <Setter TargetName="ContentElement" Property="Opacity" Value="1" />
                        </Trigger>
                        <Trigger Property="IsEnabled" Value="False">
                            <Setter TargetName="ContentElement" Property="Opacity" Value="0.5" />
                            <Setter TargetName="Border" Property="BorderBrush"
									Value="{StaticResource ControlOuterBorder_Disabled}" />
                            <Setter TargetName="Border" Property="Background"
									Value="{StaticResource ControlBackground_Disabled}" />
                        </Trigger>
                        <Trigger Property="IsFocused" Value="True" >
                            <Setter TargetName="FocusState" Property="Opacity" Value="1" />
                        </Trigger>
                    </ControlTemplate.Triggers>
                    
				</ControlTemplate>
			</Setter.Value>
		</Setter>
		<Setter Property="OpacityMask" Value="{StaticResource CoreButtonOuterBorder_Pressed}"/>
	</Style>
	

</ResourceDictionary>