Class PageNumber

PageNumber class

Represents a page number format that includes an index, total number of pages, and a delimiter.

public sealed class PageNumber

Constructors

NameDescription
PageNumber()The default constructor.

Properties

NameDescription
Delimiter { get; set; }Gets or sets the delimiter used in the page number format. The formatted string will be updated based on the specified delimiter.
Index { get; set; }Gets or sets the page index component of the page number format. The formatted string will include a placeholder for the page index.
Offset { get; set; }Gets or sets the offset to be added to the page index.
TotalNum { get; set; }Gets or sets the total number of pages component of the page number format. The formatted string will include a placeholder for the total number of pages.

Methods

NameDescription
GetPageNumberString(int, int)Returns a formatted string representing the page number based on the current settings.

Other Members

NameDescription
class PageIndexRepresents the page index component in the page number format.
class PageTotalNumRepresents the total number of pages component in the page number format.

See Also