public void CopyFrom(DropAreaPlotStyle from, Main.EventFiring eventFiring) { if (object.ReferenceEquals(this, from)) { return; } using (var suspendToken = SuspendGetToken()) { _connectionStyle = from._connectionStyle; _connectCircular = from._connectCircular; _ignoreMissingDataPoints = from._ignoreMissingDataPoints; _independentOnShiftingGroupStyles = from._independentOnShiftingGroupStyles; _fillDirection = from._fillDirection; _fillRule = from._fillRule; ChildCopyToMember(ref _fillBrush, from._fillBrush); _fillColorLinkage = from._fillColorLinkage; ChildCopyToMember(ref _framePen, from._framePen); _frameColorLinkage = from._frameColorLinkage; EhSelfChanged(); suspendToken.Resume(eventFiring); } }
public void CopyFrom(DropAreaPlotStyle from, Main.EventFiring eventFiring) { if (object.ReferenceEquals(this, from)) return; using (var suspendToken = SuspendGetToken()) { this._connectionStyle = from._connectionStyle; this._connectCircular = from._connectCircular; this._ignoreMissingDataPoints = from._ignoreMissingDataPoints; this._independentOnShiftingGroupStyles = from._independentOnShiftingGroupStyles; this._fillDirection = from._fillDirection; this._fillRule = from._fillRule; ChildCopyToMember(ref _fillBrush, from._fillBrush); this._fillColorLinkage = from._fillColorLinkage; ChildCopyToMember(ref _framePen, from._framePen); this._frameColorLinkage = from._frameColorLinkage; EhSelfChanged(); suspendToken.Resume(eventFiring); } }