Delen via


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.AutoSuggestBox control instead. Represents and manages the search pane that opens when a user activates the Search charm.

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.

Interfaces

ISearchPaneQueryChangedEventArgs

Provides data for a QueryChanged event that is associated with a SearchPane object.

Remarks

Important

To implement search in an app for Windows 10, use AutoSuggestBox. See Auto-suggest box for more info.

You should not use Windows.ApplicationModel.Search APIs (SearchPane) or SearchBox (Windows.UI.Xaml.Controls.SearchBox/WinJS.UI.SearchBox) APIs in apps for Windows 10.

See also