NotifyCollectionChangedEventArgs Constructor (NotifyCollectionChangedAction, Object) |
Initializes a new instance of the System.Collections.Specialized.NotifyCollectionChangedEventArgs class that describes a one-item change.
Throws an exception if action is not Reset, Add, or Remove, or if action is Reset and changedItem is not null.
Namespace: System.Collections.SpecializedAssembly: CSharpXamlForHtml5.System.dll (in CSharpXamlForHtml5.System.dll.dll) Version: 1.0.0.0
Syntax public NotifyCollectionChangedEventArgs(
NotifyCollectionChangedAction action,
Object changedItem
)
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.
See Also