Redigera

Dela via


PagerStyle.GetPageLabelText(Int32, Int32) Method

Definition

Returns a formatted string for the UI element used to navigate to the next page. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public:
 System::String ^ GetPageLabelText(int currentPageIndex, int pageCount);
public string GetPageLabelText (int currentPageIndex, int pageCount);
member this.GetPageLabelText : int * int -> string
Public Function GetPageLabelText (currentPageIndex As Integer, pageCount As Integer) As String

Parameters

currentPageIndex
Int32

The current page index.

pageCount
Int32

The page count.

Returns

A formatted string for the UI element used to navigate to the next page.

Remarks

Uses the property and the one-based current page index passed in to format the string. Used by form adapters.

Applies to

See also