共用方式為


TreeView.OnItemsChanged(NotifyCollectionChangedEventArgs) 方法

定義

提供 ItemsChanged 事件的類別處理,當 Items 集合變更時會發生此事件。

protected:
 override void OnItemsChanged(System::Collections::Specialized::NotifyCollectionChangedEventArgs ^ e);
protected override void OnItemsChanged (System.Collections.Specialized.NotifyCollectionChangedEventArgs e);
override this.OnItemsChanged : System.Collections.Specialized.NotifyCollectionChangedEventArgs -> unit
Protected Overrides Sub OnItemsChanged (e As NotifyCollectionChangedEventArgs)

參數

適用於