How to display multi-dimensional array in PropertyGrid

S

scott.ballard

Greetings,

I'm trying to display a custom class in a PropertyGrid that contains a
multi-dimensional array. All the other properties (strings, ints,
one-dimensional arrays, etc.) look just fine in the PropertyGrid.
However, if I click the plus sign next to my multi-dimensional array
property it shows "Array was not a one-dimensional array" at each
first-dimension element in the array. Say for example I have a 10 X 30
array. If I click the plus sign I get 10 "Array was not a
one-dimensional array" elements. So my my question is there a way to
display a multi-dimensional array in the PropertyGrid? Thanks for any
suggestions.

Regards,

Scott Ballard
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top