Window::OnContentChanged Method (Object^, Object^)

 

Called when the Content property changes.

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

protected:
virtual void OnContentChanged(
	Object^ oldContent,
	Object^ newContent
) override

Parameters

oldContent
Type: System::Object^

A reference to the root of the old content tree.

newContent
Type: System::Object^

A reference to the root of the new content tree.

.NET Framework
Available since 3.0
Return to top
Show: