Extender Provider

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
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:
 
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
 
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 ???
 
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.
 
Back
Top