Example #1
0
            public object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent)
            {
                ScatterSymbolGroupStyle s = null != o ? (ScatterSymbolGroupStyle)o : new ScatterSymbolGroupStyle();

                s._isStepEnabled = info.GetBoolean("StepEnabled");

                var value = (IScatterSymbol)info.GetValue("Value", s);

                var listOfValues = (ScatterSymbolList)info.GetValue("ListOfValues", s);

                ScatterSymbolListManager.Instance.TryRegisterList(listOfValues, Main.ItemDefinitionLevel.Project, out var registeredList);
                s._listOfValues = registeredList;

                s.SetValueCoercedToGroup(value);

                return(s);
            }