ICollectionView::MoveCurrentTo Method (Object^)

 

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

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

bool MoveCurrentTo(
	Object^ item
)

Parameters

item
Type: System::Object^

The item to set as the CurrentItem.

Return Value

Type: System::Boolean

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

.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: