Hi Ron,
pre-compiled into a class and don't have those [TAGS] thingies
Those "[TAGS] thingies" you are referring to are called Attributes. You can
create custom Attributes as well by deriving from the Attribute class to
associate custom meta-data to your classes, structures, enums, their various
members, method arguments, return values, etc.
Attributes are extremely important in managed code, so I suggested that you
research them ASAP and make sure that you understand them.
Even if you don't create your own they are used frequently in the FCL for
various reasons such as CAS, support for the compiler, COM-interop, debugging,
data-binding, serialization, custom meta-data, to supply information about
properties to the PropertyGrid, etc.
--
Dave Sexton
"Ron M. Newman" <co**********@confideltial.comwrote in message
news:e2**************@TK2MSFTNGP04.phx.gbl...
Hi,
Can the native PropertyGrid accept dynamic properties? ones that are not
pre-compiled into a class and don't have those [TAGS] thingies attached to
properties? Can I just instantiate a property grid and put a dynamic "Name"
property in there without having a class with a name property "fed" to it?
Thanks
Ron