Windows Dev Center

SearchBoxQuerySubmittedEventArgs class

Provides event data for the SearchBox.QuerySubmitted event.

Note  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.

Inheritance

Object
  SearchBoxQuerySubmittedEventArgs

Syntax


public sealed class SearchBoxQuerySubmittedEventArgs

Members

The SearchBoxQuerySubmittedEventArgs class has these types of members:

Methods

The SearchBoxQuerySubmittedEventArgs class inherits methods from the Object class.

Properties

The SearchBoxQuerySubmittedEventArgs class has these properties.

PropertyAccess typeDescription

KeyModifiers

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

Language

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

LinguisticDetails

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

QueryText

Read-onlyGets the query text of the current search.

 

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.UI.Xaml.Controls
Windows::UI::Xaml::Controls [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8.1 [Windows Store apps only]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps only]

Minimum supported phone

None supported

Namespace

Windows.UI.Xaml.Controls
Windows::UI::Xaml::Controls [C++]

Metadata

Windows.winmd

Attributes

[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version(0x06030000)]
[WebHostHidden()]

See also

Object
SearchBox.QuerySubmitted

 

 

Show:
© 2015 Microsoft