public object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent) { FloatingScale s = null != o ? (FloatingScale)o : new FloatingScale(info); info.GetBaseValueEmbedded(s, typeof(FloatingScale).BaseType, parent); s._scaleNumber = info.GetInt32("ScaleNumber"); s._scaleSpanType = (FloatingScaleSpanType)info.GetEnum("ScaleSpanType", typeof(FloatingScaleSpanType)); s._scaleSpanValue = info.GetDouble("ScaleSpanValue"); s._scaleSegmentType = (ScaleSegmentType)info.GetEnum("ScaleType", typeof(ScaleSegmentType)); s._tickSpacing = (TickSpacing)info.GetValue("TickSpacing", s); if (null != s._tickSpacing) { s._tickSpacing.ParentObject = s; } s._axisStyle = (AxisStyle)info.GetValue("AxisStyle", s); if (null != s._axisStyle) { s._axisStyle.ParentObject = s; } s._background = (IBackgroundStyle)info.GetValue("Background", s); if (null != s._background) { s._background.ParentObject = s; s._backgroundPadding = (Margin2D)info.GetValue("BackgroundPadding", s); } return(s); }
public MyHitTestObject(FloatingScale obj) : base(obj) { }
public FloatingScale(FloatingScale from) : base(from) // all is done here, since CopyFrom is virtual! { }