alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class PagerTemplateContext

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

    Inheritance
    object
    PagerTemplateContext
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Blazor.Navigations
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class PagerTemplateContext

    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
    int

    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
    int

    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
    List<int>

    TotalItemsCount

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

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

    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
    int

    Total number of pages.

    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved