PageInfo

Page information of a paged listing.

Namespace:
Inetdev.Data.Filtering
Type:
Class
Public:
Yes
Protected:
No
Sealed:
No
Abstract:
No
Inherits from:
System.Object

Constructors

PageInfo

Initializes a new instance of PageInfo.

Signature:
public Void PageInfo(page, pageLength, itemsCount, totalItems, totalItemsFiltered)
Parameters
Name Type Summary
page Int32 Current page number.
pageLength Int32 Length of the page.
itemsCount Int32 Items count.
totalItems Int32 Total quantity of items.
totalItemsFiltered Int32 Total quantity of items filtered.

Properties

From

First number of item.

Signature:
public Int32 From { get; }

IsPaged

Whether the listing is paged.

Signature:
public Boolean IsPaged { get; }

ItemsCount

Items count.

Signature:
public Int32 ItemsCount { get; set; }

Page

Current page number.

Signature:
public Int32 Page { get; set; }

PageCount

Page count.

Signature:
public Int32 PageCount { get; }

PageLength

Length of the page.

Signature:
public Int32 PageLength { get; set; }

ShowingAll

Whether all items is beeing shown.

Signature:
public Boolean ShowingAll { get; }

To

Last number of item.

Signature:
public Int32 To { get; }

TotalItems

Total quantity of items.

Signature:
public Int32 TotalItems { get; set; }

TotalItemsFiltered

Total quantity of items filtered.

Signature:
public Int32 TotalItemsFiltered { get; set; }

Methods

ToString

Returns a textual representation of this PageInfo.

Signature:
public String ToString()