private string ToString(object value)
 {
     var buttons = (ButtonsCaption)value;    // Gelen object tipimizi ButtonsCaption tipine dönüştürüyoruz ve ayıklama işlemine başlıyoruz.
     var converter = new ColorConverter();
     return String.Format("{0}, {1}",
         converter.ConvertToString(buttons.ActiveCaptionButtonsColor), converter.ConvertToString(buttons.InactiveCaptionButtonsColor));
 }
 private string ToString(object value)
 {
     var gradient = value as GradientTab;    // Gelen object tipimizi GradientTab tipine dönüştürüyoruz ve ayıklama işlemine başlıyoruz.
     var converter = new ColorConverter();
     return String.Format("{0}, {1}, {2}, {3}, {4}, {5}",
         converter.ConvertToString(gradient.ColorStart), converter.ConvertToString(gradient.ColorEnd), gradient.GradientStyle, converter.ConvertToString(gradient.TabPageTextColor), converter.ConvertToString(gradient.TabPageSelectedTextColor), gradient.SelectedTabFontStyle);
 }
		/// <summary>
		///		Convierte un valor a una cadena
		/// </summary>
		public new string ConvertToString(object objValue)
		{ StyleBauControl objStyle = (StyleBauControl) objValue;
			ColorConverter objConverter = new ColorConverter();
			string strConvert;
			
					// Obtiene la cadena formateada con los valores numéricos
						strConvert = objStyle.RoundCorners.ToString() + ",";
						strConvert = objStyle.AngleCorners.ToString() + ",";
						strConvert += objStyle.ShadowThickness.ToString() + ",";
						strConvert += objStyle.BorderWidth.ToString() + ",";
					// Obtiene la cadena formateada con los colores
						strConvert += objConverter.ConvertToString(objStyle.BorderColor) + ",";
						strConvert += objConverter.ConvertToString(objStyle.BackgroundColor) + ",";
						strConvert += objConverter.ConvertToString(objStyle.BackgroundGradientColor) + ",";
						strConvert += objConverter.ConvertToString(objStyle.ShadowColor) + ",";
						strConvert += objConverter.ConvertToString(objStyle.ForeColor) + ",";
					// Obtiene la cadena formateada con el modo del gradiante
						strConvert += ((int) objStyle.GradientMode).ToString();
					// Devuelve la cadena
						return strConvert;
		}
Esempio n. 4
0
        internal void Save(XmlWriter writer)
        {
            writer.WriteStartElement("fullScreenViewer");

              ResizerConverter rsConv = new ResizerConverter();

              writer.WriteStartElement("resizer");
              writer.WriteAttributeString("value", (string)rsConv.ConvertTo(null, null, resizer, typeof(string)));
              writer.WriteEndElement();

              EnumConverter ipConv = new EnumConverter(typeof(InterpolationMode));

              writer.WriteStartElement("interpolationMode");
              writer.WriteAttributeString("value", ipConv.ConvertToString(interpolationMode));
              writer.WriteEndElement();

              ColorConverter colorConv = new ColorConverter();

              writer.WriteStartElement("backColor");
              writer.WriteAttributeString("value", colorConv.ConvertToString(backColor));
              writer.WriteEndElement();

              writer.WriteEndElement();
        }
Esempio n. 5
0
        public override object ConvertTo(
            ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
        {
            if (destinationType == typeof(string))
            {
                SuperTabControlBoxStateColorTable sct = value as SuperTabControlBoxStateColorTable;

                if (sct != null)
                {
                    ColorConverter cvt = new ColorConverter();

                    if (sct.Background.IsEmpty == false)
                        return (cvt.ConvertToString(sct.Background));

                    if (sct.Border.IsEmpty == false)
                        return (cvt.ConvertToString(sct.Border));

                    if (sct.Image.IsEmpty == false)
                        return (cvt.ConvertToString(sct.Image));

                    return (String.Empty);
                }
            }

            return (base.ConvertTo(context, culture, value, destinationType));
        }
Esempio n. 6
0
        public void SaveProjectToolStripMenuItem_Click(System.Object sender, System.EventArgs e)
        {
            save = "";
            save = System.Convert.ToString(xn + "_" + yn + "_" + zn + "_" + agent + "_");

            for (var i = 1; i <= agent; i++)
            {
                save = save + generator.Default.agentname[i] + "_";
            }

            for (var i = 1; i <= agent; i++)
            {
                save = save + generator.Default.agentcount[i] + "_";
            }

            for (var i = 1; i <= agent; i++)
            {
                save = save + generator.Default.initialenergy[i] + "_";
            }

            for (var i = 1; i <= agent; i++)
            {
                save = save + generator.Default.stepenergy[i] + "_";
            }

            for (var i = 1; i <= agent; i++)
            {
                save = save + generator.Default.bumpenergy[i] + "_";
            }

            for (var i = 1; i <= agent; i++)
            {
                save = save + generator.Default.aging[i] + "_";
            }

            for (var i = 1; i <= agent; i++)
            {
                save = save + generator.Default.agelimit[i] + "_";
            }

            for (var i = 1; i <= agent; i++)
            {
                save = save + generator.Default.asr[i] + "_";
            }

            for (var i = 1; i <= agent; i++)
            {
                save = save + generator.Default.asrtime[i] + "_";
            }

            for (var i = 1; i <= agent; i++)
            {
                save = save + generator.Default.asrenergy[i] + "_";
            }

            for (var i = 1; i <= agent; i++)
            {
                System.Drawing.ColorConverter colourconverter = new System.Drawing.ColorConverter();
                save = save + colourconverter.ConvertToString(generator.Default.agentcolour[i]) + "_";
            }

            for (var i = 1; i <= agent; i++)
            {
                save = save + generator.Default.agentrangeabsolute[i] + "_";
            }

            for (var a = 1; a <= agent; a++)
            {
                for (var b = 0; b <= 2; b++)
                {
                    for (var c = 0; c <= 1; c++)
                    {
                        save = save + generator.Default.agentrange[a, b, c] + "_";
                    }
                }
            }

            for (var a = 1; a <= agent; a++)
            {
                for (var b = 1; b <= agent; b++)
                {
                    for (var c = 1; c <= 6; c++)
                    {
                        save = save + generator.Default.action[a, b, c] + "_";
                    }
                }
            }

            save = save + "|";
            SaveFilepro.ShowDialog();
        }
Esempio n. 7
0
        internal void Save(XmlWriter writer)
        {
            writer.WriteStartElement("thumbnail");

              SizeConverter sizeConv = new SizeConverter();

              writer.WriteStartElement("size");
              writer.WriteAttributeString("value", sizeConv.ConvertToString(size));
              writer.WriteEndElement();

              EnumConverter ipConv = new EnumConverter(typeof(InterpolationMode));

              writer.WriteStartElement("interpolationMode");
              writer.WriteAttributeString("value", ipConv.ConvertToString(interpolationMode));
              writer.WriteEndElement();

              ColorConverter colorConv = new ColorConverter();

              writer.WriteStartElement("backColor");
              writer.WriteAttributeString("value", colorConv.ConvertToString(backColor));
              writer.WriteEndElement();

              EnumConverter priorityConv = new EnumConverter(typeof(ThreadPriority));

              writer.WriteStartElement("threadPriority");
              writer.WriteAttributeString("value", priorityConv.ConvertToString(threadPriority));
              writer.WriteEndElement();

              writer.WriteEndElement();
        }
Esempio n. 8
0
 public void ConvertToString_Name(string name)
 {
     var conv = new ColorConverter();
     Assert.Equal(name, conv.ConvertToString(Color.FromName(name)));
 }
Esempio n. 9
0
            public override object ConvertTo(
                ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
            {
                if (destinationType == typeof(string))
                {
                    BackColorBlend cb = value as BackColorBlend;

                    if (cb != null)
                    {
                        ColorConverter cvt = new ColorConverter();

                        if (cb.Colors != null)
                        {
                            if (cb.Colors[0] != Color.Empty)
                                return (cvt.ConvertToString(cb.Colors[0]));

                            if (cb.Colors.Length > 1 && cb.Colors[1] != Color.Empty)
                                return (cvt.ConvertToString(cb.Colors[1]));
                        }
                    }

                    return (String.Empty);
                }

                return (base.ConvertTo(context, culture, value, destinationType));
            }
Esempio n. 10
0
        /// <summary>
        /// MyColorConverter
        /// </summary>
        /// <param name="ct">ColorTable</param>
        /// <param name="cvt">ColorConverter</param>
        /// <returns>string or null</returns>
        private string MyColorConverter(LinearGradientColorTable ct, ColorConverter cvt)
        {
            if (ct.Start.IsEmpty == false)
                return (cvt.ConvertToString(ct.Start));

            if (ct.End.IsEmpty == false)
                return (cvt.ConvertToString(ct.Start));

            return (null);
        }
Esempio n. 11
0
        public override object ConvertTo(
            ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
        {
            if (destinationType == typeof(string))
            {
                KnobColorTable kct = value as KnobColorTable;

                if (kct != null)
                {
                    ColorConverter cvt = new ColorConverter();

                    string s;

                    if ((s = MyColorConverter(kct.KnobFaceColor, cvt)) != null)
                        return (s);

                    if ((s = MyColorConverter(kct.KnobIndicatorColor, cvt)) != null)
                        return (s);

                    if ((s = MyColorConverter(kct.MinZoneIndicatorColor, cvt)) != null)
                        return (s);

                    if ((s = MyColorConverter(kct.MidZoneIndicatorColor, cvt)) != null)
                        return (s);

                    if ((s = MyColorConverter(kct.MaxZoneIndicatorColor, cvt)) != null)
                        return (s);

                    if (kct.MinorTickColor.IsEmpty == false)
                        return (cvt.ConvertToString(kct.MinorTickColor));

                    if (kct.MajorTickColor.IsEmpty == false)
                        return (cvt.ConvertToString(kct.MajorTickColor));

                    if (kct.KnobIndicatorPointerColor.IsEmpty == false)
                        return (cvt.ConvertToString(kct.KnobIndicatorPointerColor));

                    if (kct.ZoneIndicatorColor.IsEmpty == false)
                        return (cvt.ConvertToString(kct.ZoneIndicatorColor));

                    return (String.Empty);
                }
            }

            return (base.ConvertTo(context, culture, value, destinationType));
        }
Esempio n. 12
0
 private string ToString(object value)
 {
     TooltipRenderer tRenderer = value as TooltipRenderer;
     TypeConverter converter = new ColorConverter();
     return String.Format("{0}, {1}, {2}, {3}, {4}, {5}, {6}, {7}, {8}, {9}, {10}",
         converter.ConvertToString(tRenderer.BorderColor),
         converter.ConvertToString(tRenderer.TitleForeColor),
         converter.ConvertToString(tRenderer.MessageForeColor),
         converter.ConvertToString(tRenderer.LightBackgroundColor),
         converter.ConvertToString(tRenderer.DarkBackgroundColor),
         tRenderer.Radius,
         converter.ConvertToString(tRenderer.BarBorderColor),
         converter.ConvertToString(tRenderer.BarBackgroundColorStart),
         converter.ConvertToString(tRenderer.BarBackgroundColorEnd),
         converter.ConvertToString(tRenderer.BarProgressColorStart),
         converter.ConvertToString(tRenderer.BarProgressColorEnd));
 }
Esempio n. 13
0
        public override object ConvertTo(
            ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
        {
            if (destinationType == typeof(string))
            {
                GradientFillColor gc = value as GradientFillColor;

                if (gc != null)
                {
                    ColorConverter cvt = new ColorConverter();

                    string s = gc.Start.IsEmpty ? "(Empty)" : cvt.ConvertToString(gc.Start);

                    if (gc.End != Color.Empty)
                        s += ", " + cvt.ConvertToString(gc.End);

                    return (s);
                }
            }

            return (base.ConvertTo(context, culture, value, destinationType));
        }
 private string ToString(object value)
 {
     GradientFill fill = (GradientFill)value;
     ColorConverter converter = new ColorConverter();
     return String.Format("{0}, {1}, {2}", converter.ConvertToString(fill.ColorA), converter.ConvertToString(fill.ColorB), fill.GradientFillStyle.ToString());
 }
Esempio n. 15
0
 public void SetColor(string key, Color color)
 {
     ColorConverter fc = new ColorConverter();
     _htSettings[key] = fc.ConvertToString(color);
 }
 private string ToString(object value)
 {
     CaptionGradient gradient = value as CaptionGradient;    // Gelen object tipimizi CaptionGradient tipine dönüştürüyoruz ve ayıklama işlemine başlıyoruz.
     ColorConverter converter = new ColorConverter();
     return String.Format("{0}, {1}, {2}, {3}, {4}, {5}, {6}, {7}",
         converter.ConvertToString(gradient.ActiveCaptionColorStart), converter.ConvertToString(gradient.ActiveCaptionColorEnd),
         converter.ConvertToString(gradient.InactiveCaptionColorStart), converter.ConvertToString(gradient.InactiveCaptionColorEnd), gradient.CaptionGradientStyle,
         converter.ConvertToString(gradient.InactiveCaptionTextColor), converter.ConvertToString(gradient.ActiveCaptionTextColor), gradient.ActiveCaptionFontStyle);
 }
Esempio n. 17
0
        public override object ConvertTo(ITypeDescriptorContext context,
            System.Globalization.CultureInfo culture, object value, Type destinationType)
        {
            //将对象转换为字符串:"Black,1"
            if (destinationType == typeof(string))
            {
                TabControlBorderStyle style = value as TabControlBorderStyle;
                TypeConverter converter = new ColorConverter();

                return string.Format("{0},{1}", converter.ConvertToString(style.Color), style.Width.ToString());
            }

            return base.ConvertTo(context, culture, value, destinationType);
        }
Esempio n. 18
0
        public override object ConvertTo(
            ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
        {
            if (destinationType == typeof(string))
            {
                Background gc = value as Background;

                if (gc != null)
                {
                    if (gc.BackColorBlend != null && gc.BackColorBlend.IsEmpty == false)
                        return ("Blended");

                    ColorConverter cvt = new ColorConverter();

                    string s = gc.Color1.IsEmpty ? "(Empty)" : cvt.ConvertToString(gc.Color1);

                    if (gc.Color2 != Color.Empty)
                        s += ", " + cvt.ConvertToString(gc.Color2);

                    return (s);
                }
            }

            return (base.ConvertTo(context, culture, value, destinationType));
        }
Esempio n. 19
0
 public void ConvertToString(int a, int r, int g, int b)
 {
     var conv = new ColorConverter();
     var str = conv.ConvertToString(Color.FromArgb(a, r, g, b));
     Assert.Equal(string.Format("{0}{4} {1}{4} {2}{4} {3}", a, r, g, b, CultureInfo.CurrentCulture.TextInfo.ListSeparator), str);
 }
Esempio n. 20
0
        public void WriteSettings()
        {
            try
            {
                FontConverter fontconvert = new FontConverter();
                ColorConverter colorconvert = new ColorConverter();

                XmlWriterSettings sett = new XmlWriterSettings();
                sett.Indent = true;

                XmlWriter xml = XmlWriter.Create("settings.xml", sett);
                xml.WriteStartDocument();
                xml.WriteComment("This settings file was generated by PAWNEdit.");

                // scintilla
                xml.WriteStartElement("scintilla");
                // Text
                xml.WriteStartElement("highlighting");

                // Default
                xml.WriteStartElement("default");
                xml.WriteAttributeString("font", fontconvert.ConvertToString(settings.defaulttext.font));
                xml.WriteAttributeString("forecolor", colorconvert.ConvertToString(settings.defaulttext.forecolor));
                xml.WriteAttributeString("backcolor", colorconvert.ConvertToString(settings.defaulttext.backcolor));
                xml.WriteEndElement();

                // Line Comment
                xml.WriteStartElement("linecomment");
                xml.WriteAttributeString("font", fontconvert.ConvertToString(settings.linecomment.font));
                xml.WriteAttributeString("forecolor", colorconvert.ConvertToString(settings.linecomment.forecolor));
                xml.WriteAttributeString("backcolor", colorconvert.ConvertToString(settings.linecomment.backcolor));
                xml.WriteEndElement();

                // Stream Comment
                xml.WriteStartElement("streamcomment");
                xml.WriteAttributeString("font", fontconvert.ConvertToString(settings.streamcomment.font));
                xml.WriteAttributeString("forecolor", colorconvert.ConvertToString(settings.streamcomment.forecolor));
                xml.WriteAttributeString("backcolor", colorconvert.ConvertToString(settings.streamcomment.backcolor));
                xml.WriteEndElement();

                // Number
                xml.WriteStartElement("number");
                xml.WriteAttributeString("font", fontconvert.ConvertToString(settings.number.font));
                xml.WriteAttributeString("forecolor", colorconvert.ConvertToString(settings.number.forecolor));
                xml.WriteAttributeString("backcolor", colorconvert.ConvertToString(settings.number.backcolor));
                xml.WriteEndElement();

                xml.WriteEndElement();

                // ================
                xml.WriteEndElement();
                xml.WriteEndDocument();
                // End of scintilla

                xml.Flush();
                xml.Close();
            }
            catch (Exception ex) { mainform.CaughtException(ex); }
        }
Esempio n. 21
0
        private void ChangeFont()
        {
            fontDialog.Font = textBoxCopiesDone.Font ;
            fontDialog.Color = textBoxCopiesDone.ForeColor ;

            DialogResult res = fontDialog.ShowDialog(this) ;
            if(res == DialogResult.OK){
                textBoxCopiesFailed.Font = fontDialog.Font ;
                textBoxCopiesDone.Font = fontDialog.Font ;
                textBoxDeletionsDone.Font = fontDialog.Font ;
                textBoxDeletionsFailed.Font = fontDialog.Font ;

                //use FontConverter to 'serialize' the current Font object into string
                FontConverter fontCon = new FontConverter() ;
                properties[REG_LOGS_FONT] = fontCon.ConvertToString(fontDialog.Font) ;

                textBoxCopiesDone.ForeColor = fontDialog.Color ;
                textBoxCopiesFailed.ForeColor = fontDialog.Color ;
                textBoxDeletionsDone.ForeColor = fontDialog.Color ;
                textBoxDeletionsFailed.ForeColor = fontDialog.Color ;

                //use ColorConverter to 'serialize' the current Color object into string
                ColorConverter colorCon = new ColorConverter() ;
                properties[REG_LOGS_FORE_COLOR] = colorCon.ConvertToString(fontDialog.Color) ;
            }
        }
Esempio n. 22
0
 public bool EditValue(IWin32Window owner, XmlSchemaType type, string input, out string output)
 {
     output = input;
     ColorConverter cc = new ColorConverter();
     Color c = Color.Black;
     try {
         c = (Color)cc.ConvertFromString(input);
     } catch {
     }
     cd.Color = c;
     cd.AnyColor = true;
     if (cd.ShowDialog(owner) == DialogResult.OK) {
         output = cc.ConvertToString(cd.Color);
         return true;
     } else {
         return false;
     }
 }
Esempio n. 23
0
        public override object ConvertTo(
            ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
        {
            if (destinationType == typeof(string))
            {
                ColorDef cd = value as ColorDef;

                if (cd != null)
                {
                    ColorConverter cvt = new ColorConverter();

                    if (cd.Colors != null)
                    {
                        if (cd.Colors[0] != Color.Empty)
                            return (cvt.ConvertToString(cd.Colors[0]));

                        if (cd.Colors.Length > 1 && cd.Colors[1] != Color.Empty)
                            return (cvt.ConvertToString(cd.Colors[1]));
                    }

                    if (cd.Angle != 0)
                        return (cd.Angle.ToString());
                }

                return (String.Empty);
            }

            return (base.ConvertTo(context, culture, value, destinationType));
        }
Esempio n. 24
0
        public override object ConvertTo(
            ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
        {
            if (destinationType == typeof(string))
            {
                LinearGradientColorTable lct = value as LinearGradientColorTable;

                if (lct != null)
                {
                    ColorConverter cvt = new ColorConverter();

                    if (lct.Start != Color.Empty)
                        return (cvt.ConvertToString(lct.Start));

                    if (lct.End != Color.Empty)
                        return (cvt.ConvertToString(lct.End));

                    if (lct.GradientAngle != 90)
                        return (lct.GradientAngle.ToString());

                    return (String.Empty);
                }
            }

            return (base.ConvertTo(context, culture, value, destinationType));
        }
Esempio n. 25
0
 public void WriteXml(System.Xml.XmlWriter writer)
 {
     ColorConverter cconv = new ColorConverter();
     writer.WriteString(cconv.ConvertToString(_color));
 }
        private string ToString(object value)
        {
            Hatcher hatch = value as Hatcher;    // Gelen object tipimizi Hatcher tipine dönüştürüyoruz ve ayıklama işlemine başlıyoruz.

            ColorConverter converter = new ColorConverter();

            return String.Format("{0}, {1}, {2}",
                converter.ConvertToString(hatch.ForeColor), converter.ConvertToString(hatch.BackColor), hatch.HatchStyle);
        }
Esempio n. 27
0
        public override XmlElement serializeToXml( XmlDocument document)
        {
            XmlElement element = base.serializeToXml(document);

            XmlElement DocumentElement = document.CreateElement("Text");

            XmlAttribute color = document.CreateAttribute("Color");
            ColorConverter converter = new ColorConverter();
            color.Value = converter.ConvertToString(null, System.Globalization.CultureInfo.InvariantCulture, _color);
            DocumentElement.Attributes.Append(color);

            XmlAttribute background = document.CreateAttribute("Background");
            background.Value = converter.ConvertToString(null, System.Globalization.CultureInfo.InvariantCulture, _background);
            DocumentElement.Attributes.Append(background);

            if (_font != null)
            {
                XmlAttribute font = document.CreateAttribute("Font");
                FontConverter fontConverter = new FontConverter();
                font.Value = fontConverter.ConvertToString(null, System.Globalization.CultureInfo.InvariantCulture, _font);
                DocumentElement.Attributes.Append(font);
            }

            XmlAttribute alignment = document.CreateAttribute("Alignment");

            alignment.Value = AlignmentString(_alignment);
            DocumentElement.Attributes.Append(alignment);

            DocumentElement.InnerText = _text;
            element.AppendChild(DocumentElement);

            return element;
        }
        //*************************************************************************
        //  Method: ConvertTo()
        //
        /// <summary>
        /// Converts the given value object to the specified type, using the
        /// specified context and culture information.
        /// </summary>
        ///
        /// <param name="context">
        /// An ITypeDescriptorContext that provides a format context. 
        /// </param>
        ///
        /// <param name="culture">
        /// A CultureInfo. If null is passed, the current culture is assumed. 
        /// </param>
        ///
        /// <param name="value">
        /// The Object to convert.
        /// </param>
        ///
        /// <param name="destinationType">
        /// The Type to convert the value parameter to. 
        /// </param>
        ///
        /// <returns>
        /// An Object that represents the converted value.
        /// </returns>
        //*************************************************************************
        public override Object ConvertTo(
            ITypeDescriptorContext context,
            CultureInfo culture,
            Object value,
            Type destinationType
            )
        {
            Debug.Assert(value != null);
            Debug.Assert(value is ColorColumnAutoFillUserSettings);
            Debug.Assert( destinationType == typeof(String) );
            AssertValid();

            ColorColumnAutoFillUserSettings oColorColumnAutoFillUserSettings =
            (ColorColumnAutoFillUserSettings)value;

            ColorConverter oColorConverter = new ColorConverter();

            // Use a simple tab-delimited format.  Sample string:
            //
            // "false\tfalse\t0\t10\tRed\tGreen\tfalse\tfalse"
            //
            // WARNING: If this format is changed, you must also change the
            // DefaultSettingValueAttribute for each property in the
            // AutoFillUserSettings class that is of type
            // ColorColumnAutoFillUserSettings.

            return ( String.Format(CultureInfo.InvariantCulture,

            "{0}\t{1}\t{2}\t{3}\t{4}\t{5}\t{6}\t{7}"
            ,
            oColorColumnAutoFillUserSettings.UseSourceNumber1,
            oColorColumnAutoFillUserSettings.UseSourceNumber2,
            oColorColumnAutoFillUserSettings.SourceNumber1,
            oColorColumnAutoFillUserSettings.SourceNumber2,

            oColorConverter.ConvertToString(
                oColorColumnAutoFillUserSettings.DestinationColor1),

            oColorConverter.ConvertToString(
                oColorColumnAutoFillUserSettings.DestinationColor2),

            oColorColumnAutoFillUserSettings.IgnoreOutliers,
            oColorColumnAutoFillUserSettings.UseLogs
            ) );
        }