internal SLCalculatedColumnFormula Clone() { var ccf = new SLCalculatedColumnFormula(); ccf.Array = Array; ccf.Text = Text; return(ccf); }
private void SetAllNull() { CalculatedColumnFormula = new SLCalculatedColumnFormula(); HasCalculatedColumnFormula = false; TotalsRowFormula = new SLTotalsRowFormula(); HasTotalsRowFormula = false; XmlColumnProperties = new SLXmlColumnProperties(); HasXmlColumnProperties = false; Id = 0; UniqueName = null; Name = string.Empty; TotalsRowFunction = TotalsRowFunctionValues.None; HasTotalsRowFunction = false; TotalsRowLabel = null; QueryTableFieldId = null; HeaderRowDifferentialFormattingId = null; DataFormatId = null; TotalsRowDifferentialFormattingId = null; HeaderRowCellStyle = null; DataCellStyle = null; TotalsRowCellStyle = null; }