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