Blazor

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class PagerTemplateContext

    Show / Hide Table of Contents

    Class PagerTemplateContext

    Represents a class that provides information about SfPager which as context for Template.

    Inheritance
    System.Object
    PagerTemplateContext
    Namespace: Syncfusion.Blazor.Navigations
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class PagerTemplateContext : Object

    Constructors

    PagerTemplateContext()

    Declaration
    public PagerTemplateContext()

    Properties

    CurrentPage

    Gets the page number of the current page displayed in the pager.

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

    The page number of the current page displayed.

    PageSize

    Gets or sets the number of items shown on a single page of the pager.

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

    The number of items shown on a single page.

    PageSizes

    Gets the list of items in the Pager dropdown.

    Declaration
    public List<int> PageSizes { get; }
    Property Value
    Type Description
    System.Collections.Generic.List<System.Int32>

    TotalItemsCount

    Gets the total number of items, to calculate TotalPages count based on PageSize.

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

    Total number of items.

    TotalPages

    Gets the total number of pages calculated using TotalItemsCount and PageSize.

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

    Total number of pages.

    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved