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

Re: Extender Provider by Mick

Mick
Sat Dec 04 09:21:53 CST 2004

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:
news:uGMYg3f2EHA.4028@TK2MSFTNGP15.phx.gbl

--
Mick Doherty
http://dotnetrix.co.uk/nothing.html


"Nicola" <Nicola@discussions.microsoft.com> wrote in message
news:51730134-2B79-4D36-9A0B-58AACC6E6E47@microsoft.com...
>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


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.805 / Virus Database: 547 - Release Date: 03/12/2004



Re: Extender Provider by Nicola

Nicola
Tue Dec 07 14:35:35 CST 2004

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

"Mick Doherty" wrote:

> 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:
> news:uGMYg3f2EHA.4028@TK2MSFTNGP15.phx.gbl
>
> --
> Mick Doherty
> http://dotnetrix.co.uk/nothing.html
>
>
> "Nicola" <Nicola@discussions.microsoft.com> wrote in message
> news:51730134-2B79-4D36-9A0B-58AACC6E6E47@microsoft.com...
> >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
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.805 / Virus Database: 547 - Release Date: 03/12/2004
>
>
>

Re: Extender Provider by Mick

Mick
Wed Dec 08 00:56:57 CST 2004

The link should have opened up in your news reader, but here's a link to the
whole thread via google groups.

http://groups.google.co.uk/groups?hl=en&lr=&threadm=31DF0899-A4D3-4345-B7EA-FDF6AB67C918%40microsoft.com&rnum=1&prev=/groups%3Fsourceid%3Dnavclient%26ie%3DUTF-8%26q%3DIextenderprovider%2Band%2BType%2Bproperty

If you need more, then I can email you a simple project.

--
Mick Doherty
http://dotnetrix.co.uk/nothing.html


"Nicola" <Nicola@discussions.microsoft.com> wrote in message
news:02B58EDC-7C1C-403F-8533-DE7F3AB582E0@microsoft.com...
> 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
>
> "Mick Doherty" wrote:
>
>> 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:
>> news:uGMYg3f2EHA.4028@TK2MSFTNGP15.phx.gbl
>>
>> --
>> Mick Doherty
>> http://dotnetrix.co.uk/nothing.html
>>
>>
>> "Nicola" <Nicola@discussions.microsoft.com> wrote in message
>> news:51730134-2B79-4D36-9A0B-58AACC6E6E47@microsoft.com...
>> >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
>>
>>
>> ---
>> Outgoing mail is certified Virus Free.
>> Checked by AVG anti-virus system (http://www.grisoft.com).
>> Version: 6.0.805 / Virus Database: 547 - Release Date: 03/12/2004
>>
>>
>>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.805 / Virus Database: 547 - Release Date: 03/12/2004



Re: Extender Provider by Nicola

Nicola
Thu Dec 09 03:49:13 CST 2004

Thanks for the link...
Please let me some time to try the code...


"Mick Doherty" wrote:

> The link should have opened up in your news reader, but here's a link to the
> whole thread via google groups.
>
> http://groups.google.co.uk/groups?hl=en&lr=&threadm=31DF0899-A4D3-4345-B7EA-FDF6AB67C918%40microsoft.com&rnum=1&prev=/groups%3Fsourceid%3Dnavclient%26ie%3DUTF-8%26q%3DIextenderprovider%2Band%2BType%2Bproperty
>
> If you need more, then I can email you a simple project.
>
> --
> Mick Doherty
> http://dotnetrix.co.uk/nothing.html
>
>
> "Nicola" <Nicola@discussions.microsoft.com> wrote in message
> news:02B58EDC-7C1C-403F-8533-DE7F3AB582E0@microsoft.com...
> > 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
> >
> > "Mick Doherty" wrote:
> >
> >> 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:
> >> news:uGMYg3f2EHA.4028@TK2MSFTNGP15.phx.gbl
> >>
> >> --
> >> Mick Doherty
> >> http://dotnetrix.co.uk/nothing.html
> >>
> >>
> >> "Nicola" <Nicola@discussions.microsoft.com> wrote in message
> >> news:51730134-2B79-4D36-9A0B-58AACC6E6E47@microsoft.com...
> >> >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
> >>
> >>
> >> ---
> >> Outgoing mail is certified Virus Free.
> >> Checked by AVG anti-virus system (http://www.grisoft.com).
> >> Version: 6.0.805 / Virus Database: 547 - Release Date: 03/12/2004
> >>
> >>
> >>
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.805 / Virus Database: 547 - Release Date: 03/12/2004
>
>
>

Re: Extender Provider by Nicola

Nicola
Fri Dec 10 05:53:15 CST 2004

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 ???

"Mick Doherty" wrote:

> The link should have opened up in your news reader, but here's a link to the
> whole thread via google groups.
>
> http://groups.google.co.uk/groups?hl=en&lr=&threadm=31DF0899-A4D3-4345-B7EA-FDF6AB67C918%40microsoft.com&rnum=1&prev=/groups%3Fsourceid%3Dnavclient%26ie%3DUTF-8%26q%3DIextenderprovider%2Band%2BType%2Bproperty
>
> If you need more, then I can email you a simple project.
>
> --
> Mick Doherty
> http://dotnetrix.co.uk/nothing.html
>
>
> "Nicola" <Nicola@discussions.microsoft.com> wrote in message
> news:02B58EDC-7C1C-403F-8533-DE7F3AB582E0@microsoft.com...
> > 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
> >
> > "Mick Doherty" wrote:
> >
> >> 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:
> >> news:uGMYg3f2EHA.4028@TK2MSFTNGP15.phx.gbl
> >>
> >> --
> >> Mick Doherty
> >> http://dotnetrix.co.uk/nothing.html
> >>
> >>
> >> "Nicola" <Nicola@discussions.microsoft.com> wrote in message
> >> news:51730134-2B79-4D36-9A0B-58AACC6E6E47@microsoft.com...
> >> >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
> >>
> >>
> >> ---
> >> Outgoing mail is certified Virus Free.
> >> Checked by AVG anti-virus system (http://www.grisoft.com).
> >> Version: 6.0.805 / Virus Database: 547 - Release Date: 03/12/2004
> >>
> >>
> >>
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.805 / Virus Database: 547 - Release Date: 03/12/2004
>
>
>

Re: Extender Provider by Mick

Mick
Fri Dec 10 06:03:42 CST 2004

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.

--
Mick Doherty
http://dotnetrix.co.uk/nothing.html


"Nicola" <Nicola@discussions.microsoft.com> wrote in message
news:BD669F93-60A4-467C-BD68-4987A1163DBD@microsoft.com...
> 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 ???
>
> "Mick Doherty" wrote:
>
>> The link should have opened up in your news reader, but here's a link to
>> the
>> whole thread via google groups.
>>
>> http://groups.google.co.uk/groups?hl=en&lr=&threadm=31DF0899-A4D3-4345-B7EA-FDF6AB67C918%40microsoft.com&rnum=1&prev=/groups%3Fsourceid%3Dnavclient%26ie%3DUTF-8%26q%3DIextenderprovider%2Band%2BType%2Bproperty
>>
>> If you need more, then I can email you a simple project.
>>
>> --
>> Mick Doherty
>> http://dotnetrix.co.uk/nothing.html
>>
>>
>> "Nicola" <Nicola@discussions.microsoft.com> wrote in message
>> news:02B58EDC-7C1C-403F-8533-DE7F3AB582E0@microsoft.com...
>> > 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
>> >
>> > "Mick Doherty" wrote:
>> >
>> >> 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:
>> >> news:uGMYg3f2EHA.4028@TK2MSFTNGP15.phx.gbl
>> >>
>> >> --
>> >> Mick Doherty
>> >> http://dotnetrix.co.uk/nothing.html
>> >>
>> >>
>> >> "Nicola" <Nicola@discussions.microsoft.com> wrote in message
>> >> news:51730134-2B79-4D36-9A0B-58AACC6E6E47@microsoft.com...
>> >> >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
>> >>
>> >>
>> >> ---
>> >> Outgoing mail is certified Virus Free.
>> >> Checked by AVG anti-virus system (http://www.grisoft.com).
>> >> Version: 6.0.805 / Virus Database: 547 - Release Date: 03/12/2004
>> >>
>> >>
>> >>
>>
>>
>> ---
>> Outgoing mail is certified Virus Free.
>> Checked by AVG anti-virus system (http://www.grisoft.com).
>> Version: 6.0.805 / Virus Database: 547 - Release Date: 03/12/2004
>>
>>
>>