Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

CollectionView::MoveCurrentToFirst Method

Sets the first item in the view as the CurrentItem.

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

public:
virtual bool MoveCurrentToFirst()

Return Value

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

Implements

ICollectionView::MoveCurrentToFirst()

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 allows you to retrieve the object that exists at that particular location in the collection. For more information, see "Binding to Collections" in Data Binding Overview.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft