public bool Contains(ValueColor valueColor) { foreach (ValueColor vcolor in this) { if (vcolor.Value.ToLower() == valueColor.Value.ToLower()) { return(true); } } return(false); }
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); }
public int Add(ValueColor valueColor) { return(this.InnerList.Add(valueColor)); }