ComponentOne DataGrid for WPF and Silverlight
C1.Silverlight.DataGrid.Data Namespace / BaseCollectionView Class / MoveCurrentToPosition Method
The index to set the System.ComponentModel.ICollectionView.CurrentItem to.

In This Topic
    MoveCurrentToPosition Method (BaseCollectionView)
    In This Topic
    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 Integer _
    ) As Boolean
    public virtual bool MoveCurrentToPosition( 
       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