ComponentOne DataGrid for WPF and Silverlight
MoveCurrentToPosition Method

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

Parameters

position
The index to set the System.ComponentModel.ICollectionView.CurrentItem to.

Return Value

true if the resulting System.ComponentModel.ICollectionView.CurrentItem is an item in the view; otherwise, false.
See Also

Reference

BaseCollectionView Class
BaseCollectionView Members