Click or drag to resize
NotifyCollectionChangedEventArgs Constructor (NotifyCollectionChangedAction, IList, IList, Int32)
Initializes a new instance of the System.Collections.Specialized.NotifyCollectionChangedEventArgs class that describes a multi-item System.Collections.Specialized.NotifyCollectionChangedAction.Replace change. Exceptions: System.ArgumentException: If action is not Replace. System.ArgumentNullException: If oldItems or newItems is null.

Namespace: System.Collections.Specialized
Assembly: CSharpXamlForHtml5.System.dll (in CSharpXamlForHtml5.System.dll.dll) Version: 1.0.0.0
Syntax
C#
public NotifyCollectionChangedEventArgs(
	NotifyCollectionChangedAction action,
	IList newItems,
	IList oldItems,
	int startingIndex
)

Parameters

action
Type: System.Collections.SpecializedNotifyCollectionChangedAction
The action that caused the event. This can only be set to System.Collections.Specialized.NotifyCollectionChangedAction.Replace.
newItems
Type: System.CollectionsIList
The new items that are replacing the original items.
oldItems
Type: System.CollectionsIList
The original items that are replaced.
startingIndex
Type: SystemInt32
The index of the first item of the items that are being replaced.
See Also