<Page x:Class="LogicalPaging.ServerSidePaging"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.GridView"
      mc:Ignorable="d" 
      d:DesignHeight="300" d:DesignWidth="300"
	Title="ServerSidePaging">

    <Grid x:Name="LayoutRoot">
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <telerik:RadGridView ItemsSource="{Binding}" AutoGenerateColumns="True" ShowGroupPanel="False">
        </telerik:RadGridView>
        <telerik:RadDataPager Grid.Row="1"
            Source="{Binding}"
            NumericButtonCount="{Binding PageCount}"
            DisplayMode="Numeric"
            NumericButtonStyle="{StaticResource PagerToggleButtonStyle}"
            />
    </Grid>
</Page>
