Редагувати

Поділитися через


NotifyCollectionChangedEventArgs Class

Definition

Provides data for the CollectionChanged event.

public ref class NotifyCollectionChangedEventArgs : EventArgs
public class NotifyCollectionChangedEventArgs : EventArgs
type NotifyCollectionChangedEventArgs = class
    inherit EventArgs
Public Class NotifyCollectionChangedEventArgs
Inherits EventArgs
Inheritance
NotifyCollectionChangedEventArgs

Constructors

NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction)

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

NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, IList)

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

NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, IList, IList)

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

NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, IList, IList, Int32)

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

NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, IList, Int32)

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

NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, IList, Int32, Int32)

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

NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, Object)

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

NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, Object, Int32)

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

NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, Object, Int32, Int32)

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

NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, Object, Object)

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

NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, Object, Object, Int32)

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

Properties

Action

Gets the action that caused the event.

NewItems

Gets the list of new items involved in the change.

NewStartingIndex

Gets the index at which the change occurred.

OldItems

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

OldStartingIndex

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

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also