ItemsControl.OnItemsSourceChanged(IEnumerable, IEnumerable) ItemsControl.OnItemsSourceChanged(IEnumerable, IEnumerable) ItemsControl.OnItemsSourceChanged(IEnumerable, IEnumerable) ItemsControl.OnItemsSourceChanged(IEnumerable, IEnumerable) Method

Definición

Se llama a este método cuando cambia la propiedad de ItemsSource.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)

Parámetros

oldValue
IEnumerable IEnumerable IEnumerable IEnumerable

Valor antiguo de la propiedad ItemsSource.Old value of the ItemsSource property.

newValue
IEnumerable IEnumerable IEnumerable IEnumerable

Valor nuevo de la propiedad ItemsSource.New value of the ItemsSource property.

Se aplica a