NotifyCollectionChangedEventArgs Constructor (NotifyCollectionChangedAction, Object, Object) |
Initializes a new instance of the System.Collections.Specialized.NotifyCollectionChangedEventArgs class
that describes a one-item System.Collections.Specialized.NotifyCollectionChangedAction.Replace change.
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
)
Parameters
- action
- Type: System.Collections.SpecializedNotifyCollectionChangedAction
The action that caused the event. This can only 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.
See Also