Search code examples
c#xamlwindows-store-apps

How to search content using SearchBox in Windows Store App?


I'm trying to search for some content within page using Search Box in Windows Store App. And when I write some text it should suggest data present on my page accordingly for example "Google.com" shows suggestion. Just Like That. Can anyone please suggest me coding for that ?

<SearchBox /> 

Thanks & Regards,


Solution

  • You can also use the AutoSuggestBox for searching with the help of TextChanged event of AutoSuggestBox. you can refer here for more details.

    https://msdn.microsoft.com/en-in/library/windows/apps/windows.ui.xaml.controls.autosuggestbox.aspx.

    Please ignore if this AutoSuggestBox not suitable for your scenario.

    Regards,

    Elavarasan