I'm using Visual C++ 2008 and I'm trying to expose a multi-dimensional array in a property grid but I'm not getting the functionality I expect or want.
property array<int,2>^ TestFixArr2D
{
array<int,2>^ get()
{
return testFixArr2D;
}
void set(array<int,2>^ value)
{
testFixArr2D = value;
}
}
What I get is Int32[.] Array that is expandable, however the expansions are gray and say "Array was not a one-dimensional array." Am I doing something wrong? Is there another simple way to get the sub-arrays to be displayed as well?