ContentControl.OnContentChanged(Object, Object) 方法

定义

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)

参数

oldContent
Object

Content 属性的旧值。

newContent
Object

Content 属性的新值。

适用于