OnContentChanged Method
Collapse the table of content
Expand the table of content

ContentControl.OnContentChanged Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Called when the value of the Content property changes.

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

'Declaration
Protected Overridable Sub OnContentChanged ( _
	oldContent As Object, _
	newContent As Object _
)

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:
© 2018 Microsoft