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 属性的新值。

适用于