ComponentFactory.Krypton.Ribbon.KryptonRibbonDesigner.GetHitTest C# (CSharp) Méthode

GetHitTest() protected méthode

Indicates whether a mouse click at the specified point should be handled by the control.
protected GetHitTest ( Point point ) : bool
point Point A Point indicating the position at which the mouse was clicked, in screen coordinates.
Résultat bool
        protected override bool GetHitTest(Point point)
        {
            // Ask the control if it wants to process the point
            bool ret = _ribbon.DesignerGetHitTest(_ribbon.PointToClient(point));

            // If the ribbon does not want the mouse point then make sure the
            // tracking element is informed that the mouse has left the control
            if (!ret && _lastHitTest)
                _ribbon.DesignerMouseLeave();

            // Cache the last answer recovered
            _lastHitTest = ret;

            return ret;
        }