all groups > dotnet windows forms designtime > november 2006 >
You're in the

dotnet windows forms designtime

group:

3rd Party Control Property Grid.


3rd Party Control Property Grid. Ibrahim.
11/30/2006 10:38:00 PM
dotnet windows forms designtime: Hello,

Kindly clarify;

1. I want to change the settings of a third party .NET control PropertyGrid.

2. I want to make certain properties hidden from the user.

3. How can I make this happen from my code.

Regards,
Re: 3rd Party Control Property Grid. VisualHint
12/1/2006 8:37:52 AM
Hello,

I don't see the original message before Robert's answer but did the
original poster had a look to Smart PropertyGrid.Net ?

Best regards,

Nicolas Cadilhac @ VisualHint (http://www.visualhint.com)
Home of Smart PropertyGrid for .Net and MFC
Microsoft PropertyGrid Resource List -
http://www.propertygridresourcelist.com


Robert Fuchs a =E9crit :

[quoted text, click to view]
Re: 3rd Party Control Property Grid. Robert Fuchs
12/1/2006 5:00:59 PM
[quoted text, click to view]

how about asking the vendor of the grid?

regards, Robert
Re: 3rd Party Control Property Grid. Yuri O
12/1/2006 9:31:49 PM
I tried SPG but it seems the SelectedObject property does not work at all. I
do not realize why author announced the support of reflection in such a
case.

- Yuri

[quoted text, click to view]
Hello,

I don't see the original message before Robert's answer but did the
original poster had a look to Smart PropertyGrid.Net ?

Best regards,

Nicolas Cadilhac @ VisualHint (http://www.visualhint.com)
Home of Smart PropertyGrid for .Net and MFC
Microsoft PropertyGrid Resource List -
http://www.propertygridresourcelist.com


Robert Fuchs a écrit :

[quoted text, click to view]

Re: 3rd Party Control Property Grid. VisualHint
12/2/2006 5:28:39 AM
Hello Yuri,

I'm the author. I don't know when you checked SPG the last time. I
think the term "at all" is a bit premature. SelectedObject (and now
SelectedObjects) is used practically by all my customers with success.
At first it was just a simple way to migrate an application easily and
then the customer would have to use techniques more specific to SPG.
But I quickly realized that developers like this way of binding an
object and that it's difficult or simply not desired for them to change
their code, so I made sure that SelectedObject(s) would be feature
complete. However, sometimes, it is challenged by a very special use of
converters and descriptors and this allows me to enhance SPG or add
something I would have forgotten. If you have such an issue, I will be
happy to analyze it and fix the code. You can do so here, in my forums
or directly by email. Thank you.

Best regards,

Nicolas Cadilhac @ VisualHint (http://www.visualhint.com)
Home of Smart PropertyGrid for .Net and MFC
Microsoft PropertyGrid Resource List -
http://www.propertygridresourcelist.com


Yuri O a =E9crit :

[quoted text, click to view]
Re: 3rd Party Control Property Grid. VisualHint
12/2/2006 12:56:01 PM
Hello Yuri,

thanks for your answer. However I don't understand what you are saying
about "this property". Which property ? Since this post becomes some
troubleshooting of your issue, I propose that you post it at
forums.visualhint.com with further explanations (if you wish, of
course).

Best regards,

Nicolas Cadilhac
VisualHint


Yuri O a =E9crit :

[quoted text, click to view]
Re: 3rd Party Control Property Grid. VisualHint
12/2/2006 2:54:59 PM
Oh I see then. This is normal that you get an exception. The sample
creates the content of the grid dynamically and acts on those
properties in various callback methods (like OnPropertyCreated). If you
change the content of the grid by using SelectedObject, you also have
to comment the code that I have put in those callbacks that is specific
to my sample and that will be totaly unrelated to your "selected
object". If you want to discover SPG, try to integrate it with your
code. If you modify the sample without reading the doc, you risk to
break something.

Best regards,

Nicolas Cadilhac @ VisualHint (http://www.visualhint.com)
Home of Smart PropertyGrid for .Net and MFC
Microsoft PropertyGrid Resource List -
http://www.propertygridresourcelist.com

Yuri O a =E9crit :

[quoted text, click to view]
Re: 3rd Party Control Property Grid. Yuri O
12/2/2006 9:32:04 PM
Hi Nicolas

Thanks for explanation.
I tried your latest demo downloaded from your site (lib build v2.0.50727).
I merely tried to assign this property & it failed with reason "object
reference not set".
I also did not find this property in design-time in MS prop grid. Is it
right observation?
ps: Just to note: You component looks promising, keep up your work.

Thanks
Yuri


[quoted text, click to view]
Hello Yuri,

I'm the author. I don't know when you checked SPG the last time. I
think the term "at all" is a bit premature. SelectedObject (and now
SelectedObjects) is used practically by all my customers with success.
At first it was just a simple way to migrate an application easily and
then the customer would have to use techniques more specific to SPG.
But I quickly realized that developers like this way of binding an
object and that it's difficult or simply not desired for them to change
their code, so I made sure that SelectedObject(s) would be feature
complete. However, sometimes, it is challenged by a very special use of
converters and descriptors and this allows me to enhance SPG or add
something I would have forgotten. If you have such an issue, I will be
happy to analyze it and fix the code. You can do so here, in my forums
or directly by email. Thank you.

Best regards,

Nicolas Cadilhac @ VisualHint (http://www.visualhint.com)
Home of Smart PropertyGrid for .Net and MFC
Microsoft PropertyGrid Resource List -
http://www.propertygridresourcelist.com


Yuri O a écrit :

[quoted text, click to view]

Re: 3rd Party Control Property Grid. Yuri O
12/2/2006 11:13:00 PM
Alright, no matter. I meant of course "SelectedObject".
Yuri

[quoted text, click to view]
Hello Yuri,

thanks for your answer. However I don't understand what you are saying
about "this property". Which property ? Since this post becomes some
troubleshooting of your issue, I propose that you post it at
forums.visualhint.com with further explanations (if you wish, of
course).

Best regards,

Nicolas Cadilhac
VisualHint


Yuri O a écrit :

[quoted text, click to view]

AddThis Social Bookmark Button