<UserControl
    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.GridView"
    x:Class="LogicalPaging.MainPage">
    
    <Grid x:Name="LayoutRoot">
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <telerik:RadGridView ItemsSource="{Binding}" AutoGenerateColumns="False" ShowGroupPanel="False">
            <telerik:RadGridView.Columns>
                <telerik:GridViewDataColumn Header="ID" DataMemberBinding="{Binding Property2}" />
                <telerik:GridViewDataColumn Header="Name" DataMemberBinding="{Binding Property1}" />
                <telerik:GridViewDataColumn Header="Company Name" DataMemberBinding="{Binding Property3}" />
                <telerik:GridViewDataColumn Header="Email" DataMemberBinding="{Binding Property4}" />
                <telerik:GridViewDataColumn Header="Phone" DataMemberBinding="{Binding Property5}" />
            </telerik:RadGridView.Columns>
        </telerik:RadGridView>
        <telerik:RadDataPager Grid.Row="1"
            Source="{Binding}"
            NumericButtonCount="{Binding PageCount}"
            DisplayMode="Numeric"
            NumericButtonStyle="{StaticResource PagerToggleButtonStyle}"
            />
    </Grid>
    
</UserControl>
