Bewerken

Share via


ContentControl.OnContentChanged(Object, Object) Method

Definition

Called when the Content property changes.

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)

Parameters

oldContent
Object

The old value of the Content property.

newContent
Object

The new value of the Content property.

Applies to