ContentControl.OnContentChanged(Object, Object) Método

Definición

Se le llama cuando cambia la propiedad Content.

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

Parámetros

oldContent
Object

Valor antiguo de la propiedad Content.

newContent
Object

Nuevo valor de la propiedad Content .

Se aplica a