次の方法で共有


SearchBox.QueryChanged イベント

定義

クエリ テキストが変更されたときに発生します。

// Register
event_token QueryChanged(TypedEventHandler<SearchBox, SearchBoxQueryChangedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
SearchBox::QueryChanged_revoker QueryChanged(auto_revoke_t, TypedEventHandler<SearchBox, SearchBoxQueryChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<SearchBox,SearchBoxQueryChangedEventArgs> QueryChanged;
function onQueryChanged(eventArgs) { /* Your code */ }
searchBox.addEventListener("querychanged", onQueryChanged);
searchBox.removeEventListener("querychanged", onQueryChanged);
- or -
searchBox.onquerychanged = onQueryChanged;
Public Custom Event QueryChanged As TypedEventHandler(Of SearchBox, SearchBoxQueryChangedEventArgs) 
<SearchBox QueryChanged="eventhandler"/>

イベントの種類

適用対象

こちらもご覧ください