DataGridView Columns Collection Editor




I am creating a UserControl that has a DataGridView control as a member.

I want to expose the column collection of the DataGridView, as a property of
my control.

in my code I have:

public DataGridViewColumnCollection myDGVCC

but I get the generic collection editor, not the editor the normally is
invoked when modifying the columns of a DatGridView control.

Is there any way I can set the Columns property of my UserControl to use the
proper editor.

Thanks in advance

(Sorry for cross posting, not sure for the best place, and my english to)


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question