I’ve added filter capabilities to a DataGrid
via a popup such as Excel. It works well even though it does not respect all the MVVM principles. I use quite long code-behind to populate and deal with the filter searches and selections. I don’t really want to duplicate all the code.
Is it possible to integrate everything in a Custom Control, but still be able to configure the columns where it is used?