Delen via


ToggleButton.Indeterminate Event

Definition

Fires when the state of a ToggleButton is switched to the indeterminate state.

// Register
event_token Indeterminate(RoutedEventHandler const& handler) const;

// Revoke with event_token
void Indeterminate(event_token const* cookie) const;

// Revoke with event_revoker
ToggleButton::Indeterminate_revoker Indeterminate(auto_revoke_t, RoutedEventHandler const& handler) const;
public event RoutedEventHandler Indeterminate;
function onIndeterminate(eventArgs) { /* Your code */ }
toggleButton.addEventListener("indeterminate", onIndeterminate);
toggleButton.removeEventListener("indeterminate", onIndeterminate);
- or -
toggleButton.onindeterminate = onIndeterminate;
Public Custom Event Indeterminate As RoutedEventHandler 
<togglebutton Indeterminate="eventhandler"/>

Event Type

Applies to