Ejemplo n.º 1
0
 public void OnPlotterDetaching(Plotter plotter)
 {
     RemoveFromPlotter();
     this.plotter = null;
 }
 protected override void OnPlotterDetaching(Plotter plotter)
 {
     base.OnPlotterDetaching(plotter);
     _activeRequest?.Cancel();
 }
Ejemplo n.º 3
0
 public void OnPlotterAttached(Plotter plotter)
 {
     this.plotter = plotter;
     AddToPlotter();
 }
 void IPlotterElement.OnPlotterDetaching(Plotter plotter)
 {
     OnPlotterDetaching(plotter);
 }
Ejemplo n.º 5
0
 public static void SetPlotter(DependencyObject obj, Plotter value)
 {
     obj.SetValue(PlotterProperty, value);
 }
 /// <summary>This method is invoked when element is being detached from plotter. If additional
 /// controls were put on plotter in OnPlotterAttached method, they should be removed here</summary>
 /// <remarks>This method is always called in pair with OnPlotterAttached</remarks>
 protected virtual void OnPlotterDetaching(Plotter plotter)
 {
     this.plotter = null;
 }
 void IPlotterElement.OnPlotterAttached(Plotter plotter)
 {
     OnPlotterAttached(plotter);
 }
Ejemplo n.º 8
0
 protected abstract Panel GetHostPanel(Plotter plotter);
 /// <summary>This method is invoked when element is attached to plotter. It is the place
 /// to put additional controls to Plotter</summary>
 /// <param name="plotter">Plotter for this element</param>
 protected virtual void OnPlotterAttached(Plotter plotter)
 {
     this.plotter = plotter;
 }
Ejemplo n.º 10
0
 void IPlotterElement.OnPlotterAttached(Plotter plotter)
 {
     this.plotter = plotter;
     plotter.CentralGrid.Children.Add(this);
 }
Ejemplo n.º 11
0
 void IPlotterElement.OnPlotterDetaching(Plotter plotter)
 {
     plotter.CentralGrid.Children.Remove(this);
     this.plotter = null;
 }
 protected virtual Panel GetHostPanel(Plotter plotter)
 {
     return(plotter.CentralGrid);
 }
Ejemplo n.º 13
0
 void IPlotterElement.OnPlotterDetaching(Plotter plotter)
 {
     plotter.FooterPanel.Children.Remove(this);
     this.plotter = null;
 }
Ejemplo n.º 14
0
 void IPlotterElement.OnPlotterAttached(Plotter plotter)
 {
     this.plotter = plotter;
     plotter.FooterPanel.Children.Add(this);
 }
Ejemplo n.º 15
0
 public void OnPlotterDetaching(Plotter plotter)
 {
     this.plotter = null;
     plotter.HeaderPanel.Children.Remove(this);
 }
Ejemplo n.º 16
0
 public void OnPlotterAttached(Plotter plotter)
 {
     this.plotter = plotter;
     plotter.HeaderPanel.Children.Add(this);
 }