diff --git a/HWiNFOVSBViewer/MainWindow.xaml b/HWiNFOVSBViewer/MainWindow.xaml
index 067ab3d..c678142 100644
--- a/HWiNFOVSBViewer/MainWindow.xaml
+++ b/HWiNFOVSBViewer/MainWindow.xaml
@@ -22,6 +22,73 @@
+
+
@@ -116,6 +183,30 @@
InputGestureText="F1" />
+
+
+
+
+
+
diff --git a/HWiNFOVSBViewer/MainWindow.xaml.cs b/HWiNFOVSBViewer/MainWindow.xaml.cs
index ebbdc54..1fddd7e 100644
--- a/HWiNFOVSBViewer/MainWindow.xaml.cs
+++ b/HWiNFOVSBViewer/MainWindow.xaml.cs
@@ -11,6 +11,7 @@
using System.Text.RegularExpressions;
using System.Windows;
using System.Windows.Controls;
+using System.Windows.Data;
using System.Windows.Input;
using System.Windows.Media;
using Microsoft.Win32;
@@ -266,6 +267,30 @@ private void MnuAbout_Click(object sender, RoutedEventArgs e)
{
ShowAbout();
}
+
+ private void TbxSearch_TextChanged(object sender, TextChangedEventArgs e)
+ {
+ string filter = tbxSearch.Text;
+
+ // I really don't understand how this works
+ ICollectionView cv = CollectionViewSource.GetDefaultView(HWGrid.ItemsSource);
+ cv.Filter = filter?.Length == 0
+ ? (Predicate