Bearbeiten

Freigeben über


ItemsControl.OnItemsSourceChanged(IEnumerable, IEnumerable) Method

Definition

Called when the ItemsSource property changes.

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

Parameters

oldValue
IEnumerable

Old value of the ItemsSource property.

newValue
IEnumerable

New value of the ItemsSource property.

Applies to