views:

211

answers:

1

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?

A: 

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

STW
That link goes to a top level of a blog that does not address this problem as far as I can tell.
Josh Buedel