Windows.ApplicationModel.Search Namespace

Provides support for the search pane in apps that participate in the Search contract. The search pane opens when users activate the Search charm and provides a consistent, touch-friendly search box and optional search suggestions.

Classes

LocalContentSuggestionSettings

Stores settings that determine whether the app provides suggestions based on local files, and that define the criteria used to locate and filter these suggestions.

SearchPane

Deprecated. Use the Windows.UI.Xaml.Controls.SearchBox (XAML) or the WinJS.UI.SearchBox (HTML) control instead. Represents and manages the search pane that opens when a user activates the Search charm.

Note

An app can't use both the search box (Windows.UI.Xaml.Controls.SearchBox for XAMLUniversal Windows Platform (UWP) app, WinJS.UI.SearchBox for HTMLUniversal Windows Platform (UWP) app) and the SearchPane. Using both the search box and the search pane in the same app causes the app to throw an exception with this message: "Cannot create instance of type 'Windows.UI.Xaml.Controls.SearchBox.'"

SearchPaneQueryChangedEventArgs

Provides data for a querychanged event that is associated with a searchPane object.

SearchPaneQueryLinguisticDetails

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

SearchPaneQuerySubmittedEventArgs

Provides data for a querysubmitted event that is associated with a searchPane instance.

SearchPaneResultSuggestionChosenEventArgs

Provides data for a resultsuggestionchosen event that is associated with a searchPane object.

SearchPaneSuggestionsRequest

Stores suggestions and information about the request for suggestions.

SearchPaneSuggestionsRequestDeferral

Enables the app to signal when it has finished populating a searchSuggestionCollection object while handling the suggestionsrequested event. Apps should use a deferral if and only if they need to respond to a request for suggestions asynchronously.

SearchPaneSuggestionsRequestedEventArgs

Provides data for a suggestionsrequested event that is associated with a searchPane object.

SearchPaneVisibilityChangedEventArgs

Provides data for a visibilitychanged event that is associated with a searchPane object.

SearchQueryLinguisticDetails

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

SearchSuggestionCollection

Represents a collection of search suggestions to be displayed in the search pane in response to a suggestionsrequested event.

SearchSuggestionsRequest

Stores suggestions and information about the request for suggestions.

SearchSuggestionsRequestDeferral

Enables the app to signal when it has finished populating a SearchSuggestionCollection object while handling the SuggestionsRequested event. Use a deferral if and only if your app needs to respond to a request for suggestions asynchronously.

Structs

SearchContract

Interfaces

ISearchPaneQueryChangedEventArgs

Provides data for a querychanged event that is associated with a searchPane object.

See also