Data for Silverlight
MoveCurrentToPosition Method

C1.Silverlight.Data Namespace > DataView Class : MoveCurrentToPosition Method
The index to set the System.Windows.Data.PagedCollectionView.CurrentItem to.
Sets the item at the specified index to be the System.Windows.Data.PagedCollectionView.CurrentItem in the view.
Syntax
'Declaration
 
Public Overridable Function MoveCurrentToPosition( _
   ByVal position As Integer _
) As Boolean
public virtual bool MoveCurrentToPosition( 
   int position
)

Parameters

position
The index to set the System.Windows.Data.PagedCollectionView.CurrentItem to.

Return Value

True if the resulting System.Windows.Data.PagedCollectionView.CurrentItem is an item in the view; otherwise, false.
See Also

Reference

DataView Class
DataView Members