Beispiel #1
0
        internal override void ReadXmlInternal(XmlReader reader)
        {
            string str;

            base.ReadXmlInternal(reader);
            if ((reader.NodeType == ((XmlNodeType)((int)XmlNodeType.Element))) && ((str = reader.Name) != null))
            {
                if (str != "Orientation")
                {
                    if (str != "Alignment")
                    {
                        if (str == "OverlapChart")
                        {
                            this._overlapChart = (bool)((bool)Serializer.DeserializeObj(typeof(bool), reader));
                        }
                        return;
                    }
                }
                else
                {
                    this._orientation = (Windows.UI.Xaml.Controls.Orientation)Serializer.DeserializeObj(typeof(Windows.UI.Xaml.Controls.Orientation), reader);
                    return;
                }
                this._alignment = (LegendAlignment)Serializer.DeserializeObj(typeof(LegendAlignment), reader);
            }
        }
Beispiel #2
0
 internal Legend(SpreadChart owner) : base(owner)
 {
     this._alignment = LegendAlignment.MiddleRight;
 }
Beispiel #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:Dt.Cells.Data.Legend" /> class.
 /// </summary>
 public Legend()
 {
     this._alignment = LegendAlignment.MiddleRight;
 }