I have an object with a string[] property. When I assign this as the SelectedObject in the PropertyGrid, I get a "String[] Array" displayed for that property.
Is there a way I can change this display part to something else?
I have an object with a string[] property. When I assign this as the SelectedObject in the PropertyGrid, I get a "String[] Array" displayed for that property.
Is there a way I can change this display part to something else?
It sounds like it's currently displaying the ToString() value; so one option is to override the ToString() method to display a formatted string--if a string is what you want.
A little Google work turned up this post from our very own admin Mr. Marc Gravell from another place and time. His answer is pretty solid