In This Article

CollectionChangeEventArgs<T> Class

Event arguments for various SimpleObservableCollection<T> change events.

public class CollectionChangeEventArgs<T> : EventArgs
Type Parameters:
T -

The System.Type of item.

Inheritance:
System.Object System.EventArgs Object

Constructors

CollectionChangeEventArgs(Int32, T)

Initializes a new instance of the CollectionChangeEventArgs class.

public CollectionChangeEventArgs(int index, T item)
Parameter Type Description
index System.Int32

The index at which the item is/was located.

item T

The T that is affected by this event.

Properties

Index

Gets the index at which the item is/was located.

public int Index { get; }

Property Value

System.Int32:

The index at which the item is/was located.

Item

Gets the T that is affected by this event.

public T Item { get; }

Property Value

T:

The T that is affected by this event.

Inherited Members

  • System.EventArgs.Empty
  • System.Object.ToString()
  • System.Object.Equals(System.Object)
  • System.Object.Equals(System.Object, System.Object)
  • System.Object.ReferenceEquals(System.Object, System.Object)
  • System.Object.GetHashCode()
  • System.Object.GetType()
  • System.Object.MemberwiseClone()