AutoSuggestBox.QuerySubmitted 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 user submits a search query.
// 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"/>
Event Type
Remarks
See AutoSuggestBoxQuerySubmittedEventArgs.
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