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
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin