Ejemplo n.º 1
0
        /// <summary>
        /// Mouse has left the view.
        /// </summary>
        /// <param name="c">Reference to the source control instance.</param>
        /// <param name="next">Reference to view that is next to have the mouse.</param>
        public virtual void MouseLeave(Control c, ViewBase next)
        {
            // Only if mouse is leaving all the children monitored by controller.
            if (_mouseOver && !_months.ContainsRecurse(next))
            {
                _mouseOver          = false;
                _months.TrackingDay = null;

                ViewManager?.ClearTarget(this);
            }
        }