title: Search listview items using a textbox
body: <p>I am trying to make a search box for my listview and I managed to make an algorithm that works but not perfectly:</p>
  
  <pre><code>if (!string.IsNullOrWhiteSpace(searchBox.Text))
  {
      foreach (ListViewItem item in textureViewer.Items)
      {
          if (!item.Text.ToLower().Contains(searchBox.Text.ToLower()))
              textureViewer.Items.Remove(item);
      }
      if (textureViewer.SelectedItems.Count == 1)
      {
          textureViewer.Focus();
      }
  }
  else
      LoadTextures();
  </code></pre>
  
  <p>So far, it works, I can search for items and they are displayed well but, for example if I search for "sword_diamond" and then remove "_diamond" so now I have in my searchBox only "sword" , it won't show me all the "sword" textures because I have already deleted them from my listview so I'll have to delete everything from the searchBox so it will refresh.
  I wanted to try to hide the items, store the info which items are hid and at each step when a letter is deleted to make them appear. Unfortunately, item.Visible is not available for me and I don't think it would be a good algorithm.</p>
  
  <p>Can you help me? Thanks</p>