Esempio n. 1
0
        /// <summary>
        /// Implements the deep copy of the object.
        /// </summary>
        protected override object DeepCopy()
        {
            Gridlines gridlines = (Gridlines)base.DeepCopy();

            if (gridlines._lineFormat != null)
            {
                gridlines._lineFormat         = gridlines._lineFormat.Clone();
                gridlines._lineFormat._parent = gridlines;
            }
            return(gridlines);
        }
Esempio n. 2
0
        /// <summary>
        /// Determines whether the specified gridlines object is a MajorGridlines or an MinorGridlines.
        /// </summary>
        public string CheckGridlines(Gridlines gridlines)
        {
            if ((_majorGridlines != null) && (gridlines == _majorGridlines))
            {
                return("MajorGridlines");
            }
            if ((_minorGridlines != null) && (gridlines == _minorGridlines))
            {
                return("MinorGridlines");
            }

            return("");
        }
Esempio n. 3
0
        /// <summary>
        /// Determines whether the specified gridlines object is a MajorGridlines or an MinorGridlines.
        /// </summary>
        internal string CheckGridlines(Gridlines gridlines)
        {
            if ((this.majorGridlines != null) && (gridlines == this.majorGridlines))
            {
                return("MajorGridlines");
            }
            if ((this.minorGridlines != null) && (gridlines == this.minorGridlines))
            {
                return("MinorGridlines");
            }

            return("");
        }
Esempio n. 4
0
        /// <summary>
        /// Determines whether the specified gridlines object is a MajorGridlines or an MinorGridlines.
        /// </summary>
        internal string CheckGridlines(Gridlines gridlines)
        {
            if ((this.majorGridlines != null) && (gridlines == this.majorGridlines))
            return "MajorGridlines";
              if ((this.minorGridlines != null) && (gridlines == this.minorGridlines))
            return "MinorGridlines";

              return "";
        }