ContentControl.OnContentChanged(Object, Object) ContentControl.OnContentChanged(Object, Object) ContentControl.OnContentChanged(Object, Object) ContentControl.OnContentChanged(Object, Object) Method

定义

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 Object Object Object

Content 属性的旧值。The old value of the Content property.

newContent
Object Object Object Object

Content 属性的新值。The new value of the Content property.

适用于