Exemple #1
0
 public void EnableFrameDecorator()
 {
     widthAxis  = new WidthAxis(this.frame, layer);
     heightAxis = new HeightAxis(this.frame, layer);
     layer.AddChild(widthAxis);
     layer.AddChild(heightAxis);
 }
Exemple #2
0
 public void DisableFrameDecorator()
 {
     layer.RemoveChild(widthAxis);
     layer.RemoveChild(heightAxis);
     widthAxis.Reset();
     heightAxis.Reset();
     widthAxis  = null;
     heightAxis = null;
 }