Version

HitTest(Point) Method

Returns the topmost object of a hit test for the specified point
Syntax
'Declaration
 
Public Function HitTest( _
   ByVal point As Point _
) As SpreadsheetHitTestResult
public SpreadsheetHitTestResult HitTest( 
   Point point
)

Parameters

point
A point relative to the XamSpreadsheet to hit test against.

Return Value

An object such as a SpreadsheetCellHitTestResult or SpreadsheetHeaderHitTestResult that provides information about the area associated with the specified point or null if the point is not associated with a spreadsheet item such as a cell or header.
Remarks

Note: This method only evaluates XamSpreadsheet specific information such as the positions of the rows and columns of the associated ActiveWorksheet that is being displayed by the control and isn't related to other element related input hit testing such as InputHitTest or VisualTreeHelper's HitTest methods.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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