SearchBoxQuerySubmittedEventArgs class
TOC
Collapse the table of content
Expand the table of content

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-only

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

Language

Read-only

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.

LinguisticDetails

Read-only

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

QueryText

Read-only

Gets the query text of the current search.

 

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

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:
© 2017 Microsoft