'Declaration
<ExtensionAttribute()> Public Shared Function CanMove(Of T As Class)( _ ByVal collectionView As ICollectionView(Of T), _ ByVal fromIndex As Integer, _ ByVal toIndex As Integer _ ) As Boolean
'Usage
Dim collectionView As ICollectionView(Of T) Dim fromIndex As Integer Dim toIndex As Integer Dim value As Boolean value = ICollectionViewEx.CanMove(Of T)(collectionView, fromIndex, toIndex)
[Extension()] public static bool CanMove<T>( ICollectionView<T> collectionView, int fromIndex, int toIndex ) where T: class
Parameters
- collectionView
- The collection view.
- fromIndex
- The original index.
- toIndex
- The destination index.
Type Parameters
- T