Class PagerTemplateContext
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 |
---|
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. |