NotifyCollectionChangedEventArgs Constructor (NotifyCollectionChangedAction, Object, Object, Int32) |
Initializes a new instance of the System.Collections.Specialized.NotifyCollectionChangedEventArgs
class that describes a one-item System.Collections.Specialized.NotifyCollectionChangedAction.Replace
change.
Exceptions:
System.ArgumentException:
If action is not Replace.
Namespace: System.Collections.SpecializedAssembly: CSharpXamlForHtml5.System.dll (in CSharpXamlForHtml5.System.dll.dll) Version: 1.0.0.0
Syntax public NotifyCollectionChangedEventArgs(
NotifyCollectionChangedAction action,
Object newItem,
Object oldItem,
int index
)
Parameters
- action
- Type: System.Collections.SpecializedNotifyCollectionChangedAction
The action that caused the event. This can be set to System.Collections.Specialized.NotifyCollectionChangedAction.Replace. - newItem
- Type: SystemObject
The new item that is replacing the original item. - oldItem
- Type: SystemObject
The original item that is replaced. - index
- Type: SystemInt32
The index of the item being replaced.
See Also