if I hard coded
return TypeDescriptor.GetProperties(Order);
then all would be right
so if i have the type OrdersCollection which the following will give me
return TypeDescriptor.GetProperties(pD.PropertyType);
how do i get Order instead of OrdersCollection? I want to return the
properties Order no OrdersCollection.
there's an example of what i'm trying to do in current issue of msdn magazine
minus this implementation of GetItemProperties.
http://msdn.microsoft.com/msdnmag/code05.aspx. CustomCollectionBinding
I've been tinkering with this for several months now and have it in several
projects with the hardcoding of the class type. If i could figure out how to
do it without having to hard code the type it would do away with a fair
amount of maintenance