ComponentOne Xamarin.Android
Create(NotifyCollectionChangedAction,Object,Int32,Int32) Method


C1.CollectionView Assembly > C1.CollectionView Namespace > NotifyCollectionChangedAsyncEventArgs Class > Create Method : Create(NotifyCollectionChangedAction,Object,Int32,Int32) Method
The action that caused the event. This can only be set to System.Collections.Specialized.NotifyCollectionChangedAction.Move.
The item affected by the change.
The new index for the changed item.
The old index for the changed item.
Initializes a new instance of the NotifyCollectionChangedAsyncEventArgs class.
Syntax
'Declaration
 
Public Overloads Shared Function Create( _
   ByVal action As NotifyCollectionChangedAction, _
   ByVal changedItem As Object, _
   ByVal index As Integer, _
   ByVal oldIndex As Integer _
) As NotifyCollectionChangedDeferralsAwaiter
'Usage
 
Dim action As NotifyCollectionChangedAction
Dim changedItem As Object
Dim index As Integer
Dim oldIndex As Integer
Dim value As NotifyCollectionChangedDeferralsAwaiter
 
value = NotifyCollectionChangedAsyncEventArgs.Create(action, changedItem, index, oldIndex)

Parameters

action
The action that caused the event. This can only be set to System.Collections.Specialized.NotifyCollectionChangedAction.Move.
changedItem
The item affected by the change.
index
The new index for the changed item.
oldIndex
The old index for the changed item.
See Also

Reference

NotifyCollectionChangedAsyncEventArgs Class
NotifyCollectionChangedAsyncEventArgs Members
Overload List