NotifyCollectionChangedEventArgs Constructor (NotifyCollectionChangedAction, Object, Int32)
Assembly: System.Windows (in System.Windows.dll)
'Declaration Public Sub New ( _ action As NotifyCollectionChangedAction, _ changedItem As Object, _ index As Integer _ )
- Type: System.Collections.Specialized.NotifyCollectionChangedAction
The action value, as a value of the enumeration. This should be Add or Remove; see Remarks.
- Type: System.Object
The item that is affected by the change.
- Type: System.Int32
The index where the change occurred.
Add or Remove are the only valid actions that can be passed to this constructor signature. After construction, NotifyCollectionChangedEventArgs properties are immutable. A Reset action should use the NotifyCollectionChangedEventArgs signature, and a Replace action should use the NotifyCollectionChangedEventArgs signature because it needs to specify the old and new items.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.