public override string ToString() { switch (PatternType) { case XLFillPatternValues.None: return("None"); case XLFillPatternValues.Solid: return(string.Concat("Solid ", BackgroundColor.ToString())); default: return(string.Concat(PatternType.ToString(), " pattern: ", PatternColor.ToString(), " on ", BackgroundColor.ToString())); } }