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.

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

Syntax

Protected Overrides Sub OnContentChanged ( _
    oldContent As Object, _
    newContent As Object _
)
protected override void OnContentChanged(
    Object oldContent,
    Object newContent
)

Parameters

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

ToggleButton Class

System.Windows.Controls.Primitives Namespace

CheckBox

RadioButton