protected override void OnMouseMove(System.Windows.Input.MouseEventArgs e) { if (e != null && !this.Disabled && this.IsOutmostPanel()) { if (this.AutoConnectEnabled) { this.RemoveAutoConnectAdorner(); } if (e.LeftButton == MouseButtonState.Pressed) { if (connectorEditor != null && connectorEditor.BeingEdited) { AutoScrollHelper.AutoScroll(e, this, 1); connectorEditor.Update(e.GetPosition(this)); e.Handled = true; } } } base.OnMouseMove(e); }