NotifyCollectionChangedEventArgs Constructor (NotifyCollectionChangedAction, IList, Int32) |
Initializes a new instance of the System.Collections.Specialized.NotifyCollectionChangedEventArgs class
that describes a multi-item change or a System.Collections.Specialized.NotifyCollectionChangedAction.Reset change.
Exceptions:
System.ArgumentException:
If action is not Reset, Add, or Remove, if action is Reset and either changedItems
is not null or startingIndex is not -1, or if action is Add or Remove and
startingIndex is less than -1.
System.ArgumentNullException:
If action is Add or Remove and changedItems is null.
Namespace: System.Collections.SpecializedAssembly: CSharpXamlForHtml5.System.dll (in CSharpXamlForHtml5.System.dll.dll) Version: 1.0.0.0
Syntax public NotifyCollectionChangedEventArgs(
NotifyCollectionChangedAction action,
IList changedItems,
int startingIndex
)
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.
- changedItems
- Type: System.CollectionsIList
The items affected by the change. - startingIndex
- Type: SystemInt32
The index where the change occurred.
See Also