menu

UWP

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class PivotPagedCollectionView - UWP API Reference | Syncfusion

    Show / Hide Table of Contents

    Class PivotPagedCollectionView

    PivotPagedCollectionView represents the page view for Pivot Pager.

    Inheritance
    System.Object
    PivotPagedCollectionView
    Namespace: Syncfusion.UI.Xaml.PivotShared
    Assembly: Syncfusion.SfPivotShared.UWP.dll
    Syntax
    public class PivotPagedCollectionView : Object, IPagedCollectionView

    Constructors

    PivotPagedCollectionView()

    Initializes a new instance of the PivotPagedCollectionView class.

    Declaration
    public PivotPagedCollectionView()

    PivotPagedCollectionView(Int32, Int32)

    Initializes a new instance of the PivotPagedCollectionView class.

    Declaration
    public PivotPagedCollectionView(int totalItemCount, int pageIndex)
    Parameters
    Type Name Description
    System.Int32 totalItemCount

    The total item count.

    System.Int32 pageIndex

    Index of the page.

    Properties

    CanChangePage

    Gets a value indicating whether the page can change or not ///

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

    IsPageChanging

    Gets a value indicating whether the page is changing or not ///

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

    ItemCount

    Gets the item count of the page.

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

    PageCount

    Gets the number of pages we currently have

    Declaration
    public int PageCount { get; }
    Property Value
    Type
    System.Int32

    PageIndex

    Gets the index of the page.

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

    PageSize

    Gets or sets the size of the page.

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

    TotalItemCount

    Gets the total item count of the page.

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

    Methods

    MoveToFirstPage()

    Gets or sets a value indicating whether the page is moves to first or not ///

    Declaration
    public bool MoveToFirstPage()
    Returns
    Type
    System.Boolean

    MoveToLastPage()

    Gets or sets a value indicating whether the page is moves to last or not ///

    Declaration
    public bool MoveToLastPage()
    Returns
    Type
    System.Boolean

    MoveToNextPage()

    Gets or sets a value indicating whether the page is moves to next page or not ///

    Declaration
    public bool MoveToNextPage()
    Returns
    Type
    System.Boolean

    MoveToPage(Int32)

    Gets or sets a value indicating whether the page is moves or not ///

    Declaration
    public bool MoveToPage(int index)
    Parameters
    Type Name Description
    System.Int32 index
    Returns
    Type
    System.Boolean

    MoveToPreviousPage()

    Gets or sets a value indicating whether the page is moves to previous page or not ///

    Declaration
    public bool MoveToPreviousPage()
    Returns
    Type
    System.Boolean

    RaisePageChangedEvent()

    Raises the page changed event.

    Declaration
    protected void RaisePageChangedEvent()

    RaisePageChangingEvent(Int32)

    Raises the page changing event.

    Declaration
    protected bool RaisePageChangingEvent(int newPageIndex)
    Parameters
    Type Name Description
    System.Int32 newPageIndex

    New index of the page.

    Returns
    Type
    System.Boolean

    SetPageIndex(Int32)

    Sets the index of the page.

    Declaration
    public void SetPageIndex(int index)
    Parameters
    Type Name Description
    System.Int32 index

    Index of the page.

    SetTotalItemCount(Int32)

    Sets the total item count.

    Declaration
    public void SetTotalItemCount(int totalCount)
    Parameters
    Type Name Description
    System.Int32 totalCount

    The total item count.

    Events

    PageChanged

    Occurs when the page is changed in the pager.

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

    PageChanging

    Occurs when the page is changing in the pager.

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

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved