M
mark belles
i have a scenario in which i am using a ICustomTypeDescriptor in combination with an inherited PropertyDescriptor class to display information about an object using the PropertyGrid provided with .NET. I'm am using C#, and have noticed that the GetValue method which is overridden in my PropertyDescriptor class fires multiple times when the descriptor is placed into the SelectedObject property of the .NET PropertyGrid.
My 3 Questions are as follows...
Has anyone else noticed behavior like this?
Why does this occur?
How do I prevent it?
I will be happy to provide example code if anyone needs to see it.
My 3 Questions are as follows...
Has anyone else noticed behavior like this?
Why does this occur?
How do I prevent it?
I will be happy to provide example code if anyone needs to see it.