ICollectionView.MoveCurrentToPosition Method

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

Sets the item at the specified index to be the CurrentItem in the view.

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

Syntax

Function MoveCurrentToPosition ( _
    position As Integer _
) As Boolean
bool MoveCurrentToPosition(
    int position
)

Parameters

Return Value

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

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

ICollectionView Interface

System.ComponentModel Namespace

CurrentItem

CurrentChanging

CurrentChanged