Udostępnij za pośrednictwem


IPagedCollectionView.MoveToPage Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Moves to the page at the specified index.

Namespace:  System.ComponentModel
Assembly:  System.Windows.Data (in System.Windows.Data.dll)

Syntax

'Declaration
Function MoveToPage ( _
    pageIndex As Integer _
) As Boolean
bool MoveToPage(
    int pageIndex
)

Parameters

  • pageIndex
    Type: System.Int32
    The index of the page to move to.

Return Value

Type: System.Boolean
true if the operation was successful; otherwise, false.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.