NotifyCollectionChangedEventArgs Constructor (NotifyCollectionChangedAction, Object, Int32, Int32) |
Initializes a new instance of the System.Collections.Specialized.NotifyCollectionChangedEventArgs
class that describes a one-item System.Collections.Specialized.NotifyCollectionChangedAction.Move
change.
Exceptions:
System.ArgumentException:
If action is not Move or index is less than 0.
Namespace: System.Collections.SpecializedAssembly: CSharpXamlForHtml5.System.dll (in CSharpXamlForHtml5.System.dll.dll) Version: 1.0.0.0
Syntax public NotifyCollectionChangedEventArgs(
NotifyCollectionChangedAction action,
Object changedItem,
int index,
int oldIndex
)
Parameters
- action
- Type: System.Collections.SpecializedNotifyCollectionChangedAction
The action that caused the event. This can only be set to System.Collections.Specialized.NotifyCollectionChangedAction.Move. - changedItem
- Type: SystemObject
The item affected by the change. - index
- Type: SystemInt32
The new index for the changed item. - oldIndex
- Type: SystemInt32
The old index for the changed item.
See Also