ToggleButton.Indeterminate 事件

定义

当 ToggleButton 的状态切换到不确定状态时触发。

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

事件类型

适用于