ObjectListView Update (1.0.0.11): Find, Select, & Property Paths
Note: You can download the complete implementation here. I just posted a new version of ObjectListView that fixes a couple of bugs and adds some minor usability enhancements. I've been using ObjectListView more in different projects, and I'm feeling the pain points. Foremost, a complete IBindingListView implementation means that interaction with Windows Forms controls works smoothly, but that doesn't mean it's easy for the developer to ...
ObjectListView Update (1.0.0.9): Debugger Visualizer
Note: You can download the complete implementation here. For those of you just tuning in, ObjectListView is my answer to the .NET need for a DataView-like construct for ordinary objects. With ObjectListView, you can have a sorted and filtered view of any IList or IList. You can bind this view to controls like the DataGridView. This new version adds a debugger visualizer and includes a few other small enhancements and bug fixes. Bug ...
ObjectListView Update (1.0.0.8): Complex Filter Expressions
Note: You can download the complete implementation here. A few people have asked for support of more sophisticated expressions in the Filter property. Previously, ObjectListView allowed only a single relational expression of the form propertyNameOp value, such as Name = 'Smith'. With this update, you can assign arbitrarily complex expressions to Filter. For example: Name = 'Smith' AND (Orders > 50 OR City = 'Portland'). Deta...
Generics in ObjectListView
Note: You can download the complete implementation here. My original implementation of ObjectListView wraps a list of arbitrary objects. It exposes these list items as type "object", which means that you have to cast the returned items to your list item type. For example: List list = new List(); ObjectListView view = new ObjectListView(list); list.Add(new SimpleClass(1, "aaa", DateTime.Now)); list.Add(new SimpleClass(5, "bbb", ...
ObjectListView Update (1.0.0.6)
Note: You can download the complete implementation here. The DataGridView New Row When you set the DataGridView property AllowUserToAddRows to true (and the IBindingList data source AllowNew property is also true), an empty row will be displayed at the bottom of the grid. In an earlier posting, I described how the IBindingList method AddNew() supports this "new row". When I implemented AddNew in ObjectListView, I noted this comment in the ...