Home > Archive > C# > June 2004 > Composite Control Properties in Design Time
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Composite Control Properties in Design Time
|
|
|
| I'm creating a composite control using Visual C#. I want to create a
property for the control that will have only 3 options (txt, xml,
connection). When the control is used and the property is clicked in
design time I want the user of the control to be presented with a
combo box in the properties window with these 3 options. I need
someone to send me a couple of simple code snippets illustrating how
to do this. If you can send a reference to a book that details how to
accomplish this it would also be appreciated.
| |
|
| Hi Dave,
I am not sure if it is what you are really looking for but please try to
analyze the following example
http://msdn.microsoft.com/library/d...formssample.asp
Marek
"Dave" <david.d.ricketts@saic.com> wrote in message
news:94cfe30a.0404271112.7d67dd@posting.google.com...
> I'm creating a composite control using Visual C#. I want to create a
> property for the control that will have only 3 options (txt, xml,
> connection). When the control is used and the property is clicked in
> design time I want the user of the control to be presented with a
> combo box in the properties window with these 3 options. I need
> someone to send me a couple of simple code snippets illustrating how
> to do this. If you can send a reference to a book that details how to
> accomplish this it would also be appreciated.
>
|
|
|
|
|