G
Guest
Is there any way to prevent a PropertyGrid from allowing the user to expand
the elements of an array? For properties that are of type ArrayList or
CollectionBase a PropertyGrid only allows the items to be edited in the
Collection Editor (by clicking the button with the ellipses). But, for
properties of type Array a PropertyGrid also allows array elements to be
edited directly by expanding the array within the PropertyGrid. The problem
is that (as far as I know) no events are raised when the value of an element
is changed directly in the PropertyGrid, but I need to know whenever an array
(or any of its elements) change so that I can update my application.
Thanks for any help.
Lance
the elements of an array? For properties that are of type ArrayList or
CollectionBase a PropertyGrid only allows the items to be edited in the
Collection Editor (by clicking the button with the ellipses). But, for
properties of type Array a PropertyGrid also allows array elements to be
edited directly by expanding the array within the PropertyGrid. The problem
is that (as far as I know) no events are raised when the value of an element
is changed directly in the PropertyGrid, but I need to know whenever an array
(or any of its elements) change so that I can update my application.
Thanks for any help.
Lance