void CopyFrom(LayerBackground from) { this._background = null == from._background ? null : (IBackgroundStyle)from._background.Clone(); this._leftPadding = from._leftPadding; this._rightPadding = from._rightPadding; this._topPadding = from._topPadding; this._bottomPadding = from._bottomPadding; }
void CopyFrom(LayerBackground from) { this._background = null == from._background ? null : (IBackgroundStyle)from._background.Clone(); this._leftPadding = from._leftPadding; this._rightPadding = from._rightPadding; this._topPadding = from._topPadding; this._bottomPadding = from._bottomPadding; }
public virtual void Serialize(object obj, Altaxo.Serialization.Xml.IXmlSerializationInfo info) { LayerBackground s = (LayerBackground)obj; info.AddValue("Background", s._background); info.AddValue("LeftPadding", s._leftPadding); info.AddValue("TopPadding", s._topPadding); info.AddValue("RightPadding", s._rightPadding); info.AddValue("BottomPadding", s._bottomPadding); }
protected virtual LayerBackground SDeserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent) { LayerBackground s = (o == null ? new LayerBackground() : (LayerBackground)o); s._background = (Background.IBackgroundStyle)info.GetValue("Background", s); s._leftPadding = info.GetDouble("LeftPadding"); s._topPadding = info.GetDouble("TopPadding"); s._rightPadding = info.GetDouble("RightPadding"); s._bottomPadding = info.GetDouble("BottomPadding"); return(s); }
private void CopyFrom(LayerBackground from) { if (object.ReferenceEquals(this, from)) return; this._background = null == from._background ? null : (IBackgroundStyle)from._background.Clone(); this._background.ParentObject = this; this._leftPadding = from._leftPadding; this._rightPadding = from._rightPadding; this._topPadding = from._topPadding; this._bottomPadding = from._bottomPadding; }
private void CopyFrom(LayerBackground from) { if (object.ReferenceEquals(this, from)) { return; } _background = null == from._background ? null : (IBackgroundStyle)from._background.Clone(); _background.ParentObject = this; _leftPadding = from._leftPadding; _rightPadding = from._rightPadding; _topPadding = from._topPadding; _bottomPadding = from._bottomPadding; }
public object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent) { LayerBackground s = SDeserialize(o, info, parent); return(s); }
public LayerBackground(LayerBackground from) { CopyFrom(from); }
public LayerBackground(LayerBackground from) { CopyFrom(from); }