Syncfusion.Grid.Windows


The row index.
The column index.
A System.Windows.Forms.MouseEventArgs with data about the mouse event.
The current controller requested to handle this mouse event.

RaiseHitTest Method

This is called from GridClickCellsMouseController or GridSelectCellsMouseController. Checks if the mouse is over a cell button element and if the cell is click-able.
Syntax
'Declaration
 
Public Function RaiseHitTest( _
   ByVal rowIndex As Integer, _
   ByVal colIndex As Integer, _
   ByVal mouseEventArgs As MouseEventArgs, _
   ByVal controller As IMouseController _
) As Integer
'Usage
 
Dim instance As GridCellRendererBase
Dim rowIndex As Integer
Dim colIndex As Integer
Dim mouseEventArgs As MouseEventArgs
Dim controller As IMouseController
Dim value As Integer
 
value = instance.RaiseHitTest(rowIndex, colIndex, mouseEventArgs, controller)

Parameters

rowIndex
The row index.
colIndex
The column index.
mouseEventArgs
A System.Windows.Forms.MouseEventArgs with data about the mouse event.
controller
The current controller requested to handle this mouse event.

Return Value

Non-zero hit context value if you request to handle the mouse event; zero if you vote not to handle the mouse event.
Remarks
Override OnHitTest in your derived cell renderer if you want to catch mouse events.
AssemblyVersion

Syncfusion.Grid.Windows: 18.2460.0.44

See Also