次の方法で共有


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

イベントの種類

適用対象