internal override object PublishClone(AutomaticSubtotalContext context) { TablixCell tablixCell = (TablixCell)base.PublishClone(context); if (m_dataElementName != null) { tablixCell.m_dataElementName = (string)m_dataElementName.Clone(); } return(tablixCell); }
public override TablixCell this[int index] { get { if (index < 0 || index >= Count) { throw new RenderingObjectModelException(ProcessingErrorCode.rsInvalidParameterRange, index, 0, Count); } Microsoft.ReportingServices.ReportIntermediateFormat.TablixCell tablixCell = m_rowDef.TablixCells[index]; if (tablixCell.ColSpan > 0 && m_cellROMDefs[index] == null) { m_cellROMDefs[index] = new InternalTablixCell(m_owner, m_rowIndex, index, tablixCell); } return(m_cellROMDefs[index]); } }
internal InternalTablixCell(Tablix owner, int rowIndex, int colIndex, Microsoft.ReportingServices.ReportIntermediateFormat.TablixCell cellDef) : base(cellDef, owner, rowIndex, colIndex) { m_cellDef = cellDef; }