How to create a comparable Image
问题 I have a DataGridView which has been bound to a generic BindingList . I want to be able to apply sort and search on columns of type DataGridViewImageColumn . The basic idea is to store a name into the image Tag and use is for sorting and searching. How can I do that? It seems several ways to do it: Creating a new class inheriting System.Drawing.Image and making it comparable. Image is an abstract class and if I inherit from it (as well as IComparable interface), I'll encounter with this error