<ResourceDictionary
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
	<!-- Resource dictionary entries should be defined here. -->
			<Style x:Key="RepeatButtonStyle" TargetType="{x:Type RepeatButton}">
			<Setter Property="Background" Value="#FF195083"/>
			<Setter Property="BorderBrush" Value="#FF36EDE9"/>
			<Setter Property="BorderThickness" Value="1"/>
			<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
			<Setter Property="HorizontalContentAlignment" Value="Center"/>
			<Setter Property="VerticalContentAlignment" Value="Center"/>
			<Setter Property="Padding" Value="1"/>
			<Setter Property="Template">
				<Setter.Value>
			<ControlTemplate  TargetType="{x:Type RepeatButton}">
        		<Viewbox Stretch="Fill">
        			<VisualStateManager.VisualStateGroups>
        				<VisualStateGroup x:Name="CommonStates">
        					<VisualStateGroup.Transitions>
        						<VisualTransition GeneratedDuration="0:0:0.25"/>
        						<VisualTransition GeneratedDuration="0:0:0.15" To="Pressed"/>
        						<VisualTransition From="Pressed" GeneratedDuration="0:0:0.15"/>
        					</VisualStateGroup.Transitions>
        					<VisualState x:Name="Normal"/>
        					<VisualState x:Name="MouseOver">
        						<Storyboard>
        							<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Effect).(DropShadowEffect.Opacity)" Storyboard.TargetName="Background">
        								<EasingDoubleKeyFrame KeyTime="0" Value="1"/>
        							</DoubleAnimationUsingKeyFrames>
        						</Storyboard>
        					</VisualState>
        					<VisualState x:Name="Pressed">
        						<Storyboard>
        							<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" Storyboard.TargetName="grid">
        								<EasingDoubleKeyFrame KeyTime="0" Value="0.95"/>
        							</DoubleAnimationUsingKeyFrames>
        							<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" Storyboard.TargetName="grid">
        								<EasingDoubleKeyFrame KeyTime="0" Value="0.95"/>
        							</DoubleAnimationUsingKeyFrames>
        						</Storyboard>
        					</VisualState>
        					<VisualState x:Name="Disabled"/>
        				</VisualStateGroup>
        			</VisualStateManager.VisualStateGroups>
        			<Grid x:Name="grid" Height="100" Width="100" RenderTransformOrigin="0.5,0.5">
        				<Grid.RenderTransform>
        					<TransformGroup>
        						<ScaleTransform/>
        						<SkewTransform/>
        						<RotateTransform/>
        						<TranslateTransform/>
        					</TransformGroup>
        				</Grid.RenderTransform>
        				<Ellipse x:Name="Background" Fill="{TemplateBinding Background}">
        					<Ellipse.Effect>
        						<DropShadowEffect x:Name="SHEffect" Opacity="0" BlurRadius="20" Color="{Binding BorderBrush.Color, RelativeSource={RelativeSource Mode=TemplatedParent}}" ShadowDepth="0"/>
        					</Ellipse.Effect>
        				</Ellipse>
        				<Ellipse x:Name="CentralBrightening" Opacity="0.2">
        					<Ellipse.Fill>
        						<RadialGradientBrush>
        							<GradientStop Color="Black" Offset="1"/>
        							<GradientStop Color="White"/>
        						</RadialGradientBrush>
        					</Ellipse.Fill>
        				</Ellipse>
        				<Path x:Name="GlassLayer" Data="M90,45 C90,69.852814 69.852814,40 45,40 20.147186,40 0,69.852814 0,45 0,20.147186 20.147186,0 45,0 69.852814,0 90,20.147186 90,45 z" Margin="5,5,5,40.117" Stretch="Fill">
        					<Path.Fill>
        						<RadialGradientBrush Center="0.5,0.842" GradientOrigin="0.5,0.842" RadiusY="0.828">
        							<GradientStop Offset="0" Color="#00FFFFFF" />
        							<GradientStop Offset="1" Color="#F2FFFFFF"/>
        						</RadialGradientBrush>
        					</Path.Fill>
        				</Path>
        				<Ellipse x:Name="FlashLayer" Fill="{TemplateBinding BorderBrush}" Margin="3">
        					<Ellipse.OpacityMask>
        						<RadialGradientBrush Center="0.511,0.97" GradientOrigin="0.511,0.97" RadiusY="0.362">
        							<GradientStop Color="Black" Offset="0"/>
        							<GradientStop Offset="1"/>
        						</RadialGradientBrush>
        					</Ellipse.OpacityMask>
        				</Ellipse>
        				<Ellipse x:Name="FlashWhite" Margin="3">
        					<Ellipse.Fill>
        						<RadialGradientBrush Center="0.533,0.949" GradientOrigin="0.533,0.949" RadiusY="0.287" RadiusX="0.415">
        							<GradientStop Offset="1"/>
        							<GradientStop Color="White"/>
        						</RadialGradientBrush>
        					</Ellipse.Fill>
        				</Ellipse>
        				<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center" Margin="{TemplateBinding Padding}" />
        			</Grid>
        		</Viewbox>        		
        	</ControlTemplate>
			</Setter.Value>
			</Setter>
			</Style>
</ResourceDictionary>