Example #1
0
 public bool Contains(ValueColor valueColor)
 {
     foreach (ValueColor vcolor in this)
     {
         if (vcolor.Value.ToLower() == valueColor.Value.ToLower())
         {
             return(true);
         }
     }
     return(false);
 }
Example #2
0
        public ValueColor Copy()
        {
            ValueColor thiscopy = new ValueColor();

            thiscopy._Value           = this._Value;
            thiscopy._Color           = this._Color;
            thiscopy._TextColor       = this._TextColor;
            thiscopy._RectBorderColor = this._RectBorderColor;
            thiscopy._Hidden          = this._Hidden;
            thiscopy._GradientColor   = this._GradientColor;
            thiscopy._GradientAngle   = this._GradientAngle;
            thiscopy._LengthConnector = this._LengthConnector;
            return(thiscopy);
        }
Example #3
0
 public int Add(ValueColor valueColor)
 {
     return(this.InnerList.Add(valueColor));
 }