ContentControl.OnContentChanged(Object, Object) Метод

Определение

Вызывается при изменении свойства Content.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)

Параметры

oldContent
Object

Старое значение свойства Content.The old value of the Content property.

newContent
Object

Новое значение свойства Content.The new value of the Content property.

Применяется к