public virtual void MouseLeave(Control c, ViewBase next)
{
// Only if mouse is leaving all the children monitored by controller.
if (!_target.ContainsRecurse(next))
{
// Mouse is no longer over the target
_mouseOver = false;
// Not tracking the mouse means a null value
_mousePoint = CommonHelper.NullPoint;
// If leaving the view then cannot be capturing mouse input anymore
_captured = false;
// Update the visual state
UpdateTargetState(c);
}
}