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
Name | Description |
---|
PageNumber() | The default constructor. |
Properties
Name | Description |
---|
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
Name | Description |
---|
GetPageNumberString(int, int) | Returns a formatted string representing the page number based on the current settings. |
Other Members
Name | Description |
---|
class PageIndex | Represents the page index component in the page number format. |
class PageTotalNum | Represents the total number of pages component in the page number format. |
See Also