The section about "my blog" is not needed for the content of your article and ccan be considered site driving, which is not allowed.
I recommend you to roll back ALL your articles to the version without it.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
GUI design look interesting in some cases but this is rare to hide background for just search.
API looks complicated.
Easy API (like for a monkey) for me is something like this :
//if you really need copy of database table not just a part of filtered results in a memory
//for small list might be OK
Init(object elements ,string propertiesToSearch ,string propertiesToShowAsResultOfSearch);
Objects are copied to search. I'm not how to use this against large database table ?
//in case of delegation implementation of filter to an user code another API might be helpful
or MoralesSearch.OnUserInput += this.MyfilterToDatabase(string userFilter);
For the GUI, I have therefore taken in a web control. The popup fill all screen, because the user look only a filter in this moment, because the filter is the most important in this moment, and it filter all collection.
You don't need to copy any object, the SearchAll control uses the ViewModel principal DataSource, or your DataSource (CodeBehind).
If you see, the itemssource of GridView is the same at ItemsSource of SearchAll:
public partial class MainWindow : Window
var data = typeof(Enumerable).GetMethods();
dgData.ItemsSource = data;
searchAll.ItemsSource = data;
It filter data in memory. This is transparent for you. It make the work.
SearchAll works with big collections of data, because use all async actions.
I propose you a plan.
1.- You create a new WPF project.
2.- Add a DataGrid in the MainWindow.
3.- Fill the DataGrid with a big Collection (ItemsSource).
4.- Install SearchAll by Nuget.
5.- Drag the SearchAll control to window.
6.- Setup the SearchAll ItemSource property with the same collection that DataGrid.
7.- Compile and test the solution.
Last Visit: 31-Dec-99 18:00 Last Update: 28-Jul-21 10:41