uwp search custom control code example
Example: list with search bar uwp c#
void OnBtnPressed(object sender,EventArgs ea)
{
var keyword = MainSearchBar.Text;
MainListView.ItemsSource =
names.Where(name => name.ToLower().Contains(keyword.ToLower()));
}