ToggleSplitButton.IsCheckedChanged 事件

定义

更改 IsChecked 属性的值时发生。

// Register
event_token IsCheckedChanged(TypedEventHandler<ToggleSplitButton, ToggleSplitButtonIsCheckedChangedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
ToggleSplitButton::IsCheckedChanged_revoker IsCheckedChanged(auto_revoke_t, TypedEventHandler<ToggleSplitButton, ToggleSplitButtonIsCheckedChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<ToggleSplitButton,ToggleSplitButtonIsCheckedChangedEventArgs> IsCheckedChanged;
function onIsCheckedChanged(eventArgs) { /* Your code */ }
toggleSplitButton.addEventListener("ischeckedchanged", onIsCheckedChanged);
toggleSplitButton.removeEventListener("ischeckedchanged", onIsCheckedChanged);
- or -
toggleSplitButton.onischeckedchanged = onIsCheckedChanged;
Public Custom Event IsCheckedChanged As TypedEventHandler(Of ToggleSplitButton, ToggleSplitButtonIsCheckedChangedEventArgs) 

事件类型

适用于

另请参阅