public PropBagTypeDescriptor(IPropBag propBag, string propertyName)
            : base(GetPropertyName(propertyName, propBag), new Attribute[] { })
        {
            string propertyNameToUse = base.Name;

            _tdConfig = new TypeDescriptorConfig(new Attribute[] { }, typeof(object), true, propertyNameToUse, typeof(BagT), true);

            _children = GetBasePropertyCollection();
        }
        public PropBagTypeDescriptor(PropModelType propModel, string propertyName = null)
            : base(GetPropertyName(propertyName, propModel), new Attribute[] { })
        {
            string propertyNameToUse = base.Name;

            _tdConfig = new TypeDescriptorConfig(new Attribute[] { }, typeof(object), true, propertyNameToUse, typeof(BagT), true);

            _children = GetBasePropertyCollection();

            PropertyDescriptor[] propDescriptors = BuildPropDescriptors(propModel);

            foreach (PropertyDescriptor pDesc in propDescriptors)
            {
                _children.Add(pDesc);
            }
        }