共用方式為


Selector.OnItemsSourceChanged(IEnumerable, IEnumerable) 方法

定義

當選取器內的項目來源變更時呼叫。

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

舊的來源值。

newValue
IEnumerable

新的來源值。

適用於