I have a DataGridView that binds to an IList<T> collection of custom objects. The problem I have is that when I click on the new line, the DataGridView creates a new object using the default constructor (but I assume it doesn't get added to the collection at this point). What I would like to do is intecept this proceedure so that I can call a different constructor for the new object or else do some initialization before the DataGridView attempts to bind it.
The reason is that my object implements ICustomTypeDescriptor and I need to set up all the rows to have identical properties so that they can all have the same columns.
Any help here?
Thanks.