internal override object PublishClone(AutomaticSubtotalContext context) { GaugeRow gaugeRow = (GaugeRow)base.PublishClone(context); if (m_cells != null) { gaugeRow.m_cells = new GaugeCellList(); gaugeRow.GaugeCell = (GaugeCell)GaugeCell.PublishClone(context); } return(gaugeRow); }
internal GaugeRow(GaugePanel gaugePanel, Microsoft.ReportingServices.ReportIntermediateFormat.GaugeRow rowDef) { m_gaugePanel = gaugePanel; m_rowDef = rowDef; }
internal override object PublishClone(AutomaticSubtotalContext context) { GaugePanel gaugePanel = (GaugePanel)(context.CurrentDataRegionClone = (GaugePanel)base.PublishClone(context)); gaugePanel.m_rows = new GaugeRowList(); gaugePanel.m_rowMembers = new GaugeMemberList(); gaugePanel.m_columnMembers = new GaugeMemberList(); if (GaugeMember != null) { gaugePanel.GaugeMember = (GaugeMember)GaugeMember.PublishClone(context, gaugePanel); } if (GaugeRowMember != null) { gaugePanel.GaugeRowMember = (GaugeMember)GaugeRowMember.PublishClone(context); } if (GaugeRow != null) { gaugePanel.GaugeRow = (GaugeRow)GaugeRow.PublishClone(context); } if (m_linearGauges != null) { gaugePanel.m_linearGauges = new List <LinearGauge>(m_linearGauges.Count); foreach (LinearGauge linearGauge in m_linearGauges) { gaugePanel.m_linearGauges.Add((LinearGauge)linearGauge.PublishClone(context)); } } if (m_radialGauges != null) { gaugePanel.m_radialGauges = new List <RadialGauge>(m_radialGauges.Count); foreach (RadialGauge radialGauge in m_radialGauges) { gaugePanel.m_radialGauges.Add((RadialGauge)radialGauge.PublishClone(context)); } } if (m_numericIndicators != null) { gaugePanel.m_numericIndicators = new List <NumericIndicator>(m_numericIndicators.Count); foreach (NumericIndicator numericIndicator in m_numericIndicators) { gaugePanel.m_numericIndicators.Add((NumericIndicator)numericIndicator.PublishClone(context)); } } if (m_stateIndicators != null) { gaugePanel.m_stateIndicators = new List <StateIndicator>(m_stateIndicators.Count); foreach (StateIndicator stateIndicator in m_stateIndicators) { gaugePanel.m_stateIndicators.Add((StateIndicator)stateIndicator.PublishClone(context)); } } if (m_gaugeImages != null) { gaugePanel.m_gaugeImages = new List <GaugeImage>(m_gaugeImages.Count); foreach (GaugeImage gaugeImage in m_gaugeImages) { gaugePanel.m_gaugeImages.Add((GaugeImage)gaugeImage.PublishClone(context)); } } if (m_gaugeLabels != null) { gaugePanel.m_gaugeLabels = new List <GaugeLabel>(m_gaugeLabels.Count); foreach (GaugeLabel gaugeLabel in m_gaugeLabels) { gaugePanel.m_gaugeLabels.Add((GaugeLabel)gaugeLabel.PublishClone(context)); } } if (m_antiAliasing != null) { gaugePanel.m_antiAliasing = (ExpressionInfo)m_antiAliasing.PublishClone(context); } if (m_autoLayout != null) { gaugePanel.m_autoLayout = (ExpressionInfo)m_autoLayout.PublishClone(context); } if (m_backFrame != null) { gaugePanel.m_backFrame = (BackFrame)m_backFrame.PublishClone(context); } if (m_shadowIntensity != null) { gaugePanel.m_shadowIntensity = (ExpressionInfo)m_shadowIntensity.PublishClone(context); } if (m_textAntiAliasingQuality != null) { gaugePanel.m_textAntiAliasingQuality = (ExpressionInfo)m_textAntiAliasingQuality.PublishClone(context); } if (m_topImage != null) { gaugePanel.m_topImage = (TopImage)m_topImage.PublishClone(context); } return(gaugePanel); }
protected override void InitializeCorner(InitializationContext context) { if (GaugeRow != null) { GaugeRow.Initialize(context); } if (m_linearGauges != null) { for (int i = 0; i < m_linearGauges.Count; i++) { m_linearGauges[i].Initialize(context); } } if (m_radialGauges != null) { for (int j = 0; j < m_radialGauges.Count; j++) { m_radialGauges[j].Initialize(context); } } if (m_numericIndicators != null) { for (int k = 0; k < m_numericIndicators.Count; k++) { m_numericIndicators[k].Initialize(context); } } if (m_stateIndicators != null) { for (int l = 0; l < m_stateIndicators.Count; l++) { m_stateIndicators[l].Initialize(context); } } if (m_gaugeImages != null) { for (int m = 0; m < m_gaugeImages.Count; m++) { m_gaugeImages[m].Initialize(context); } } if (m_gaugeLabels != null) { for (int n = 0; n < m_gaugeLabels.Count; n++) { m_gaugeLabels[n].Initialize(context); } } if (m_antiAliasing != null) { m_antiAliasing.Initialize("AntiAliasing", context); context.ExprHostBuilder.GaugePanelAntiAliasing(m_antiAliasing); } if (m_autoLayout != null) { m_autoLayout.Initialize("AutoLayout", context); context.ExprHostBuilder.GaugePanelAutoLayout(m_autoLayout); } if (m_backFrame != null) { m_backFrame.Initialize(context); } if (m_shadowIntensity != null) { m_shadowIntensity.Initialize("ShadowIntensity", context); context.ExprHostBuilder.GaugePanelShadowIntensity(m_shadowIntensity); } if (m_textAntiAliasingQuality != null) { m_textAntiAliasingQuality.Initialize("TextAntiAliasingQuality", context); context.ExprHostBuilder.GaugePanelTextAntiAliasingQuality(m_textAntiAliasingQuality); } if (m_topImage != null) { m_topImage.Initialize(context); } }