Skip to content

AutoSuggestBox

IridiumIO edited this page May 11, 2023 · 2 revisions

AutoSuggestBox


A basic AutoSuggestBoxx.

<ui:AutoSuggestBox
    x:Name="Control1"
    TextChanged="AutoSuggestBox_TextChanged"
    SuggestionChosen="AutoSuggestBox_SuggestionChosen"
    QuerySubmitted="AutoSuggestBox_QuerySubmitted"
    Width="300"
    AutomationProperties.Name="Basic AutoSuggestBox" />

An AutoSuggestBox that provides a SearchBox experience

<ui:AutoSuggestBox
    x:Name="Control2"
    PlaceholderText="Type a control name"
    TextChanged="Control2_TextChanged"
    QueryIcon="Find"
    QuerySubmitted="Control2_QuerySubmitted"
    SuggestionChosen="Control2_SuggestionChosen"
    Width="300"
    HorizontalAlignment="Left" />

Additional Information