fix lowercase & uppercase search

This commit is contained in:
Mahdi Hosseini authored and GitHub committed 2019-01-17 13:07:29 +03:30
1 parent 10fc78dde1
commit 6709946f66
1 file changed
+2 -2
@@ -62,7 +62,7 @@ namespace HandyControlDemo.UserControl
foreach (var listBoxItem in listStyle.Items.OfType<ListBoxItem>())
{
listBoxItem.Show(listBoxItem.Content.ToString().Contains(e.Info));
listBoxItem.Show(listBoxItem.Content.ToString().ToLower().Contains(e.Info.ToLower()));
}
}
@@ -72,7 +72,7 @@ namespace HandyControlDemo.UserControl
foreach (var listBoxItem in listControl.Items.OfType<ListBoxItem>())
{
listBoxItem.Show(listBoxItem.Content.ToString().Contains(e.Info));
listBoxItem.Show(listBoxItem.Content.ToString().ToLower().Contains(e.Info.ToLower()));
}
}
}