internal override object PublishClone(AutomaticSubtotalContext context)
        {
            TickMarkStyle tickMarkStyle = (TickMarkStyle)base.PublishClone(context);

            if (m_distanceFromScale != null)
            {
                tickMarkStyle.m_distanceFromScale = (ExpressionInfo)m_distanceFromScale.PublishClone(context);
            }
            if (m_placement != null)
            {
                tickMarkStyle.m_placement = (ExpressionInfo)m_placement.PublishClone(context);
            }
            if (m_enableGradient != null)
            {
                tickMarkStyle.m_enableGradient = (ExpressionInfo)m_enableGradient.PublishClone(context);
            }
            if (m_gradientDensity != null)
            {
                tickMarkStyle.m_gradientDensity = (ExpressionInfo)m_gradientDensity.PublishClone(context);
            }
            if (m_tickMarkImage != null)
            {
                tickMarkStyle.m_tickMarkImage = (TopImage)m_tickMarkImage.PublishClone(context);
            }
            if (m_length != null)
            {
                tickMarkStyle.m_length = (ExpressionInfo)m_length.PublishClone(context);
            }
            if (m_width != null)
            {
                tickMarkStyle.m_width = (ExpressionInfo)m_width.PublishClone(context);
            }
            if (m_shape != null)
            {
                tickMarkStyle.m_shape = (ExpressionInfo)m_shape.PublishClone(context);
            }
            if (m_hidden != null)
            {
                tickMarkStyle.m_hidden = (ExpressionInfo)m_hidden.PublishClone(context);
            }
            return(tickMarkStyle);
        }
Esempio n. 2
0
        internal override object PublishClone(AutomaticSubtotalContext context)
        {
            Gauge gauge = (Gauge)base.PublishClone(context);

            if (m_backFrame != null)
            {
                gauge.m_backFrame = (BackFrame)m_backFrame.PublishClone(context);
            }
            if (m_clipContent != null)
            {
                gauge.m_clipContent = (ExpressionInfo)m_clipContent.PublishClone(context);
            }
            if (m_topImage != null)
            {
                gauge.m_topImage = (TopImage)m_topImage.PublishClone(context);
            }
            if (m_aspectRatio != null)
            {
                gauge.m_aspectRatio = (ExpressionInfo)m_aspectRatio.PublishClone(context);
            }
            return(gauge);
        }
Esempio n. 3
0
        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);
        }