CollectionViewSource.OnSourceChanged(Object, Object) 方法

定义

Source 属性更改时调用。

protected:
 virtual void OnSourceChanged(System::Object ^ oldSource, System::Object ^ newSource);
protected virtual void OnSourceChanged (object oldSource, object newSource);
abstract member OnSourceChanged : obj * obj -> unit
override this.OnSourceChanged : obj * obj -> unit
Protected Overridable Sub OnSourceChanged (oldSource As Object, newSource As Object)

参数

oldSource
Object

Source 属性的旧值。

newSource
Object

Source 属性的新值。

适用于