示例#1
0
        private void SearchTeam_OnSearchButtonPressed(object sender, EventArgs e)
        {
            string             keyword      = SearchBarDebaters.Text;
            IEnumerable <User> searchResult = User.Where(CompletName => CompletName.ToString().Contains(keyword));

            ContactsListView.ItemsSource = searchResult;
        }
        private void OnSearchButtonPressed(object sender, EventArgs e)
        {
            string             keyword      = SearchBarAdvisors.Text;
            IEnumerable <User> searchResult = contacts.Where(CompletName => CompletName.ToString().Contains(keyword));

            ContactsListView.ItemsSource = searchResult;
            //SearchBarTeam1.Text = null;
        }