Share via


ToggleSplitButton.IsCheckedChanged Event

Definition

Occurs when the value of the IsChecked property is changed.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.ToggleSplitButton.IsCheckedChanged (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

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

Event Type

Applies to

See also