Class TrackingCollectionChangedEventArgs
- Namespace
- Stride.Core.Collections
- Assembly
- Stride.Core.dll
public class TrackingCollectionChangedEventArgs : EventArgs- Inheritance
- 
      objectTrackingCollectionChangedEventArgs
- Inherited Members
Constructors
TrackingCollectionChangedEventArgs(NotifyCollectionChangedAction, object?, object?, int, bool)
public TrackingCollectionChangedEventArgs(NotifyCollectionChangedAction action, object? item, object? oldItem, int index, bool collectionChanged)Parameters
- actionNotifyCollectionChangedAction
- itemobject
- oldItemobject
- indexint
- collectionChangedbool
TrackingCollectionChangedEventArgs(NotifyCollectionChangedAction, object, object?, object?, bool)
public TrackingCollectionChangedEventArgs(NotifyCollectionChangedAction action, object key, object? item, object? oldItem, bool collectionChanged)Parameters
- actionNotifyCollectionChangedAction
- keyobject
- itemobject
- oldItemobject
- collectionChangedbool
Properties
Action
public NotifyCollectionChangedAction Action { get; }Property Value
CollectionChanged
Gets a value indicating whether [collection changed (not a replacement but real insertion/removal)].
public bool CollectionChanged { get; }Property Value
- bool
- trueif [collection changed]; otherwise,- false.
Index
Gets the index in the collection (if applicable).
public int Index { get; }Property Value
Item
Gets the added or removed item (if dictionary, value only).
public object? Item { get; }Property Value
- object
Key
Gets the added or removed key (if dictionary).
public object? Key { get; }Property Value
- object
OldItem
public object? OldItem { get; }Property Value
- object