protected virtual void OnIsTracingEnabledChanged( bool oldValue, bool newValue) { if (ParentGraph == null) { return; } mIsTracingBoxAdded = newValue; if (oldValue) { ParentGraph.RemoveTracingBox(TracingBox); } if (newValue) { ParentGraph.AddTracingBox(TracingBox); } }