Редагувати

Поділитися через


MobileControl.OnPageChange(Int32, Int32) Method

Definition

Paginates a control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

protected:
 virtual void OnPageChange(int oldPageIndex, int newPageIndex);
protected virtual void OnPageChange (int oldPageIndex, int newPageIndex);
abstract member OnPageChange : int * int -> unit
override this.OnPageChange : int * int -> unit
Protected Overridable Sub OnPageChange (oldPageIndex As Integer, newPageIndex As Integer)

Parameters

oldPageIndex
Int32

Contains the index number of the current page prior to pagination.

newPageIndex
Int32

Contains the index number of the current page after pagination.

Remarks

When all the contents of a control cannot be displayed on the browsing device's screen at once, this function is called to paginate the control. The index numbers are zero-based.

Applies to

See also