ToggleButton.Unchecked Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when a ToggleButton is unchecked.
// Register
event_token Unchecked(RoutedEventHandler const& handler) const;
// Revoke with event_token
void Unchecked(event_token const* cookie) const;
// Revoke with event_revoker
ToggleButton::Unchecked_revoker Unchecked(auto_revoke_t, RoutedEventHandler const& handler) const;
public event RoutedEventHandler Unchecked;
function onUnchecked(eventArgs) { /* Your code */ }
toggleButton.addEventListener("unchecked", onUnchecked);
toggleButton.removeEventListener("unchecked", onUnchecked);
- or -
toggleButton.onunchecked = onUnchecked;
Public Custom Event Unchecked As RoutedEventHandler
<togglebutton Unchecked="eventhandler"/>