public bool CopyFrom(object obj, bool copyWithDataReferences) { if (object.ReferenceEquals(this, obj)) { return(true); } var from = obj as VectorCartesicPlotStyle; if (null != from) { _meaningOfValues = from._meaningOfValues; _independentSkipFrequency = from._independentSkipFrequency; _skipFrequency = from._skipFrequency; _useManualVectorLength = from._useManualVectorLength; _vectorLengthOffset = from._vectorLengthOffset; _vectorLengthFactor = from._vectorLengthFactor; _independentSymbolSize = from._independentSymbolSize; _symbolSize = from._symbolSize; _strokePen = from._strokePen; _independentColor = from._independentColor; _lineWidth1Offset = from._lineWidth1Offset; _lineWidth1Factor = from._lineWidth1Factor; _lineWidth2Offset = from._lineWidth2Offset; _lineWidth2Factor = from._lineWidth2Factor; _endCapSizeFactor = from._endCapSizeFactor; _endCapSizeOffset = from._endCapSizeOffset; _useSymbolGap = from._useSymbolGap; _symbolGapFactor = from._symbolGapFactor; _symbolGapOffset = from._symbolGapOffset; _independentSkipFrequency = from._independentSkipFrequency; _skipFrequency = from._skipFrequency; _independentOnShiftingGroupStyles = from._independentOnShiftingGroupStyles; _cachedLogicalShiftX = from._cachedLogicalShiftX; _cachedLogicalShiftY = from._cachedLogicalShiftY; if (copyWithDataReferences) { ChildCloneToMember(ref _columnX, from._columnX); ChildCloneToMember(ref _columnY, from._columnY); ChildCloneToMember(ref _columnZ, from._columnZ); } EhSelfChanged(); return(true); } return(false); }
public bool CopyFrom(object obj, bool copyWithDataReferences) { if (object.ReferenceEquals(this, obj)) return true; var from = obj as VectorCartesicPlotStyle; if (null != from) { this._meaningOfValues = from._meaningOfValues; this._independentSkipFrequency = from._independentSkipFrequency; this._skipFrequency = from._skipFrequency; this._useManualVectorLength = from._useManualVectorLength; this._vectorLengthOffset = from._vectorLengthOffset; this._vectorLengthFactor = from._vectorLengthFactor; this._independentSymbolSize = from._independentSymbolSize; this._symbolSize = from._symbolSize; this._strokePen = from._strokePen; this._independentColor = from._independentColor; _lineWidth1Offset = from._lineWidth1Offset; _lineWidth1Factor = from._lineWidth1Factor; _lineWidth2Offset = from._lineWidth2Offset; _lineWidth2Factor = from._lineWidth2Factor; this._endCapSizeFactor = from._endCapSizeFactor; this._endCapSizeOffset = from._endCapSizeOffset; this._useSymbolGap = from._useSymbolGap; this._symbolGapFactor = from._symbolGapFactor; this._symbolGapOffset = from._symbolGapOffset; this._independentSkipFrequency = from._independentSkipFrequency; this._skipFrequency = from._skipFrequency; this._independentOnShiftingGroupStyles = from._independentOnShiftingGroupStyles; this._cachedLogicalShiftX = from._cachedLogicalShiftX; this._cachedLogicalShiftY = from._cachedLogicalShiftY; if (copyWithDataReferences) { ChildCloneToMember(ref _columnX, from._columnX); ChildCloneToMember(ref _columnY, from._columnY); ChildCloneToMember(ref _columnZ, from._columnZ); } EhSelfChanged(); return true; } return false; }
public bool CopyFrom(object obj, bool copyWithDataReferences) { if (object.ReferenceEquals(this, obj)) return true; var from = obj as ErrorBarPlotStyle; if (null != from) { this._meaningOfValues = from._meaningOfValues; this._useCommonErrorColumn = from._useCommonErrorColumn; if (copyWithDataReferences) { ChildCloneToMember(ref _commonErrorColumn, from._commonErrorColumn); ChildCloneToMember(ref _positiveErrorColumn, from._positiveErrorColumn); ChildCloneToMember(ref _negativeErrorColumn, from._negativeErrorColumn); } this._independentSkipFrequency = from._independentSkipFrequency; this._skipFrequency = from._skipFrequency; this._ignoreMissingDataPoints = from._ignoreMissingDataPoints; this._independentOnShiftingGroupStyles = from._independentOnShiftingGroupStyles; this._independentSymbolSize = from._independentSymbolSize; this._symbolSize = from._symbolSize; ChildCopyToMember(ref _pen, from._pen); this._independentColor = from._independentColor; this._independentDashPattern = from._independentDashPattern; _lineWidth1Offset = from._lineWidth1Offset; _lineWidth1Factor = from._lineWidth1Factor; this._endCapSizeFactor = from._endCapSizeFactor; this._endCapSizeOffset = from._endCapSizeOffset; this._useSymbolGap = from._useSymbolGap; this._symbolGapFactor = from._symbolGapFactor; this._symbolGapOffset = from._symbolGapOffset; this._cachedLogicalShiftX = from._cachedLogicalShiftX; this._cachedLogicalShiftY = from._cachedLogicalShiftY; EhSelfChanged(); return true; } return false; }