Example #1
0
        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);
        }
Example #2
0
        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;
        }