Stores suggestions and information about the request for suggestions.
The SearchPaneSuggestionsRequest class has these types of members:
The SearchPaneSuggestionsRequest class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.
|GetDeferral||Retrieves an object that lets an app respond to a request for suggestions asynchronously.|
The SearchPaneSuggestionsRequest class has these properties.
|Read-only||Indicates whether the request for suggestions to display is canceled.|
|Read-only||The suggestions to display in the search pane for the current query. Apps provide suggestions to display by appending them to this searchSuggestionCollection object.|
If your app provides its own suggestions to display in the search pane, use the searchPaneSuggestionsRequest.searchSuggestionCollection property to add your app's suggestions to the collection of suggestions to display.
The search pane can display 5 suggestions, at most. Additionally, each separator you use takes the place of a suggestion and lowers the number of suggestions that you can display.
Minimum supported client
|Windows 8 [Windows Store apps only]|
Minimum supported server
|Windows Server 2012 [Windows Store apps only]|
Minimum supported phone
- Search contract sample
- SearchPane.SuggestionsRequested event
- SearchPaneSuggestionsRequestedEventArgs class
- SearchPaneSuggestionsRequestedEventArgs.Request property