I've created a simple extended version of the ListBox winforms control. It overrides the OnDrawItem event and draws an image thumbnail and title in the item bounds.
What I'd like to be able to do is bind this to a data source, in this case a List<T> of objects I have. The catch is, I'd basically like to specify two ValueMembers. One would be bound to the Image property in my datasource, the other would be bound to the Title property.
I'm having trouble figuring out how to add another property to do this, what the attribute flags for properties need to be and such. I'm pretty novice when it comes to reflection, and control databinding seems to be a bit of a black box in most cases. Any information or links would be more than welcome.