Skip to main content

CollectionChangedEventPattern

Type Alias CollectionChangedEventPattern 

Source
pub type CollectionChangedEventPattern<T> = EventPattern<ObservableCollection<T>, SharedNotifyCollectionChangedEventArgs<T>>;
Expand description

A notification of a change of a collection (EventPattern<NotifyCollectionChangedEventArgs>): the collection that changed, and the description of the change.

Aliased Type§

pub struct CollectionChangedEventPattern<T> {
    pub sender: ObservableCollection<T>,
    pub event_args: SharedNotifyCollectionChangedEventArgs<T>,
}

Fields§

§sender: ObservableCollection<T>

The sender of the event (Sender).

§event_args: SharedNotifyCollectionChangedEventArgs<T>

The arguments of the event (EventArgs).