WindowOnContentChanged Method
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Called when the property changes.

Namespace:   System.Windows
Assembly:  PresentationFramework (in PresentationFramework.dll)

protected override void OnContentChanged(
	object oldContent,
	object newContent
)
protected:
virtual void OnContentChanged(
	Object^ oldContent,
	Object^ newContent
) override
override OnContentChanged : 
        oldContent:Object *
        newContent:Object -> unit
Protected Overrides Sub OnContentChanged (
	oldContent As Object,
	newContent As Object
)

Parameters

oldContent
Type:

A reference to the root of the old content tree.

newContent
Type:

A reference to the root of the new content tree.

.NET Framework
Available since 3.0
Return to top