共用方式為


MenuItem.OnItemsChanged(NotifyCollectionChangedEventArgs) 方法

定義

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)

參數

e
NotifyCollectionChangedEventArgs

ItemsChanged 事件的事件資料。

適用於