コード例 #1
0
        public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext context, object component, Attribute[] attributes)
        {
            PropertyDescriptorCollection propsCollection = DescriptorUtils.GetAllFields(context, component, attributes);

            return(DescriptorUtils.RemapComponent(propsCollection, component, component, null, null));
        }