diff --git a/HandyControlDemo/UserControl/Main/LeftMainContent.xaml.cs b/HandyControlDemo/UserControl/Main/LeftMainContent.xaml.cs index 2c5680ad..6b0b9d2e 100644 --- a/HandyControlDemo/UserControl/Main/LeftMainContent.xaml.cs +++ b/HandyControlDemo/UserControl/Main/LeftMainContent.xaml.cs @@ -62,7 +62,7 @@ namespace HandyControlDemo.UserControl foreach (var listBoxItem in listStyle.Items.OfType()) { - 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.Show(listBoxItem.Content.ToString().Contains(e.Info)); + listBoxItem.Show(listBoxItem.Content.ToString().ToLower().Contains(e.Info.ToLower())); } } }