/// <summary> /// Copy constructor. /// </summary> /// <param name="from">The style to copy from.</param> public DensityImagePlotStyle(DensityImagePlotStyle from) { InitializeMembers(); this.m_ClipToLayer = from.m_ClipToLayer; this.m_RangeFrom = from.m_RangeFrom; this.m_RangeTo = from.m_RangeTo; this.m_ColorAbove = from.m_ColorAbove; this.m_ColorBelow = from.m_ColorBelow; this.m_ColorInvalid = from.m_ColorInvalid; this.m_ScalingStyle = from.m_ScalingStyle; this.m_Parent = from.m_Parent; this.m_bCachedDataValid = false; }