public virtual void MouseLeave(Control c, ViewBase next) { if (!_target.ContainsRecurse(next)) { // Mouse is no longer over the target _mouseOver = false; // Update the visual state if (!_fixedPressed) { // If leaving the view then cannot be capturing mouse input anymore _captured = false; UpdateTargetState(c); } } }