ToggleButton.OnContentChanged Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Called when the ContentControl property changes.
Assembly: System.Windows (in System.Windows.dll)
'Declaration Protected Overrides Sub OnContentChanged ( _ oldContent As Object, _ newContent As Object _ )
Parameters
- oldContent
- Type: System.Object
The content to be replaced.
- newContent
- Type: System.Object
The new content to display.
Show: