Posted 29 January 2019, 3:45 am EST
Hello,
I have recursive list. each node includes an object with some properties that are part of the node.
I want to view these properties as they are the node’s property, not in a sub node .
For example :
List=new List();
Class Shape
{
string Name;
int NumOfRibs;
Point CenterPoint;
List Descendents;
public Shape()
{
Descendents=new List();
}
}
Class Point
{
int X;
int Y;
}
I want X and Y to be in the Row of Shape
What I have to write in DisplayFieldName of their columns?
Thanks,
Yonit