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

            DesignerHelper.AddDefaultProperties(allProperties, props);
            DesignerHelper.AddTextBasedProperties(allProperties, props);

            PropertyDescriptor 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("ColumnName", true);
            allProperties.Add(prop);

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

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

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

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

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


            DesignerHelper.AddDefaultProperties(allProperties, props);

            PropertyDescriptor prop = prop = props.Find("imageFileName", true);

            allProperties.Add(prop);

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

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

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

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

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

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

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

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

            return(new PropertyDescriptorCollection(allProperties.ToArray()));
        }
Ejemplo n.º 3
0
        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);

            PropertyDescriptor prop = null;

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

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

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

            prop = props.Find("CornerRadius", 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>();

            DesignerHelper.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);

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


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