New to Telerik UI for WinUI? Download free 30-day trial

Getting Started

In this help article, we are going to create a Pagination control using the Telerik UI for WinUI.

Assembly References

In order to use RadPaginationControl in your projects, you have to add references to the following assembly:

  • Telerik.WinUI.Controls.dll

Adding PaginationControl to the Project

Now you are ready to declare a new RadPaginationControl instance:

Make sure the required assembly reference is added to the project before you proceed with adding RadPaginationControl to your project.

You can access the RadPaginationControl control through an alias pointing to the Telerik.UI.Xaml.Controls.Primitives namespace: xmlns:primitives="using:Telerik.UI.Xaml.Controls.Primitives"

Example 1: Adding RadPaginationControl in XAML

<primitives:RadPaginationControl/>   
A PaginationControl control can be used with any ItemsControl. Example 2 will show how to use it with a FlipView.

Example 2: Using RadPaginationControl with FlipView

<Grid> 
    <FlipView x:Name="flipview1" Height="200" Width="200"> 
        <Image Source="../../Images/bee.jpg"></Image> 
        <Image Source="../../Images/donkey.jpg"></Image> 
        <Image Source="../../Images/donkey.jpg"></Image> 
        <Image Source="../../Images/butterfly.jpg"></Image> 
        <Image Source="../../Images/elephant.jpg"></Image> 
    </FlipView> 
    <primitives:RadPaginationControl PageProvider="{Binding ElementName=flipview1}" Height="30" Margin="450"/> 
</Grid> 
Pagination Getting Started
In this article
Not finding the help you need?