protected override void InitializeCorner(InitializationContext context) { if (MapRow != null) { MapRow.Initialize(context); } }
internal override object PublishClone(AutomaticSubtotalContext context) { MapRow mapRow = (MapRow)base.PublishClone(context); if (m_cells != null) { mapRow.m_cells = new CellList(); mapRow.Cell = (MapCell)Cell.PublishClone(context); } return(mapRow); }
internal override object PublishClone(AutomaticSubtotalContext context) { MapDataRegion mapDataRegion = (MapDataRegion)(context.CurrentDataRegionClone = (MapDataRegion)base.PublishClone(context)); mapDataRegion.m_parent = context.CurrentMapClone; mapDataRegion.m_rows = new MapRowList(); mapDataRegion.m_rowMembers = new MapMemberList(); mapDataRegion.m_columnMembers = new MapMemberList(); if (MapMember != null) { mapDataRegion.MapMember = (MapMember)MapMember.PublishClone(context, mapDataRegion); } if (MapRowMember != null) { mapDataRegion.MapRowMember = (MapMember)MapRowMember.PublishClone(context); } if (MapRow != null) { mapDataRegion.MapRow = (MapRow)MapRow.PublishClone(context); } return(mapDataRegion); }