This is going to take a bit of explanation. I'm using VS2005, c#. I'm
creating a custom control. As part of the custom control, I have one
property which contains an indeterminate number of items. Like the
COLUMNS property of DataGridView, these are all subclasses of a base
type (mine is called LINES)

I've gotten the custom control working fine in terms of editing
properties where all the objects are of the same type. But if you are
adding columns in DataGridView, an intermediate dialog pops up that
asks you what type of column you want (text, button, combobox, etc),
then takes you to the regular property editor for that specific type.
I want to do something similar, but I can't find a clue anywhere in
the docs (the c# "samples" are beyond useless) or in google. Any help?

Also, on a side note, should I be passing an array of these objects
for the LINES get and set, or would some kind of Collection be better?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web 
Services,.NET Remoting" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://cm.megasolutions.net/forums/default.aspx
 <p><a href="http://feeds.feedburner.com/DotNetDevelopment";><img 
src="http://feeds.feedburner.com/~fc/DotNetDevelopment?bg=99CCFF&amp;fg=444444&amp;anim=1";
 height="26" width="88" style="border:0" alt="" /></a></p>
-~----------~----~----~----~------~----~------~--~---

Reply via email to