ComponentOne CollectionView
C1.CollectionView Assembly / C1.CollectionView Namespace / ICollectionViewEx Class / CanMove<T> Method
The collection view.
The original index.
The destination index.

In This Topic
    CanMove<T> Method (ICollectionViewEx)
    In This Topic
    Determines whether the item at fromIndex can be moved to toIndex.
    Syntax
    'Declaration
     
    Public Shared Function CanMove(Of T As Class)( _
       ByVal collectionView As ICollectionView(Of T), _
       ByVal fromIndex As System.Integer, _
       ByVal toIndex As System.Integer _
    ) As System.Boolean
    public static System.bool CanMove<T>( 
       ICollectionView<T> collectionView,
       System.int fromIndex,
       System.int toIndex
    )
    where T: class

    Parameters

    collectionView
    The collection view.
    fromIndex
    The original index.
    toIndex
    The destination index.

    Type Parameters

    T
    See Also