Export (0) Print
Expand All

NotifyCollectionChangedEventArgs Constructor (NotifyCollectionChangedAction)

Initializes a new instance of the NotifyCollectionChangedEventArgs class, specifying the NotifyCollectionChangedAction value.

Namespace:  System.Collections.Specialized
Assembly:  System.Windows (in System.Windows.dll)

public NotifyCollectionChangedEventArgs(
	NotifyCollectionChangedAction action
)

Parameters

action
Type: System.Collections.Specialized.NotifyCollectionChangedAction
The action value, as a value of the enumeration. This should always be Reset; see Remarks.

ExceptionCondition
NotSupportedException

action is not Reset.

Reset is the only valid action that can be passed to this constructor signature. After construction, NotifyCollectionChangedEventArgs properties are immutable, and only the Reset action does not require additional information such as the index where the change happened.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft