Tab
A newer version of this page is available. Switch to the current version.

ASPxPagerBase.PageNumberFormat Property

Gets or sets the pattern used to format the text of numeric buttons.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

[DefaultValue("{0}")]
public virtual string PageNumberFormat { get; set; }
<DefaultValue("{0}")>
Public Overridable Property PageNumberFormat As String

Property Value

Type Default Description
String

"{0}"

A string value that specifies the format pattern.

Remarks

Use the PageNumberFormat property to specify the pattern for pager numeric buttons. 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