Partilhar via


ToggleSplitButton.IsCheckedChanged Evento

Definição

Ocorre quando o valor da propriedade IsChecked é alterado.

API equivalente do WinUI 2 para UWP: Microsoft.UI.Xaml.Controls.ToggleSplitButton.IsCheckedChanged (para WinUI no SDK do Aplicativo Windows, consulte os namespaces SDK do Aplicativo Windows).

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

Tipo de evento

Aplica-se a

Confira também