Integrating my custom column control with the DGV column designer

Integrating my custom column control with the DGV column designer

Post by me » Sat, 15 Jul 2006 22:55:57


I have created my own class:

class DataGridViewNumericTextBoxColumn : DataGridViewTextBoxColumn

which only allows numeric values to be entered into a DGV column.
Works fine if I create my columns in code, but it is not available to
be picked in the "Edit Columns..." designer in Visual Studio 2005,
which just shows the list of standard DGV column types. Is there some
magic I can invoke to add my column type to the list?