internal override object PublishClone(AutomaticSubtotalContext context)
        {
            TablixRow tablixRow = (TablixRow)base.PublishClone(context);

            if (m_height != null)
            {
                tablixRow.m_height = (string)m_height.Clone();
            }
            if (m_cells != null)
            {
                tablixRow.m_cells = new TablixCellList(m_cells.Count);
                {
                    foreach (TablixCell cell in m_cells)
                    {
                        tablixRow.m_cells.Add((TablixCell)cell.PublishClone(context));
                    }
                    return(tablixRow);
                }
            }
            return(tablixRow);
        }
Exemple #2
0
 internal InternalTablixRow(Tablix owner, int rowIndex, Microsoft.ReportingServices.ReportIntermediateFormat.TablixRow rowDef)
     : base(owner, rowIndex)
 {
     m_rowDef      = rowDef;
     m_cellROMDefs = new TablixCell[rowDef.Cells.Count];
 }