Re: PropertyDescriptor

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



OK, I'm a little confused with the setup; normally a type uses
ICustomTypeDescriptor to provide dynamic property support etc (for
things like data-binding); and a type or property is marked with
[TypeConverter] to customise conversion (string serialization etc) and
PropertyGrid behavior. It is unusual to see a PropertyDescriptor
*itself* marked with [TypeConverter].

I would expect you to still get collection support automatically -
like how the list editors generally work. However, if you want to
change the metadata of existing types, you can still do it - by using
things like TypeDescriptionProvider. However, this is not trivial nor
easy to summarise in a short post.

So; can you give a bit more detail on what you want this to do?

Marc
.