<UserControl x:Class="PagingSimpleCollectionWithPagedSource_SL3.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
	xmlns:telerikGrid="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.GridView"
    mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480">
	<StackPanel x:Name="LayoutRoot" HorizontalAlignment="Left" VerticalAlignment="Top">
		<Grid Height="400" Width="400">
			<Grid.RowDefinitions>
				<RowDefinition Height="*"/>
				<RowDefinition Height="Auto"/>
			</Grid.RowDefinitions>
			<Border Grid.Row="0" 
					BorderBrush="Black"
					BorderThickness="1" Margin="5">
				<ListBox Name="itemsControl" 
						 ItemsSource="{Binding PagedSource, ElementName=radDataPager}"/>
			</Border>
			<Border Grid.Row="1"
					BorderBrush="Black" 
					BorderThickness="1" 
					Margin="5">
				<telerikGrid:RadDataPager Name="radDataPager" 
										  Source="{Binding ItemsSource}"
										  PageSize="10"
										  IsTotalItemCountFixed="True"
										  DisplayMode="All"/>
			</Border>
		</Grid>
	</StackPanel>
</UserControl>
