skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop
    Web
    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for ASP.NET AJAX UI for ASP.NET MVC UI for ASP.NET Core UI for Blazor UI for Silverlight UI for PHP UI for JSP
    Mobile
    UI for .NET MAUI UI for Xamarin
    Document Management
    Telerik Document Processing
    Desktop
    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF UI for UWP
    Reporting & Mocking
    Telerik Reporting Telerik Report Server Telerik JustMock
    Automated Testing
    Test Studio Test Studio Dev Edition
    CMS
    Sitefinity
    UI/UX Tools
    ThemeBuilder
    Debugging
    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Jam FiddlerCap FiddlerCore
    Extended Reality
    UI for Unity XR
    Free Tools
    JustAssembly JustDecompile VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Docs & Support
  • Pricing
  • Search
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Interface IPagedCollectionView

Provides paging functionality for a collection view.

Namespace: Telerik.Windows.Data
Assembly: Telerik.Windows.Data.dll

Syntax

public interface IPagedCollectionView

Properties

CanChangePage

Gets a value that indicates whether the PageIndex value is allowed to change.

Declaration
bool CanChangePage { get; }
Property Value
System.Boolean

true if the PageIndex value is allowed to change; otherwise, false.

IsPageChanging

Gets a value that indicates whether a page index change is in process.

Declaration
bool IsPageChanging { get; }
Property Value
System.Boolean

true if the page index is changing; otherwise, false.

ItemCount

Gets the minimum number of items known to be in the source collection.

Declaration
int ItemCount { get; }
Property Value
System.Int32

The minimum number of items known to be in the source collection.

PageIndex

Gets the zero-based index of the current page.

Declaration
int PageIndex { get; }
Property Value
System.Int32

The zero-based index of the current page.

PageSize

Gets or sets the number of items to display on a page.

Declaration
int PageSize { get; set; }
Property Value
System.Int32

The number of items to display on a page.

TotalItemCount

Gets the total number of items in the source collection.

Declaration
int TotalItemCount { get; }
Property Value
System.Int32

The total number of items in the source collection, or -1 if the total number is unknown.

Methods

MoveToFirstPage()

Sets the first page as the current page.

Declaration
bool MoveToFirstPage()
Returns
System.Boolean

true if the operation was successful; otherwise, false.

MoveToLastPage()

Sets the last page as the current page.

Declaration
bool MoveToLastPage()
Returns
System.Boolean

true if the operation was successful; otherwise, false.

MoveToNextPage()

Moves to the page after the current page.

Declaration
bool MoveToNextPage()
Returns
System.Boolean

true if the operation was successful; otherwise, false.

MoveToPage(Int32)

Requests a page move to the page at the specified index.

Declaration
bool MoveToPage(int pageIndex)
Parameters
System.Int32 pageIndex

The index of the page to move to.

Returns
System.Boolean

true if the operation was successful; otherwise, false.

MoveToPreviousPage()

Moves to the page before the current page.

Declaration
bool MoveToPreviousPage()
Returns
System.Boolean

true if the operation was successful; otherwise, false.

Events

PageChanged

Occurs when the PageIndex has changed.

Declaration
event EventHandler<EventArgs> PageChanged
Event Type
System.EventHandler<System.EventArgs>

PageChanging

Occurs when the PageIndex is changing.

Declaration
event EventHandler<PageChangingEventArgs> PageChanging
Event Type
System.EventHandler<PageChangingEventArgs>

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)

Was this article helpful?

Tell us how we can improve this article

Skip
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.