public override PropertyDescriptorCollection GetProperties(Attribute[] attributes)
        {
            PropertyDescriptorCollection props         = base.GetProperties(attributes);
            List <PropertyDescriptor>    allProperties = new List <PropertyDescriptor>();

            TypeProviderHelper.AddDefaultProperties(allProperties, props);

            PropertyDescriptor prop = null;

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

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

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

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

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

//			prop = props.Find("AlternateBackColor",true);
//			allProperties.Add(prop);
//
//			prop = props.Find("ChangeBackColorEveryNRow",true);
//			allProperties.Add(prop);

            return(new PropertyDescriptorCollection(allProperties.ToArray()));
        }
        public override PropertyDescriptorCollection GetProperties(Attribute[] attributes)
        {
            var props         = base.GetProperties(attributes);
            var allProperties = new List <PropertyDescriptor>();

            TypeProviderHelper.AddDefaultProperties(allProperties, props);

            PropertyDescriptor prop = null;

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

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

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

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

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

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

            return(new PropertyDescriptorCollection(allProperties.ToArray()));
        }
        public override PropertyDescriptorCollection GetProperties(Attribute[] attributes)
        {
            var props         = base.GetProperties(attributes);
            var allProperties = new List <PropertyDescriptor>();

            TypeProviderHelper.AddDefaultProperties(allProperties, props);

            TypeProviderHelper.AddTextBasedProperties(allProperties, props);

            var prop = props.Find("Text", true);

            allProperties.Add(prop);

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

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

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

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

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

            return(new PropertyDescriptorCollection(allProperties.ToArray()));
        }
Ejemplo n.º 4
0
        public override PropertyDescriptorCollection GetProperties(Attribute[] attributes)
        {
            PropertyDescriptorCollection props         = base.GetProperties(attributes);
            List <PropertyDescriptor>    allProperties = new List <PropertyDescriptor>();

            TypeProviderHelper.AddDefaultProperties(allProperties, props);

            PropertyDescriptor prop = null;

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

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

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

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

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

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

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

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

            return(new PropertyDescriptorCollection(allProperties.ToArray()));
        }
Ejemplo n.º 5
0
        public override PropertyDescriptorCollection GetProperties(Attribute[] attributes)
        {
            PropertyDescriptorCollection props         = base.GetProperties(attributes);
            List <PropertyDescriptor>    allProperties = new List <PropertyDescriptor>();

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

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

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

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

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

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

            prop = props.Find("FrameColor", true);
            allProperties.Add(prop);
            return(new PropertyDescriptorCollection(allProperties.ToArray()));
        }
        public override PropertyDescriptorCollection GetProperties(Attribute[] attributes)
        {
            PropertyDescriptorCollection props = base.GetProperties(attributes);
            var allProperties = new List <PropertyDescriptor>();

            TypeProviderHelper.AddDefaultProperties(allProperties, props);
            TypeProviderHelper.AddGraphicProperties(allProperties, props);

            PropertyDescriptor prop = null;

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

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