Skip to main content
Tab

ASPxPagerBase.PageNumberFormat Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

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

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