ToggleButton.Unchecked 事件

定义

在未选中 ToggleButton 时发生。

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

事件类型

适用于