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.

適用対象