Re: PropertyDescriptor
- From: Marc Gravell <marc.gravell@xxxxxxxxx>
- Date: Tue, 10 Jun 2008 15:03:20 -0700 (PDT)
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
.
- Follow-Ups:
- Re: PropertyDescriptor
- From: colin
- Re: PropertyDescriptor
- From: colin
- Re: PropertyDescriptor
- References:
- PropertyDescriptor
- From: colin
- PropertyDescriptor
- Prev by Date: Re: Basic Authentication
- Next by Date: Re: C# double value precision is 42bit?
- Previous by thread: PropertyDescriptor
- Next by thread: Re: PropertyDescriptor
- Index(es):