public ReportHeaderStyle Copy() { ReportHeaderStyle thiscopy = new ReportHeaderStyle(this.styleName); thiscopy.styleName = this.styleName; thiscopy.font = (Font)this.font.Clone(); thiscopy.textColor = this.textColor; thiscopy.backColor = this.backColor; thiscopy.showBorder = this.showBorder; return(thiscopy); }
public bool DeleteStyle(string stylename) { ReportHeaderStyle style = this[stylename]; if (style == null) { return(false); } innerList.Remove(style); return(true); }