Delen via


ToggleButton.Unchecked Event

Definition

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"/>

Event Type

Applies to