In this article we'll learn how to implement AutoSuggestBox and some of the important events and properties.
Before reading this article, I highly recommend reading the previous parts of the series.
In this article, we are going to learn about AutoSuggestBox in Modern C++
AutosuggestBox
It’s like a text control that makes suggestions to users as they type. Based on the user input a suggestions list is displayed in the control.
Let see how to implement this control and some of the important events and properties.
Prepare the collection
IVector<IInspectable> IVector interface is use to prepare the collection.
Assign the collection to the control
Itemsource is use to generate the items content of the itemscontrols(data) and assign the collection to this property, and collection shows as suggestions to the user
Text changed
AutoSuggestionBoxTextChangeReason
Suggestion chosen
I hope you understood how to use Autosuggestionbox control.
Universal Windows Platform - Complete Solution