SearchBoxResultSuggestionChosenEventArgs SearchBoxResultSuggestionChosenEventArgs SearchBoxResultSuggestionChosenEventArgs Class

Definition

Provides event data for the SearchBox.ResultSuggestionChosen event.

Note

Although @Windows.UI.Xaml.Controls.SearchBox.#ctor?text=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.

public sealed class SearchBoxResultSuggestionChosenEventArgs : ISearchBoxResultSuggestionChosenEventArgspublic sealed class SearchBoxResultSuggestionChosenEventArgs : ISearchBoxResultSuggestionChosenEventArgsPublic NotInheritable Class SearchBoxResultSuggestionChosenEventArgs Implements ISearchBoxResultSuggestionChosenEventArgs
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Constructors

SearchBoxResultSuggestionChosenEventArgs() SearchBoxResultSuggestionChosenEventArgs() SearchBoxResultSuggestionChosenEventArgs()

Initializes a new instance of the SearchBoxResultSuggestionChosenEventArgs class.

public SearchBoxResultSuggestionChosenEventArgs()public SearchBoxResultSuggestionChosenEventArgs()Public Sub New()
Attributes

Properties

KeyModifiers KeyModifiers KeyModifiers

Gets any modifier keys that are pressed when the user presses enter to pick a search result.

public VirtualKeyModifiers KeyModifiers { get; }public VirtualKeyModifiers KeyModifiers { get; }Public ReadOnly Property KeyModifiers As VirtualKeyModifiers
Value
VirtualKeyModifiers VirtualKeyModifiers VirtualKeyModifiers

Any modifier keys that are pressed when the user presses enter to pick a search result.

Attributes

Tag Tag Tag

The app-defined tag for the suggested result that the user selected.

public string Tag { get; }public string Tag { get; }Public ReadOnly Property Tag As string
Value
string string string

The app-defined tag for the selected search result.

Attributes