📅  最后修改于: 2022-03-11 14:49:15.254000             🧑  作者: Mango
void OnBtnPressed(object sender,EventArgs ea)
{
var keyword = MainSearchBar.Text;
MainListView.ItemsSource =
names.Where(name => name.ToLower().Contains(keyword.ToLower()));
}