MoveCurrentTo Method

ICollectionView.MoveCurrentTo Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Sets the specified item in the view as the CurrentItem.

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

'Declaration
Function MoveCurrentTo ( _
	item As Object _
) As Boolean

Parameters

item
Type: System.Object
The item to set as the current item.

Return Value

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

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft