public CellStyle Apply(CellStyle style) { if (style.alignment != null) { alignment = style.alignment; } if (style.border != null) { border = style.border; } if (style.fill != null) { fill = style.fill; } if (style.font != null) { font = style.font; } if (style.format != null) { format = style.format; } return(this); }
public CellStyle Apply(CellStyle style) { if (style.alignment != null) alignment = style.alignment; if (style.border != null) border = style.border; if (style.fill != null) fill = style.fill; if (style.font != null) font = style.font; if (style.format != null) format = style.format; return this; }