ICollectionView.MoveCurrentToPosition method

Applies to Windows and Windows Phone

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

Syntax


bool MoveCurrentToPosition(
  int index
)

Parameters

index

Type: System.Int32 [.NET] | int32 [C++]

The index of the item to move to.

Return value

Type: System.Boolean [.NET] | Platform::Boolean [C++]

true if the resulting CurrentItem is an item within the view; otherwise, false.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Data
Windows::UI::Xaml::Data [C++]

Metadata

Windows.winmd

See also

ICollectionView

 

 

Show:
© 2014 Microsoft