DomainDataSourceView.MoveToPage Method

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

Moves to the page at the specified index.

Namespace:  System.Windows.Controls
Assembly:  System.Windows.Controls.DomainServices (in System.Windows.Controls.DomainServices.dll)

Syntax

'Declaration
Public Function MoveToPage ( _
    pageIndex As Integer _
) As Boolean
'Usage
Dim instance As DomainDataSourceView
Dim pageIndex As Integer
Dim returnValue As Boolean

returnValue = instance.MoveToPage(pageIndex)
public bool MoveToPage(
    int pageIndex
)
public:
virtual bool MoveToPage(
    int pageIndex
) sealed
abstract MoveToPage : 
        pageIndex:int -> bool 
override MoveToPage : 
        pageIndex:int -> bool 
public final function MoveToPage(
    pageIndex : int
) : boolean

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.

Implements

IPagedCollectionViewMoveToPage(Int32)

See Also

Reference

DomainDataSourceView Class

System.Windows.Controls Namespace

MoveToPage(Int32)