NotifyCollectionChangedEventArgs NotifyCollectionChangedEventArgs NotifyCollectionChangedEventArgs NotifyCollectionChangedEventArgs Class

Definition

Provides the event data for a CollectionChanged event.

.NET This class appears as System.Collections.Specialized.NotifyCollectionChangedEventArgs.

public : class NotifyCollectionChangedEventArgs : INotifyCollectionChangedEventArgs
struct winrt::Windows::UI::Xaml::Interop::NotifyCollectionChangedEventArgs : INotifyCollectionChangedEventArgs
public class NotifyCollectionChangedEventArgs : INotifyCollectionChangedEventArgs
Public Class NotifyCollectionChangedEventArgs Implements INotifyCollectionChangedEventArgs
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

When programming with .NET, this class is hidden and developers should use the System.Collections.Specialized.NotifyCollectionChangedEventArgs class.

Constructors

NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, IBindableVector, IBindableVector, Int32, Int32) NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, IBindableVector, IBindableVector, Int32, Int32) NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, IBindableVector, IBindableVector, Int32, Int32) NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, IBindableVector, IBindableVector, Int32, Int32)

Initializes a new instance of the NotifyCollectionChangedEventArgs class.

Properties

Action Action Action Action

Gets the description of the action that caused the event.

NewItems NewItems NewItems NewItems

Gets the items affected by an action.

NewStartingIndex NewStartingIndex NewStartingIndex NewStartingIndex

Gets the index at which the change occurred.

OldItems OldItems OldItems OldItems

Gets the item affected by a Replace or Remove action.

OldStartingIndex OldStartingIndex OldStartingIndex OldStartingIndex

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

See Also