A
Alan
Hi all,
I have one class including one collection. I use propertygrid to display and
edit its properties.
I'm trying to use reflection to change the status of one element to be
readonly, for example the first element in this collection.The result is
that all of elements changed. I guess the ReadOnly attribute is for class(or
type), not for instance.
How could i only change the status of one element of one collection?
Thanks in advance.
Alan
I have one class including one collection. I use propertygrid to display and
edit its properties.
I'm trying to use reflection to change the status of one element to be
readonly, for example the first element in this collection.The result is
that all of elements changed. I guess the ReadOnly attribute is for class(or
type), not for instance.
How could i only change the status of one element of one collection?
Thanks in advance.
Alan