AutoSuggestBox.QuerySubmitted É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 lorsque l’utilisateur envoie une requête de recherche.
// Register
event_token QuerySubmitted(TypedEventHandler<AutoSuggestBox, AutoSuggestBoxQuerySubmittedEventArgs const&> const& handler) const;
// Revoke with event_token
void QuerySubmitted(event_token const* cookie) const;
// Revoke with event_revoker
AutoSuggestBox::QuerySubmitted_revoker QuerySubmitted(auto_revoke_t, TypedEventHandler<AutoSuggestBox, AutoSuggestBoxQuerySubmittedEventArgs const&> const& handler) const;
public event TypedEventHandler<AutoSuggestBox,AutoSuggestBoxQuerySubmittedEventArgs> QuerySubmitted;
function onQuerySubmitted(eventArgs) { /* Your code */ }
autoSuggestBox.addEventListener("querysubmitted", onQuerySubmitted);
autoSuggestBox.removeEventListener("querysubmitted", onQuerySubmitted);
- or -
autoSuggestBox.onquerysubmitted = onQuerySubmitted;
Public Custom Event QuerySubmitted As TypedEventHandler(Of AutoSuggestBox, AutoSuggestBoxQuerySubmittedEventArgs)
<AutoSuggestBox QuerySubmitted="eventhandler"/>
Type d'événement
Remarques
Consultez AutoSuggestBoxQuerySubmittedEventArgs.