ToggleSplitButton.IsCheckedChanged 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.
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
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro