Property Grid

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
How can I display a property as a combo box in a PropertyGrid control. I know that if the property is an enum this will display as a combo box but I want the user to be able to select from a dynamically produced combo box, not an enum.

At the moment I have a (Collection) displayed but this is cumbersome.

Thanks

Monty
 
Monty,
Have you reviewed the info in the following articles?

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/usingpropgrid.asp

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/vsnetpropbrow.asp

Hope this helps
Jay

Monty said:
Hi,
How can I display a property as a combo box in a PropertyGrid control. I
know that if the property is an enum this will display as a combo box but I
want the user to be able to select from a dynamically produced combo box,
not an enum.
 

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

Back
Top