I stand somewhat corrected. When I originally looked at the editor used for the collection I happened to look at the wrong one (DataColumnEditor) rather than the actual one (ColumnCollectionEditor). So much for consistent naming in the framework.
The column collection uses a custom collection editor deriving from the standard collection editor. This is pretty typical for a collection. The base class provides Add/Remove functionality but only if the derived type supports it. In this case the
ColumnCollectionEditor does not expose the appropriate information to allow the addition of new columns. I don't know why MS made this decision as it seems that creating new columns should be doable in the editor. Nevertheless it is currently disabled. Note that you can use INS and DEL to add and remove columns but the changes are lost when the editor closes.
I would recommend that if you want this functionality that you submit a change request to
http://connect.microsoft.com. It seems like it would be a reasonable change to make.
Michael Taylor - 3/12/09
http://p3net.mvps.org