ContentControl.OnContentChanged Method

July 28, 2014

Called when the value of the Content property changes.

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

protected virtual void OnContentChanged(
	Object oldContent,
	Object newContent
)

Parameters

oldContent
Type: System.Object
The old value of the Content property.
newContent
Type: System.Object
The new value of the Content property.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2014 Microsoft