-
The ObjectListView implementation has a supporting interface and event that come with it. IExtendSort and ExtendSortEventArgs are used by the ObjectListView to decide how to override the default values for sorting. The primary purpose for this is dates exposed as strings. Your object in the list can implement the interface and replace the value that
-
Hi, the ObjectListView is still supported by its author, although it may seem as though I have fallen off of the face of the earth. A combination of a move from Oxford to San Diego, a career change to the construction industry, 45 minute commutes, an apartment that is still not unpacked and a six month old baby can do that to you. " /> Last night was
-
Use the SortedBindingList or ObjectListView. Search the forums for examples of how to use them.
-
The ObjectListView was developed before the EditableRootList came into being and so did not take it into account. It does not pass a method call (most likely something in IEditableObject) to the underlying object because it handles undo on a row to row basis. If you do not do this, then the object raises the PropertyChanged event when the properties
-
Here is a throwaway application that I use for trying stuff with the ObjectListView. The bottom grid is working with an ObjectListView wrapped around a list of objects that expose Name and Description properties as strings. It is a little messy as I am always changing it to test something.
-
It should be fine to use the SortedBindingList as it implements IList, which is all list controls really care about anyway. I am only half on holiday. I am working remotely from halfway around the world while spending my paternity leave so my new daughter can meet her grandparents in southern California.
-
I am on holiday and do not have the book with me, but why would the SortedBindingList not work here?
-
Thanks. I will add this to CSLAcontrib when I get a chance.
-
he DataView did not have it, so I did not add it to the ObjectListView.
-
You should probably look at some of the interfaces that the DataView and DataRowView implement such as ICustomTypeDescriptor.