[]
        
(Showing Draft Content)

C1.DataCollection.IDataCollectionEx.CanMove

CanMove Method

CanMove<T>(IDataCollection<T>, int, int)

Determines whether the item at fromIndex can be moved to toIndex.

Declaration
public static bool CanMove<T>(this IDataCollection<T> dataCollection, int fromIndex, int toIndex) where T : class?
Parameters
Type Name Description
IDataCollection<T> dataCollection

The data collection.

int fromIndex

The original index.

int toIndex

The destination index.

Returns
Type Description
bool
Type Parameters
Name Description
T