internal SLTableStyleInfo Clone() { var tsi = new SLTableStyleInfo(); tsi.Name = Name; tsi.ShowFirstColumn = ShowFirstColumn; tsi.ShowLastColumn = ShowLastColumn; tsi.ShowRowStripes = ShowRowStripes; tsi.ShowColumnStripes = ShowColumnStripes; return(tsi); }
internal void SetAllNull() { IsNewTable = true; RelationshipID = string.Empty; AutoFilter = new SLAutoFilter(); HasAutoFilter = false; SortState = new SLSortState(); HasSortState = false; TableColumns = new List <SLTableColumn>(); TableNames = new HashSet <string>(); TableStyleInfo = new SLTableStyleInfo(); HasTableStyleInfo = false; Id = 0; Name = null; sDisplayName = string.Empty; Comment = null; StartRowIndex = 1; StartColumnIndex = 1; EndRowIndex = 1; EndColumnIndex = 1; TableType = TableValues.Worksheet; HasTableType = false; HeaderRowCount = 1; InsertRow = null; InsertRowShift = null; TotalsRowCount = 0; TotalsRowShown = null; Published = null; HeaderRowFormatId = null; DataFormatId = null; TotalsRowFormatId = null; HeaderRowBorderFormatId = null; BorderFormatId = null; TotalsRowBorderFormatId = null; HeaderRowCellStyle = null; DataCellStyle = null; TotalsRowCellStyle = null; ConnectionId = null; }