Beispiel #1
0
 public void OnPlotterDetaching(Plotter plotter)
 {
     RemoveFromPlotter();
     this.plotter = null;
 }
 protected override void OnPlotterDetaching(Plotter plotter)
 {
     base.OnPlotterDetaching(plotter);
     _activeRequest?.Cancel();
 }
Beispiel #3
0
 public void OnPlotterAttached(Plotter plotter)
 {
     this.plotter = plotter;
     AddToPlotter();
 }
 void IPlotterElement.OnPlotterDetaching(Plotter plotter)
 {
     OnPlotterDetaching(plotter);
 }
Beispiel #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);
 }
Beispiel #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;
 }
Beispiel #10
0
 void IPlotterElement.OnPlotterAttached(Plotter plotter)
 {
     this.plotter = plotter;
     plotter.CentralGrid.Children.Add(this);
 }
Beispiel #11
0
 void IPlotterElement.OnPlotterDetaching(Plotter plotter)
 {
     plotter.CentralGrid.Children.Remove(this);
     this.plotter = null;
 }
 protected virtual Panel GetHostPanel(Plotter plotter)
 {
     return(plotter.CentralGrid);
 }
 void IPlotterElement.OnPlotterDetaching(Plotter plotter)
 {
     plotter.FooterPanel.Children.Remove(this);
     this.plotter = null;
 }
 void IPlotterElement.OnPlotterAttached(Plotter plotter)
 {
     this.plotter = plotter;
     plotter.FooterPanel.Children.Add(this);
 }
 public void OnPlotterDetaching(Plotter plotter)
 {
     this.plotter = null;
     plotter.HeaderPanel.Children.Remove(this);
 }
 public void OnPlotterAttached(Plotter plotter)
 {
     this.plotter = plotter;
     plotter.HeaderPanel.Children.Add(this);
 }