How to display multi-dimensional array in PropertyGrid

  • Thread starter Thread starter scott.ballard
  • Start date Start date
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
 
Back
Top