NotifyCollectionChangedEventArgs Class

 

Provides data for the CollectionChanged event.

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

System::Object
  System::EventArgs
    System.Collections.Specialized::NotifyCollectionChangedEventArgs

public ref class NotifyCollectionChangedEventArgs : EventArgs

NameDescription
System_CAPS_pubmethodNotifyCollectionChangedEventArgs(NotifyCollectionChangedAction)

Initializes a new instance of the NotifyCollectionChangedEventArgs class that describes a Reset change.

System_CAPS_pubmethodNotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, IList^)

Initializes a new instance of the NotifyCollectionChangedEventArgs class that describes a multi-item change.

System_CAPS_pubmethodNotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, IList^, IList^)

Initializes a new instance of the NotifyCollectionChangedEventArgs class that describes a multi-item Replace change.

System_CAPS_pubmethodNotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, IList^, IList^, Int32)

Initializes a new instance of the NotifyCollectionChangedEventArgs class that describes a multi-item Replace change.

System_CAPS_pubmethodNotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, IList^, Int32)

Initializes a new instance of the NotifyCollectionChangedEventArgs class that describes a multi-item change or a Reset change.

System_CAPS_pubmethodNotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, IList^, Int32, Int32)

Initializes a new instance of the NotifyCollectionChangedEventArgs class that describes a multi-item Move change.

System_CAPS_pubmethodNotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, Object^)

Initializes a new instance of the NotifyCollectionChangedEventArgs class that describes a one-item change.

System_CAPS_pubmethodNotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, Object^, Int32)

Initializes a new instance of the NotifyCollectionChangedEventArgs class that describes a one-item change.

System_CAPS_pubmethodNotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, Object^, Int32, Int32)

Initializes a new instance of the NotifyCollectionChangedEventArgs class that describes a one-item Move change.

System_CAPS_pubmethodNotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, Object^, Object^)

Initializes a new instance of the NotifyCollectionChangedEventArgs class that describes a one-item Replace change.

System_CAPS_pubmethodNotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, Object^, Object^, Int32)

Initializes a new instance of the NotifyCollectionChangedEventArgs class that describes a one-item Replace change.

NameDescription
System_CAPS_pubpropertyAction

Gets the action that caused the event.

System_CAPS_pubpropertyNewItems

Gets the list of new items involved in the change.

System_CAPS_pubpropertyNewStartingIndex

Gets the index at which the change occurred.

System_CAPS_pubpropertyOldItems

Gets the list of items affected by a Replace, Remove, or Move action.

System_CAPS_pubpropertyOldStartingIndex

Gets the index at which a Move, Remove, or Replace action occurred.

NameDescription
System_CAPS_pubmethodEquals(Object^)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: