Designtime support TypeDescriptorProvider How?

  • Thread starter Thread starter Gerald
  • Start date Start date
G

Gerald

Hi,

i am using a virtual property for a component, and this is implemented
by a TypeDescriptorProvider. This works with a charm on the full
framework, but i can't get it to work on compact framework.


Normally you would set an attribute, but this attribute is not
supported. Also i can't define it in de xmta because also there it is
not supported.

I have a seperate design assembly for my typeconverters and
UITypeEditors. Also my TypeDescriptorProviders are defined there.

I know you can uset TypeProvider.AddProvider to add an provider, but
can't find a good place to call it.

Any tips?




--
 
Gerald said:
Hi,

i am using a virtual property for a component, and this is implemented
by a TypeDescriptorProvider. This works with a charm on the full
framework, but i can't get it to work on compact framework.


Normally you would set an attribute, but this attribute is not
supported. Also i can't define it in de xmta because also there it is
not supported.

I have a seperate design assembly for my typeconverters and
UITypeEditors. Also my TypeDescriptorProviders are defined there.

I know you can uset TypeProvider.AddProvider to add an provider, but
can't find a good place to call it.

Any tips?

To reply to my own question.

The sollution was far more easier than originally.

Just use your own typeconverter, override getproperties and add your
virtual property there.

No Need to TypeDescriptorProviders needed.



--
 

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