object ICloneable.Clone()
        {
            BarWidthPositionGroupStyle result = new BarWidthPositionGroupStyle();

            result.CopyFrom(this);
            return(result);
        }
            public object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent)
            {
                BarWidthPositionGroupStyle s = null != o ? (BarWidthPositionGroupStyle)o : new BarWidthPositionGroupStyle();

                s._isStepEnabled = info.GetBoolean("StepEnabled");
                return(s);
            }
        public BarWidthPositionGroupStyle Clone()
        {
            BarWidthPositionGroupStyle result = new BarWidthPositionGroupStyle();

            result.CopyFrom(this);
            return(result);
        }
 public static void AddExternalGroupStyle(IPlotGroupStyleCollection externalGroups)
 {
     if (PlotGroupStyle.ShouldAddExternalGroupStyle(externalGroups, typeof(BarWidthPositionGroupStyle)))
     {
         BarWidthPositionGroupStyle gstyle = new BarWidthPositionGroupStyle();
         gstyle.IsStepEnabled = true;
         externalGroups.Add(gstyle);
     }
 }
        public void TransferFrom(IPlotGroupStyle fromb)
        {
            BarWidthPositionGroupStyle from = (BarWidthPositionGroupStyle)fromb;

            _isInitialized       = from._isInitialized;
            _numberOfItems       = from._numberOfItems;
            _relInnerGapWidth    = from._relInnerGapWidth;
            _relOuterGapWidth    = from._relOuterGapWidth;
            _logicalClusterWidth = from._logicalClusterWidth;
            _width     = from._width;
            _positionX = from._positionX;
        }
 void CopyFrom(BarWidthPositionGroupStyle from)
 {
     _isInitialized = from._isInitialized;
     _isStepEnabled = from._isStepEnabled;
     _wasTouchedInThisPrepareStep = from._wasTouchedInThisPrepareStep;
     _numberOfItems       = from._numberOfItems;
     _relInnerGapWidth    = from._relInnerGapWidth;
     _relOuterGapWidth    = from._relOuterGapWidth;
     _logicalClusterWidth = from._logicalClusterWidth;
     _width     = from._width;
     _positionX = from._positionX;
 }
 void CopyFrom(BarWidthPositionGroupStyle from)
 {
   _isInitialized = from._isInitialized;
   _isStepEnabled = from._isStepEnabled;
   _wasTouchedInThisPrepareStep = from._wasTouchedInThisPrepareStep;
   _numberOfItems = from._numberOfItems;
   _relInnerGapWidth = from._relInnerGapWidth;
   _relOuterGapWidth = from._relOuterGapWidth;
   _logicalClusterWidth = from._logicalClusterWidth;
   _width = from._width;
   _positionX = from._positionX;
 }
            public void Serialize(object obj, Altaxo.Serialization.Xml.IXmlSerializationInfo info)
            {
                BarWidthPositionGroupStyle s = (BarWidthPositionGroupStyle)obj;

                info.AddValue("StepEnabled", s._isStepEnabled);
            }
 public static void AddExternalGroupStyle(IPlotGroupStyleCollection externalGroups)
 {
   if (PlotGroupStyle.ShouldAddExternalGroupStyle(externalGroups, typeof(BarWidthPositionGroupStyle)))
   {
     BarWidthPositionGroupStyle gstyle = new BarWidthPositionGroupStyle();
     gstyle.IsStepEnabled = true;
     externalGroups.Add(gstyle);
   }
 }
 object ICloneable.Clone()
 {
   BarWidthPositionGroupStyle result = new BarWidthPositionGroupStyle();
   result.CopyFrom(this);
   return result;
 }
 public BarWidthPositionGroupStyle Clone()
 {
   BarWidthPositionGroupStyle result = new BarWidthPositionGroupStyle();
   result.CopyFrom(this);
   return result;
 }