<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
					xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
					
	
		xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"     
		xmlns:controls="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Data"
		xmlns:telerikData="clr-namespace:Telerik.Windows.Data;assembly=Telerik.Windows.Controls.Data"
		xmlns:dataPager="clr-namespace:Telerik.Windows.Controls.Data.DataPager;assembly=Telerik.Windows.Controls.Data"
		xmlns:dataFilter="clr-namespace:Telerik.Windows.Controls.Data.DataFilter;assembly=Telerik.Windows.Controls.Data"
	
	

	>
    <SolidColorBrush x:Key="RadPager_Page_Over" Color="#FF878787"/>
<SolidColorBrush x:Key="RadPager_Page_Disabled" Color="#FF666666" />
<SolidColorBrush x:Key="RadPager_Page_Checked" Color="#FFCDCDCD"/>
<SolidColorBrush x:Key="RadPager_Page_Background" Color="#FF2D2E32"/>
<SolidColorBrush x:Key="RadPager_Page_Border" Color="#FF707070"/>
<SolidColorBrush x:Key="RadPager_Foreground" Color="#FFDDDDDD"/>
<SolidColorBrush x:Key="RadPager_Indicator" Color="#FFC5C2C2" />
<SolidColorBrush x:Key="RadPager_Indicator_Over" Color="#FFEBE5E5" />
<SolidColorBrush x:Key="RadPager_Indicator_Pressed" Color="#FFFFFFFF" />
<SolidColorBrush x:Key="RadPager_Indicator_Disabled" Color="#FF7C7A7A" />
<SolidColorBrush x:Key="RadPager_NumericPresenter_Background" Color="Transparent"/>
<SolidColorBrush x:Key="RadPager_NumericPresenter_Border" Color="#FF707070"/>
<telerik:Expression_DarkTheme x:Key="Theme" />
<SolidColorBrush x:Key="RadPager_Separator1" Color="#FF707070" />
<SolidColorBrush x:Key="RadPager_Separator2" Color="#FF0E0E0E" />
<SolidColorBrush x:Key="RadPager_Background" Color="#FF494A4D"/>
<SolidColorBrush x:Key="RadPager_Border" Color="#FF000000" />

    
	
	<!--PageStyle-->
	<ControlTemplate x:Key="RadPageTemplate" TargetType="telerik:RadRadioButton">
		<Grid>
			
			
			
			<Border x:Name="PageButton" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="0,3,3,0">		
				<ContentControl x:Name="Content" Foreground="{TemplateBinding Foreground}"  HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" Margin="{TemplateBinding Padding}" Content="{TemplateBinding Content}" IsTabStop="False" />		
			</Border>
			<Border HorizontalAlignment="Left" Width="10" Margin="0,1">
				<Border.Background>
					<LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">
						<GradientStop Color="#8C000000"/>
						<GradientStop Offset="1"/>
					</LinearGradientBrush>
				</Border.Background>
			</Border>
		</Grid>
		
		<ControlTemplate.Triggers>
			<Trigger Property="IsMouseOver" Value="True">
				<Setter Property="Background" TargetName="PageButton" Value="{StaticResource RadPager_Page_Over}" />
			</Trigger>
			<Trigger Property="IsEnabled" Value="False">
				<Setter Property="Background" TargetName="PageButton" Value="{StaticResource RadPager_Page_Disabled}" />
			</Trigger>
			<Trigger Property="IsChecked" Value="True">
				<Setter Property="Background" TargetName="PageButton" Value="{StaticResource RadPager_Page_Checked}" />
			</Trigger>
			<Trigger Property="IsPressed" Value="True">
				<Setter Property="Background" TargetName="PageButton" Value="{StaticResource RadPager_Page_Checked}" />
			</Trigger>
		</ControlTemplate.Triggers>
		
		
	</ControlTemplate>
	<Style x:Key="RadPageStyle" TargetType="telerik:RadRadioButton">
		<Setter Property="Template" Value="{StaticResource RadPageTemplate}" />
		<Setter Property="Background" Value="{StaticResource RadPager_Page_Background}" />
		<Setter Property="BorderBrush" Value="{StaticResource RadPager_Page_Border}" />
		<Setter Property="BorderThickness" Value="0,1,1,1" />
		<Setter Property="MinWidth" Value="21" />
		<Setter Property="Foreground" Value="{StaticResource RadPager_Foreground}"/>
		<Setter Property="HorizontalContentAlignment" Value="Center" />
		<Setter Property="VerticalContentAlignment" Value="Center" />
		<Setter Property="Padding" Value="2" />
	</Style>
	
	<!--Pages-->
	<ControlTemplate x:Key="NumericElementsPresenterTemplate" TargetType="dataPager:NumericElementsPresenter">
		<ItemsControl ItemsSource="{Binding Pages}" >
			<ItemsControl.ItemsPanel>
				<ItemsPanelTemplate>
					<VirtualizingStackPanel Orientation="Horizontal" />
				</ItemsPanelTemplate>
			</ItemsControl.ItemsPanel>
			<ItemsControl.ItemTemplate>
				<DataTemplate>
					<telerik:RadRadioButton  IsChecked="{Binding IsCurrent, Mode=OneWay}" GroupName="{Binding GroupName}" Command="controls:RadDataPagerCommands.MoveToPage" CommandParameter="{Binding PageIndex}" Content="{Binding Content}" Style="{Binding NumericButtonStyle}" />
				</DataTemplate>
			</ItemsControl.ItemTemplate>
		</ItemsControl>
	</ControlTemplate>
	<Style x:Key="{telerik:ThemeResourceKey ThemeType=telerik:ExpressionDarkTheme , ElementType=dataPager:NumericElementsPresenter}" TargetType="dataPager:NumericElementsPresenter">
		<Setter Property="Template" Value="{StaticResource NumericElementsPresenterTemplate}" />
		
		<Setter Property="SnapsToDevicePixels" Value="True" />
		
	</Style>


	<ControlTemplate x:Key="FirstPageButtonTemplate" TargetType="telerik:RadButton">
		<Border Background="Transparent">
			
			
			<StackPanel Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Center">
				<Rectangle x:Name="rect" Fill="{StaticResource RadPager_Indicator}" VerticalAlignment="Center" HorizontalAlignment="Center" Width="1" Height="5" />
				<Path x:Name="arrow" Fill="{StaticResource RadPager_Indicator}" VerticalAlignment="Center" HorizontalAlignment="Center" Data="M0,0 L3.5,3.5 0,7 Z" Width="6" Height="6" RenderTransformOrigin="0.5, 0.5">
					<Path.RenderTransform>
						<TransformGroup>
							<ScaleTransform ScaleX="-1" ScaleY="1"/>
							<SkewTransform AngleX="0" AngleY="0"/>
							<RotateTransform Angle="0"/>
							<TranslateTransform/>
						</TransformGroup>
					</Path.RenderTransform>
				</Path>
			</StackPanel>			
		</Border>
		
		
		<ControlTemplate.Triggers>
			<Trigger Property="IsMouseOver" Value="True">
				<Setter TargetName="rect" Property="Fill" Value="{StaticResource RadPager_Indicator_Over}" />
				<Setter TargetName="arrow" Property="Fill" Value="{StaticResource RadPager_Indicator_Over}" />
			</Trigger>
			<Trigger Property="IsPressed" Value="True">
				<Setter TargetName="rect" Property="Fill" Value="{StaticResource RadPager_Indicator_Pressed}" />
				<Setter TargetName="arrow" Property="Fill" Value="{StaticResource RadPager_Indicator_Pressed}" />
			</Trigger>
			<Trigger Property="IsEnabled" Value="False">
				<Setter TargetName="rect" Property="Fill" Value="{StaticResource RadPager_Indicator_Disabled}" />
				<Setter TargetName="arrow" Property="Fill" Value="{StaticResource RadPager_Indicator_Disabled}" />
			</Trigger>
		</ControlTemplate.Triggers>
		
	</ControlTemplate>
	<Style x:Key="FirstPageButtonStyle" TargetType="telerik:RadButton">
		<Setter Property="Template" Value="{StaticResource FirstPageButtonTemplate}" />
		<Setter Property="HorizontalAlignment" Value="Stretch" />
		<Setter Property="VerticalAlignment" Value="Stretch" />
		<Setter Property="Width" Value="18" />
		<Setter Property="Height" Value="18" />
		<Setter Property="Margin" Value="2" />
	</Style>

	<ControlTemplate x:Key="PreviousPageButtonTemplate" TargetType="telerik:RadButton">
		<Border Background="Transparent">
			

			<Path x:Name="arrow" Fill="{StaticResource RadPager_Indicator}" VerticalAlignment="Center" HorizontalAlignment="Center" Data="M0,0 L3.5,3.5 0,7 Z" Width="6" Height="6" RenderTransformOrigin="0.5, 0.5">
				<Path.RenderTransform>
					<TransformGroup>
						<ScaleTransform ScaleX="-1" ScaleY="1"/>
						<SkewTransform AngleX="0" AngleY="0"/>
						<RotateTransform Angle="0"/>
						<TranslateTransform/>
					</TransformGroup>
				</Path.RenderTransform>
			</Path>
		</Border>

		
		<ControlTemplate.Triggers>
			<Trigger Property="IsMouseOver" Value="True">
				<Setter TargetName="arrow" Property="Fill" Value="{StaticResource RadPager_Indicator_Over}" />
			</Trigger>
			<Trigger Property="IsPressed" Value="True">
				<Setter TargetName="arrow" Property="Fill" Value="{StaticResource RadPager_Indicator_Pressed}" />
			</Trigger>
			<Trigger Property="IsEnabled" Value="False">
				<Setter TargetName="arrow" Property="Fill" Value="{StaticResource RadPager_Indicator_Disabled}" />
			</Trigger>
		</ControlTemplate.Triggers>
		
	</ControlTemplate>
	<Style x:Key="PreviousPageButtonStyle" TargetType="telerik:RadButton">
		<Setter Property="Template" Value="{StaticResource PreviousPageButtonTemplate}" />
		<Setter Property="HorizontalAlignment" Value="Stretch" />
		<Setter Property="VerticalAlignment" Value="Stretch" />
		<Setter Property="Width" Value="18" />
		<Setter Property="Height" Value="18" />
		<Setter Property="Margin" Value="2" />
	</Style>

	<ControlTemplate x:Key="NextPageButtonTemplate" TargetType="telerik:RadButton">
		<Border Background="Transparent">
			

			<Path x:Name="arrow" Fill="{StaticResource RadPager_Indicator}" VerticalAlignment="Center" HorizontalAlignment="Center" Data="M0,0 L3.5,3.5 0,7 Z" Width="6" Height="6" />
		</Border>

		
		<ControlTemplate.Triggers>
			<Trigger Property="IsMouseOver" Value="True">
				<Setter TargetName="arrow" Property="Fill" Value="{StaticResource RadPager_Indicator_Over}" />
			</Trigger>
			<Trigger Property="IsPressed" Value="True">
				<Setter TargetName="arrow" Property="Fill" Value="{StaticResource RadPager_Indicator_Pressed}" />
			</Trigger>
			<Trigger Property="IsEnabled" Value="False">
				<Setter TargetName="arrow" Property="Fill" Value="{StaticResource RadPager_Indicator_Disabled}" />
			</Trigger>
		</ControlTemplate.Triggers>
		
	</ControlTemplate>
	<Style x:Key="NextPageButtonStyle" TargetType="telerik:RadButton">
		<Setter Property="Template" Value="{StaticResource NextPageButtonTemplate}" />
		<Setter Property="HorizontalAlignment" Value="Stretch" />
		<Setter Property="VerticalAlignment" Value="Stretch" />
		<Setter Property="Width" Value="18" />
		<Setter Property="Height" Value="18" />
		<Setter Property="Margin" Value="2" />
	</Style>

	<ControlTemplate x:Key="LastPageButtonTemplate" TargetType="telerik:RadButton">
		<Border Background="Transparent">
			

			<StackPanel Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Center">
				<Path x:Name="arrow" Fill="{StaticResource RadPager_Indicator}" VerticalAlignment="Center" HorizontalAlignment="Center" Data="M0,0 L3.5,3.5 0,7 Z" Width="6" Height="6" />
				<Rectangle x:Name="rect" Fill="{StaticResource RadPager_Indicator}" VerticalAlignment="Center" HorizontalAlignment="Center" Width="1" Height="5" />
			</StackPanel>
		</Border>

		
		<ControlTemplate.Triggers>
			<Trigger Property="IsMouseOver" Value="True">
				<Setter TargetName="rect" Property="Fill" Value="{StaticResource RadPager_Indicator_Over}" />
				<Setter TargetName="arrow" Property="Fill" Value="{StaticResource RadPager_Indicator_Over}" />
			</Trigger>
			<Trigger Property="IsPressed" Value="True">
				<Setter TargetName="rect" Property="Fill" Value="{StaticResource RadPager_Indicator_Pressed}" />
				<Setter TargetName="arrow" Property="Fill" Value="{StaticResource RadPager_Indicator_Pressed}" />
			</Trigger>
			<Trigger Property="IsEnabled" Value="False">
				<Setter TargetName="rect" Property="Fill" Value="{StaticResource RadPager_Indicator_Disabled}" />
				<Setter TargetName="arrow" Property="Fill" Value="{StaticResource RadPager_Indicator_Disabled}" />
			</Trigger>
		</ControlTemplate.Triggers>
		
	</ControlTemplate>
	<Style x:Key="LastPageButtonStyle" TargetType="telerik:RadButton">
		<Setter Property="Template" Value="{StaticResource LastPageButtonTemplate}" />
		<Setter Property="HorizontalAlignment" Value="Stretch" />
		<Setter Property="VerticalAlignment" Value="Stretch" />
		<Setter Property="Width" Value="18" />
		<Setter Property="Height" Value="18" />
		<Setter Property="Margin" Value="2" />
	</Style>

	<!--Pager Template-->
	<ControlTemplate x:Key="DataPagerPresenterTemplate" TargetType="dataPager:DataPagerPresenter">
		<Border Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}">						
			<Grid  VerticalAlignment="{TemplateBinding VerticalContentAlignment}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}">
				<Grid.ColumnDefinitions >
					<ColumnDefinition Width="*" />
					<ColumnDefinition Width="Auto" />
				</Grid.ColumnDefinitions>

				<StackPanel Orientation="Horizontal" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}">

					<!--FirstPage Button-->
					<telerik:RadButton Visibility="{Binding PagerControlsVisibility.MoveToFirstPageControlVisibility,RelativeSource={RelativeSource TemplatedParent}}" 
									   Command="controls:RadDataPagerCommands.MoveToFirstPage" 
									   Style="{StaticResource FirstPageButtonStyle}" />

					<!--PreviousPage Button-->
					<telerik:RadButton Visibility="{Binding PagerControlsVisibility.MoveToPreviousPageControlVisibility,RelativeSource={RelativeSource TemplatedParent}}" 
									   Command="controls:RadDataPagerCommands.MoveToPreviousPage" 
									   Style="{StaticResource PreviousPageButtonStyle}" />

					<!--NumericPresenter-->
					<Border BorderThickness="1,0,0,0" Background="{StaticResource RadPager_NumericPresenter_Background}" BorderBrush="{StaticResource RadPager_NumericPresenter_Border}" Height="20" VerticalAlignment="Center" Visibility="{Binding PagerControlsVisibility.NumericElementsControlVisibility,RelativeSource={RelativeSource TemplatedParent}}">
						<dataPager:NumericElementsPresenter telerik:StyleManager.Theme="{StaticResource Theme}" NumericButtonStyle="{TemplateBinding NumericButtonStyle}" AutoEllipsisMode="{TemplateBinding AutoEllipsisMode}" PageIndex="{TemplateBinding PageIndex}" PageCount="{TemplateBinding PageCount}" NumericButtonCount="{TemplateBinding NumericButtonCount}"  />
					</Border>

					<!--NextPage Button-->
					<telerik:RadButton Visibility="{Binding PagerControlsVisibility.MoveToNextPageControlVisibility,RelativeSource={RelativeSource TemplatedParent}}" 
									   Command="controls:RadDataPagerCommands.MoveToNextPage" 
									   Style="{StaticResource NextPageButtonStyle}" />

					<!--LastPage Button-->
					<telerik:RadButton Visibility="{Binding PagerControlsVisibility.MoveToLastPageControlVisibility,RelativeSource={RelativeSource TemplatedParent}}" 
									   Command="controls:RadDataPagerCommands.MoveToLastPage"
									   Style="{StaticResource LastPageButtonStyle}" />
					</StackPanel>
				
				<!--TextPager-->
				<StackPanel Orientation="Horizontal"  Grid.Column="1" Visibility="{Binding PagerControlsVisibility.TextControlVisibility,RelativeSource={RelativeSource TemplatedParent}}" Margin="5,0" >
					<Border HorizontalAlignment="Left" Margin="5,0,0,0" Width="1" Background="{StaticResource RadPager_Separator1}" VerticalAlignment="Center" Height="18"/>
					<Border HorizontalAlignment="Left" Margin="0,0,10,0" Width="1" Background="{StaticResource RadPager_Separator2}" VerticalAlignment="Center" Height="18"/>
					
					<TextBlock telerik:LocalizationManager.ResourceKey="RadDataPagerPage" VerticalAlignment="Center" Margin="2,0" />
					<dataPager:DataPagerTextBox telerik:StyleManager.Theme="{StaticResource Theme}" Command="controls:RadDataPagerCommands.MoveToPage" Width="48" Height="20" Margin="2,0" VerticalAlignment="Center" 
											   PageIndex="{TemplateBinding PageIndex}" VerticalContentAlignment="Center"
											   />
					<TextBlock telerik:LocalizationManager.ResourceKey="RadDataPagerOf" VerticalAlignment="Center" Margin="2,0" />
					<TextBlock Text="{Binding PageCount, RelativeSource={RelativeSource TemplatedParent}}" VerticalAlignment="Center" Margin="2,0" />
				</StackPanel>
			</Grid>						
		</Border>
	</ControlTemplate> 
	<Style x:Key="{telerik:ThemeResourceKey ThemeType=telerik:ExpressionDarkTheme , ElementType=dataPager:DataPagerPresenter}" TargetType="dataPager:DataPagerPresenter">
		<Setter Property="Template" Value="{StaticResource DataPagerPresenterTemplate}" />						
		
		<Setter Property="SnapsToDevicePixels" Value="True" />
		
	</Style>

	<!--Pager-->
	<ControlTemplate x:Key="RadDataPagerTemplate" TargetType="controls:RadDataPager">
		<dataPager:DataPagerPresenter telerik:StyleManager.Theme="{StaticResource Theme}" NumericButtonStyle="{TemplateBinding NumericButtonStyle}"  AutoEllipsisMode="{TemplateBinding AutoEllipsisMode}" 
									  DisplayMode="{TemplateBinding DisplayMode}" PageIndex="{TemplateBinding PageIndex}" PageCount="{TemplateBinding PageCount}"  NumericButtonCount="{TemplateBinding NumericButtonCount}" 
									  Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" 
									  VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}"/>
	</ControlTemplate>
	<Style x:Key="{telerik:ThemeResourceKey ThemeType=telerik:ExpressionDarkTheme , ElementType=controls:RadDataPager}" TargetType="controls:RadDataPager">
		<Setter Property="Template" Value="{StaticResource RadDataPagerTemplate}" />
		<Setter Property="HorizontalContentAlignment" Value="Stretch" />
		<Setter Property="VerticalContentAlignment" Value="Center" />
		<Setter Property="Background" Value="{StaticResource RadPager_Background}"/>
		<Setter Property="BorderBrush" Value="{StaticResource RadPager_Border}" />
		<Setter Property="BorderThickness" Value="1" />
		<Setter Property="Foreground" Value="{StaticResource RadPager_Foreground}" />
		<Setter Property="NumericButtonStyle" Value="{StaticResource RadPageStyle}" />
		<Setter Property="Height" Value="28" />
		<Setter Property="FontSize" Value="9" />		
		
		
		<Setter Property="SnapsToDevicePixels" Value="True" />
		
	</Style>
	
	
	
</ResourceDictionary>