FlexGrid for WinForms
HitTest(Point) Method



System.Drawing.Point in client coordinates.
Returns information about the control at a specified point on the control surface.
Syntax
'Declaration
 
Public Overloads Function HitTest( _
   ByVal pt As Point _
) As HitTestInfo
'Usage
 
Dim instance As C1FlexGridBase
Dim pt As Point
Dim value As HitTestInfo
 
value = instance.HitTest(pt)
public HitTestInfo HitTest( 
   Point pt
)
public:
HitTestInfo HitTest( 
   Point pt
) 

Parameters

pt
System.Drawing.Point in client coordinates.

Return Value

A HitTestInfo object that contains information about the point.
Remarks
This method is especially useful when handling the BeforeMouseDown event. It allows you to determine whether the mouse is over a specific cell, grid buttons, resizing elements, etc.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

C1FlexGridBase Class
C1FlexGridBase Members
Overload List

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback