C1.Win.C1FlexGrid Namespace > C1FlexGridBase Class > HitTest Method : HitTest(Int32,Int32) Method |
'Declaration
Public Overloads Function HitTest( _ ByVal x As Integer, _ ByVal y As Integer _ ) As HitTestInfo
'Usage
Dim instance As C1FlexGridBase Dim x As Integer Dim y As Integer Dim value As HitTestInfo value = instance.HitTest(x, y)
public HitTestInfo HitTest( int x, int y )
public: HitTestInfo HitTest( int x, int y )
void _flex_BeforeMouseDown(object sender, BeforeMouseDownEventArgs e) { HitTestInfo hti = _flex.HitTest(e.X, e.Y); Console.WriteLine("at {0},{1}: row {2} col {3} type {4}", hti.X, hti.Y, hti.Row, hti.Column, hti.Type); }
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