Class PaginationOptions
- Namespace
- Cuemon.Collections.Generic
- Assembly
- Cuemon.Core.dll
Configuration options for PaginationEnumerable<T> and PaginationList<T>.
public class PaginationOptions : IParameterObject
- Inheritance
-
PaginationOptions
- Implements
Constructors
PaginationOptions()
Initializes a new instance of the PaginationOptions class.
public PaginationOptions()
Remarks
The following table shows the initial property values for an instance of PaginationOptions.
Property | Initial Value |
---|---|
PageNumber | 1 |
PageSize | 25 |
Properties
PageNumber
Gets or sets the one-based number of the page to iterate.
public int PageNumber { get; set; }
Property Value
- Int32
The one-based number of the page to iterate.
PageSize
Gets or sets the number of elements to display on a page.
public int PageSize { get; set; }
Property Value
- Int32
The number of elements to display on a page.