SearchBoxQuerySubmittedEventArgs SearchBoxQuerySubmittedEventArgs SearchBoxQuerySubmittedEventArgs SearchBoxQuerySubmittedEventArgs Class

Definition

Provides event data for the SearchBox.QuerySubmitted event.

public : sealed class SearchBoxQuerySubmittedEventArgs : ISearchBoxQuerySubmittedEventArgspublic sealed class SearchBoxQuerySubmittedEventArgs : ISearchBoxQuerySubmittedEventArgsPublic NotInheritable Class SearchBoxQuerySubmittedEventArgs Implements ISearchBoxQuerySubmittedEventArgs// This API is not available in Javascript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

Important

Although SearchBox is implemented in the Universal device family, it is not fully functional on mobile devices. Use AutoSuggestBox for your universal search experience. See SearchBox deprecated in favor of AutoSuggestBox.

Properties

KeyModifiers KeyModifiers KeyModifiers KeyModifiers

Gets any modifier keys that are pressed when the user presses enter to submit a query.

public : VirtualKeyModifiers KeyModifiers { get; }public VirtualKeyModifiers KeyModifiers { get; }Public ReadOnly Property KeyModifiers As VirtualKeyModifiers// This API is not available in Javascript.
Value
VirtualKeyModifiers VirtualKeyModifiers VirtualKeyModifiers VirtualKeyModifiers

Any modifier keys that are pressed when the user presses enter to submit a query.

Language Language Language Language

Gets the Internet Engineering Task Force (IETF) language tag (BCP 47 standard) that identifies the language currently associated with the user's text input device.

public : PlatForm::String Language { get; }public string Language { get; }Public ReadOnly Property Language As string// This API is not available in Javascript.
Value
PlatForm::String string string string

The IETF BCP 47 standard language tag.

LinguisticDetails LinguisticDetails LinguisticDetails LinguisticDetails

Gets information about query text that the user enters through an Input Method Editor (IME).

public : SearchQueryLinguisticDetails LinguisticDetails { get; }public SearchQueryLinguisticDetails LinguisticDetails { get; }Public ReadOnly Property LinguisticDetails As SearchQueryLinguisticDetails// This API is not available in Javascript.
Value
SearchQueryLinguisticDetails SearchQueryLinguisticDetails SearchQueryLinguisticDetails SearchQueryLinguisticDetails

Linguistic information about query text that the user enters through an Input Method Editor (IME).

QueryText QueryText QueryText QueryText

Gets the query text of the current search.

public : PlatForm::String QueryText { get; }public string QueryText { get; }Public ReadOnly Property QueryText As string// This API is not available in Javascript.
Value
PlatForm::String string string string

The query text of the current search.