共用方式為


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

事件類型

適用於