NumberBox.ValueChanged Événement
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Se produit après que l’utilisateur a déclenché l’évaluation de la nouvelle entrée en appuyant sur la touche Entrée, en cliquant sur un bouton de rotation ou en modifiant le focus.
// Register
event_token ValueChanged(TypedEventHandler<NumberBox, NumberBoxValueChangedEventArgs const&> const& handler) const;
// Revoke with event_token
void ValueChanged(event_token const* cookie) const;
// Revoke with event_revoker
NumberBox::ValueChanged_revoker ValueChanged(auto_revoke_t, TypedEventHandler<NumberBox, NumberBoxValueChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<NumberBox,NumberBoxValueChangedEventArgs> ValueChanged;
function onValueChanged(eventArgs) { /* Your code */ }
numberBox.addEventListener("valuechanged", onValueChanged);
numberBox.removeEventListener("valuechanged", onValueChanged);
- or -
numberBox.onvaluechanged = onValueChanged;
Public Custom Event ValueChanged As TypedEventHandler(Of NumberBox, NumberBoxValueChangedEventArgs)
Type d'événement
S’applique à
Voir aussi
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour