ComponentFactory.Krypton.Ribbon.GroupButtonController.MouseMove C# (CSharp) Method

MouseMove() public method

Mouse has moved inside the view.
public MouseMove ( Control c, Point pt ) : void
c System.Windows.Forms.Control Reference to the source control instance.
pt Point Mouse position relative to control.
return void
        public virtual void MouseMove(Control c, Point pt)
        {
            // Check to ensure we are actually in mouse over state
            if (!_mouseOver)
                _mouseOver = true;

            // Track if the mouse is inside the split area
            if (ButtonType == GroupButtonType.Split)
                _mouseInSplit = _splitRectangle.Contains(pt);

            // Update the visual state
            UpdateTargetState(pt);
        }