PagedCollectionView.MoveCurrentToFirst Method

Sets the first item in the view as the CurrentItem.

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

Syntax

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

Return Value

Type: System.Boolean
true if the resulting CurrentItem is an item in the view; otherwise, false.

Implements

ICollectionView.MoveCurrentToFirst()

Remarks

Collection views support the concept of a current record pointer. As you navigate through the objects in a collection view, you are moving a record pointer that enables you to retrieve the object that exists at that particular location in the collection.

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.