I have my own property descriptor that I use to support alignment of the object hierarchy.
To accomplish this, I have subclassed PropertyDescriptor, and I am storing a linked list with the “next” (child) property that I want to get for the value.
This allows me to bind subprocesses to the grid (export to excel, whatever) flat.
eg. Grid (related property, signature)
Col1:Customer.Name(Customer)
Col2:Customer.Address(Address)
Col3:Customer.OutstandingOrders.Count(Outstanding Orders)
The problem is that as soon as I add to the column with a duplicate name, regardless of whether it received a unique header, it will get a property for the first, but still put the correct header in:
Col4:Customer.Company.Name(Company)
Any ideas?