Ler em inglês

Compartilhar via


PagedCollectionView.MoveToFirstPage Method

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

Sets the first page as the current page.

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

Syntax

'Declaration
Public Function MoveToFirstPage As Boolean
public bool MoveToFirstPage()

Return Value

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

Implements

IPagedCollectionView.MoveToFirstPage()

Remarks

When a page change occurs, the PagedCollectionView will try to commit any pending add or edit transactions. If the transactions cannot be committed successfully, the page move will be canceled.

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.