public PropertyDescriptorCollection GetProperties() { PropertyDescriptorCollection pds = new PropertyDescriptorCollection(null); for (int i = 0; i < List.Count; i++) { PerLevelPropertyDescriptor pd = new PerLevelPropertyDescriptor(this, i); pds.Add(pd); } return(pds); }
public PropertyDescriptorCollection GetProperties() { PropertyDescriptorCollection pds = new PropertyDescriptorCollection(null); for(int i = 0; i < List.Count; i++) { PerLevelPropertyDescriptor pd = new PerLevelPropertyDescriptor(this, i); pds.Add(pd); } return pds; }