public override PropertyDescriptorCollection GetProperties(Attribute[] attributes)
        {
            PropertyDescriptorCollection props = base.GetProperties(attributes);

            System.Collections.Generic.List <PropertyDescriptor> allProperties = new System.Collections.Generic.List <PropertyDescriptor>();

            DesignerHelper.AddDefaultProperties(allProperties, props);
            DesignerHelper.AddGraphicProperties(allProperties, props);
            PropertyDescriptor prop = null;

            prop = props.Find("Controls", true);
            allProperties.Add(prop);

            return(new PropertyDescriptorCollection(allProperties.ToArray()));
        }