Compartilhar via


ContentControl.OnContentChanged(Object, Object) Método

Definição

Chamado quando a propriedade Content é alterada.

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

O valor antigo da propriedade Content.

newContent
Object

O novo valor da propriedade Content.

Aplica-se a