System.ComponentModel and using System.Reflection

  • Thread starter Thread starter Joe
  • Start date Start date
J

Joe

Any good books or web site that really dig into these topics?

I did a search at Amazon and did not find anything.

I am specifically look at ways to really leverage the property grid, and so
far I have found some helpful samples on the web,
but nothing really gets into the 'whys' very well. In many cases I have
seen different ways to accomplish the same thing, which tells me the authors
were taking more of a hit and miss approach as opposed to having an
understanding of the architecture.

The MSDN docs are very limited in descriptions.
 
Probably best just to post questions here or in the design time forum.

What do you need to know?

--
Bob Powell [MVP]
Visual C#, System.Drawing

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.
 
My question is how it all works? that is my point.

example;
What is the mechanism the collection editor uses to determine what type of
object to add to a collection?
apparent answer: the default or specified editor's CreateInstance method.
This creates the correct object, but it does not edit it properly in the
collection editor.
why that is wrong (or at least not the only answer): Using a collection
property descriptor, you can use the ComponentType property as well, but
using this requires collection inheritance.

So what is the exact sequence of methods that happen when I click Add?

How can I change the behavior for a collection class I didn't write and can
not easily inherit? What other options exist?

There are soo many component model classes that seem to be tied together,
but I have yet to see anything that really explains what does what and when.
I probably just haven't looked in the right place, and that's what I was
asking for - a place to go read a while.

joe
 

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