共用方式為


RibbonGalleryCategory.OnItemsSourceChanged(IEnumerable, IEnumerable) 方法

定義

ItemsSource 屬性變更時叫用。

protected:
 override void OnItemsSourceChanged(System::Collections::IEnumerable ^ oldValue, System::Collections::IEnumerable ^ newValue);
protected override void OnItemsSourceChanged (System.Collections.IEnumerable oldValue, System.Collections.IEnumerable newValue);
override this.OnItemsSourceChanged : System.Collections.IEnumerable * System.Collections.IEnumerable -> unit
Protected Overrides Sub OnItemsSourceChanged (oldValue As IEnumerable, newValue As IEnumerable)

參數

oldValue
IEnumerable

ItemsSource 屬性的舊值。

newValue
IEnumerable

ItemsSource 屬性的新值。

適用於