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);
        }
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.Name:
                    m_name = reader.ReadString();
                    break;

                case MemberName.Text:
                    m_text = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.AllowUpsideDown:
                    m_allowUpsideDown = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.DistanceFromScale:
                    m_distanceFromScale = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.FontAngle:
                    m_fontAngle = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.Placement:
                    m_placement = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.RotateLabel:
                    m_rotateLabel = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.TickMarkStyle:
                    m_tickMarkStyle = (TickMarkStyle)reader.ReadRIFObject();
                    break;

                case MemberName.Value:
                    m_value = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.Hidden:
                    m_hidden = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.UseFontPercent:
                    m_useFontPercent = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.ExprHostID:
                    m_exprHostID = reader.ReadInt32();
                    break;

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
 internal TickMarkStyle(Microsoft.ReportingServices.ReportIntermediateFormat.TickMarkStyle defObject, GaugePanel gaugePanel)
 {
     m_defObject  = defObject;
     m_gaugePanel = gaugePanel;
 }