protected override void SetupObjectBeforeAmbientControlBaseConnection(object value) { base.SetupObjectBeforeAmbientControlBaseConnection(value); PlotDataCursorBase plotDataCursorBase = value as PlotDataCursorBase; Plot plot = ((IPlotObject)plotDataCursorBase).Plot; if (plot != null && plotDataCursorBase is PlotDataCursorXY) { PlotDataCursorXY plotDataCursorXY = plotDataCursorBase as PlotDataCursorXY; if (plotDataCursorXY.XAxisName == "" && plot.XAxes.Count != 0) { plotDataCursorXY.XAxisName = plot.XAxes[0].Name; } if (plotDataCursorXY.YAxisName == "" && plot.YAxes.Count != 0) { plotDataCursorXY.YAxisName = plot.YAxes[0].Name; } } }
public PlotDataCursorHint(PlotDataCursorBase value) { this.m_DataCursor = value; base.DoCreate(); }
public bool Contains(PlotDataCursorBase value) { return(base.List.Contains(value)); }
public int IndexOf(PlotDataCursorBase value) { return(base.List.IndexOf(value)); }
public void Remove(PlotDataCursorBase value) { base.List.Remove(value); }
public void Insert(int index, PlotDataCursorBase value) { base.List.Insert(index, value); }
public int Add(PlotDataCursorBase value) { return(base.List.Add(value)); }
public PlotDataCursorCustomizeHintTextEventArgs(PlotDataCursorBase dataCursor, string text) { this.m_DataCursor = dataCursor; this.m_Text = text; }