Returns the cursor kind for a certain location in a document.


public CursorKind GetCursorKind(System.Drawing.Point viewLocation);
Public Function GetCursorKind(ByVal viewLocation As System.Drawing.Point) As CursorKind


Parameter Description
viewLocation Specifies the location for which the cursor kind is returned. The coordinates must be in pixels with an origin at the top-left corner of the view's location.

Return Value

The return value specifies the kind of the cursor at the specified location. It can be one of the CursorKind values.