Extender Provider

G

Guest

I want implement an Extender Provider in my form that stores an object,
implemented in a class, that stores n properties(string, integer...). I would
like edit every properties at design mode too, in the same way of size
property, location property etc, in order to extend my form' s controls with
custom properties my application need to work, without develop customized
controls.
I' m looking for sample code...
I found only code with Extender Provider that stores a string value...
At the moment I use Tag property to set a string and then the code reads and
splits it getting the values, but I don't like this solution.
Many thanks
nq
 
M

Mick Doherty

You'll need to create a TypeConverter (based on ExpandableObjectConverter)
for the Class.
In your TypeConvertor Class youll need to return an InstanceDescriptor in
the ConvertTo() method.

Heres a link to response gave earlier, to a similar question in another
group:
 
G

Guest

Thanks Mick...

I tryed to read Your article, but I cannot reach it...
could You kindly send it to me by mail, or paste it here or explain how can
i read it ???

thanks again
nq
 
G

Guest

Hi Mick,

I looked to Your link and it was very helpful for me, but I have some little
problem yet...
Could I send You my project so You can give it a look ???
 
M

Mick Doherty

If you can reproduce the problem you are having in a small project, then I
would prefer you send that, but so long as your project is small then feel
free to send it as is.
Just send it via the contact on my website.
 

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

Top