ObservableCollection<T>.CollectionChanged 事件

定义

在添加、删除或移动某个项或刷新整个列表时发生。

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

事件类型

实现

适用于

另请参阅