共用方式為


INotifyCollectionChanged.CollectionChanged 事件

定義

當集合變更時發生。

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

事件類型

備註

事件處理程式會接收 類型的 NotifyCollectionChangedEventArgs自變數,其中包含與這個事件相關的數據。

適用於