It is possible to see derived class properties in Property browser ?

I have a control with property of type B and I have couple of classes derived from type B. I'm curious it is posible to see additional properties of derived classes in property browser.
For example when I assign a value with add propery C to type B I want this property to be visible in property browser when I click on control.
I also want universal solution, I mean when somebody develop new class derived from B and add several properties I want those properies to be senn in Property browser .

It is possible ?

[529 byte] By [DNF] at [2007-12-16]
# 1
Yes it's possible, if your derived type C provides typedescription on its own by implementing ICusomTypeDescriptor (this requires some effort to work).

By default, property browser calls the static class TypeDescriptor to extract information from the type its browsing, if the type has no built-in type descriptor. Since your property has a type of B, then it's normal that the property browser will show properties of type B.

-chris

gwapo at 2007-9-9 > top of Msdn Tech,Windows Forms,Windows Forms Designer...
# 2
Thanks for help.
DNF at 2007-9-9 > top of Msdn Tech,Windows Forms,Windows Forms Designer...