Пример #1
0
 public void Search()
 {
     if (SearchText == "")
     {
         FilteredIcons = Icons;
     }
     else
     {
         FilteredIcons = Icons.FindAll(x => x.Name.Contains(SearchText, StringComparison.OrdinalIgnoreCase));
     }
 }