protected override void SetupObjectBeforeAmbientControlBaseConnection(object value)
        {
            base.SetupObjectBeforeAmbientControlBaseConnection(value);
            PlotAnnotationBase plotAnnotationBase = value as PlotAnnotationBase;
            Plot plot = ((IPlotObject)plotAnnotationBase).Plot;

            if (plot != null)
            {
                if (plotAnnotationBase.XAxisName == "" && plot.XAxes.Count != 0)
                {
                    plotAnnotationBase.XAxisName = plot.XAxes[0].Name;
                }
                if (plotAnnotationBase.YAxisName == "" && plot.YAxes.Count != 0)
                {
                    plotAnnotationBase.YAxisName = plot.YAxes[0].Name;
                }
            }
        }
 public bool Contains(PlotAnnotationBase value)
 {
     return(base.List.Contains(value));
 }
 public int IndexOf(PlotAnnotationBase value)
 {
     return(base.List.IndexOf(value));
 }
 public void Remove(PlotAnnotationBase value)
 {
     base.List.Remove(value);
 }
 public void Insert(int index, PlotAnnotationBase value)
 {
     base.List.Insert(index, value);
 }
 public int Add(PlotAnnotationBase value)
 {
     return(base.List.Add(value));
 }