Example #1
0
        public PropertyDescriptorCollection GetProperties()
        {
            PropertyDescriptorCollection pds = new PropertyDescriptorCollection(null);

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