ReadOnlyObservableCollection<T>.CollectionChanged 事件

定义

添加或删除项时发生。

protected:
 virtual event System::Collections::Specialized::NotifyCollectionChangedEventHandler ^ CollectionChanged;
protected virtual event System.Collections.Specialized.NotifyCollectionChangedEventHandler CollectionChanged;
protected virtual event System.Collections.Specialized.NotifyCollectionChangedEventHandler? CollectionChanged;
member this.CollectionChanged : System.Collections.Specialized.NotifyCollectionChangedEventHandler 
Protected Overridable Custom Event CollectionChanged As NotifyCollectionChangedEventHandler 
Protected Overridable Event CollectionChanged As NotifyCollectionChangedEventHandler 

事件类型

实现

注解

有关详细信息,请参阅 CollectionChanged

适用于