ComponentOne Xamarin.Android
CanMove<T> Method (ICollectionViewEx)


C1.CollectionView Assembly > C1.CollectionView Namespace > ICollectionViewEx Class : CanMove<T> Method
The collection view.
The original index.
The destination index.
Determines whether the item at fromIndex can be moved to toIndex.
Syntax
'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
See Also

Reference

ICollectionViewEx Class
ICollectionViewEx Members