I'm creating a Search Bar and can't seem to get results back. It seems to be case sensitive. Is there any way I can make it case insensitive so the user can search in Lowercase or Uppercase and get the same results?
Here's my code thanks in advance!
  void SearchBar_TextChanged(object sender, TextChangedEventArgs e)
    {
        var _Container = BindingContext as PageViewModel;
        MyListView.BeginRefresh();
        if (String.IsNullOrWhiteSpace(e.NewTextValue))
            MyListView.ItemsSource = _Container.MyPageDetailCollection;
        else
            MyListView.ItemsSource = _Container.MyPageDetailCollection.Where(i => i.Name.Contains(e.NewTextValue));
        MyListView.EndRefresh();
    }
 
     
    