Skip to main content
A newer version of this page is available. .
Tab

ASPxPagerBase.CurrentPageNumberFormat Property

Gets or sets the pattern used to format the text of the numeric button that corresponds to the selected page.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.2.dll

Declaration

[DefaultValue("[{0}]")]
public virtual string CurrentPageNumberFormat { get; set; }

Property Value

Type Default Description
String "[{0}]"

A string value that specifies the format pattern.

Remarks

Use the CurrentPageNumberFormat property to specify the pattern for current page’s numeric button. The {0} placeholder is rendered as a page number.

<dx:ASPxPager ID="ASPxPager1" runat="server" ...
     CurrentPageNumberFormat="Page {0}" PageNumberFormat="page {0}">
     <Summary Text="Page {0} of {1} " />
</dx:ASPxPager>

pager-page-number-format

See Also