Share via


SwitcherDesigner.GetHitTest Method

Indicates whether a mouse click at the specified point should be handled by the control.

Namespace:  Microsoft.SqlServer.Management.Controls
Assembly:  Microsoft.SqlServer.Management.Controls (in Microsoft.SqlServer.Management.Controls.dll)

Syntax

'Declaration
Protected Overrides Function GetHitTest ( _
    point As Point _
) As Boolean
'Usage
Dim point As Point
Dim returnValue As Boolean

returnValue = Me.GetHitTest(point)
protected override bool GetHitTest(
    Point point
)
protected:
virtual bool GetHitTest(
    Point point
) override
abstract GetHitTest : 
        point:Point -> bool 
override GetHitTest : 
        point:Point -> bool 
protected override function GetHitTest(
    point : Point
) : boolean

Parameters

  • point
    Type: System.Drawing.Point
    A Point that indicates the position at which the mouse was clicked, in screen coordinates.

Return Value

Type: System.Boolean
true if a click at the specified point is to be handled by the control; otherwise, false.