共用方式為


ItemsControl.OnItemsChanged(NotifyCollectionChangedEventArgs) 方法

定義

Items 屬性變更時叫用。

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

參數

e
NotifyCollectionChangedEventArgs

變更的相關資訊。

適用於