CollectionChangeEventArgs<T> Class
Event arguments for various SimpleObservableCollection<T> change events.
public class CollectionChangeEventArgs<T> : EventArgs
- Type Parameters:
-
T
-The Type of item.
Constructors
CollectionChangeEventArgs(int, T)
Initializes a new instance of the CollectionChangeEventArgs
class.
public CollectionChangeEventArgs(int index, T item)
Parameter | Type | Description |
---|---|---|
index | int | The index at which the item is/was located. |
item | T | The |
Properties
Index
Gets 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.