다음을 통해 공유


SearchBox.ResultSuggestionChosen 이벤트

정의

사용자가 제안된 검색 결과를 선택할 때 발생합니다.

// Register
event_token ResultSuggestionChosen(TypedEventHandler<SearchBox, SearchBoxResultSuggestionChosenEventArgs const&> const& handler) const;

// Revoke with event_token
void ResultSuggestionChosen(event_token const* cookie) const;

// Revoke with event_revoker
SearchBox::ResultSuggestionChosen_revoker ResultSuggestionChosen(auto_revoke_t, TypedEventHandler<SearchBox, SearchBoxResultSuggestionChosenEventArgs const&> const& handler) const;
public event TypedEventHandler<SearchBox,SearchBoxResultSuggestionChosenEventArgs> ResultSuggestionChosen;
function onResultSuggestionChosen(eventArgs) { /* Your code */ }
searchBox.addEventListener("resultsuggestionchosen", onResultSuggestionChosen);
searchBox.removeEventListener("resultsuggestionchosen", onResultSuggestionChosen);
- or -
searchBox.onresultsuggestionchosen = onResultSuggestionChosen;
Public Custom Event ResultSuggestionChosen As TypedEventHandler(Of SearchBox, SearchBoxResultSuggestionChosenEventArgs) 
<SearchBox ResultSuggestionChosen="eventhandler"/>

이벤트 유형

적용 대상