469,267 Members | 954 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,267 developers. It's quick & easy.

help with CollectionEditor(string) and GetStandardValuesSupported

I have a TypeConverter that displays an exclusive list of possible
strings for a certain string property. That works great. In a different
class, I have a list of strings with the same limitation. I want a
CollectionEditor that will limit the string values to those of my
converter and limit the list so that its entries are unique and forced
to be one of my approved string values. Can somebody give me some
pointers on this?

It appears that I would override CreateInstace, scan through my
existing list and select a new value not already there for the default.
Can I return null on that if I don't want the user to return any more?
How do I limit the selection in my type converter to not include other
items already in the collection? How do I even set a type converter for
use int eh CollectionEditor?

Thanks for your time,
Brannon

Dec 18 '06 #1
0 956

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

11 posts views Thread by Helmut Jarausch | last post: by
13 posts views Thread by Jonathan Wood | last post: by
1 post views Thread by avnishcapri | last post: by
1 post views Thread by matt | last post: by
2 posts views Thread by Fred | last post: by
3 posts views Thread by Dan | last post: by
2 posts views Thread by Peter Duniho | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.