NotifyCollectionChangedEventArgs Constructor (NotifyCollectionChangedAction, Object, Int32) |
Initializes a new instance of the System.Collections.Specialized.NotifyCollectionChangedEventArgs class that describes a one-item change.
Exceptions:
System.ArgumentException:
If action is not Reset, Add, or Remove, or if action is Reset and either
changedItems is not null or index is not -1.
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
)
Parameters
- action
- Type: System.Collections.SpecializedNotifyCollectionChangedAction
The action that caused the event. This can be set to System.Collections.Specialized.NotifyCollectionChangedAction.Reset,
System.Collections.Specialized.NotifyCollectionChangedAction.Add, or System.Collections.Specialized.NotifyCollectionChangedAction.Remove.
- changedItem
- Type: SystemObject
The item that is affected by the change. - index
- Type: SystemInt32
The index where the change occurred.
See Also