ToggleButton.OnClick Method

July 28, 2014

Called when the ToggleButton is tapped by the user or the activated using the keyboard.

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

protected override void OnClick()

This implementation moves the toggle button control to its next IsChecked value.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2014 Microsoft