ToggleButton.Indeterminate 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.
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"/>