Tests what item insertion mark is closest to a specified point.
Namespace:
Aurigma.GraphicsMill.WinControls
Assembly:
Aurigma.GraphicsMill.WinControls (in Aurigma.GraphicsMill.WinControls.dll)
Public Function InsertMarkHitTest ( _ x As Integer, _ y As Integer, _ <OutAttribute> ByRef index As Integer, _ <OutAttribute> ByRef afterItem As Boolean _ ) As Boolean
Type: System.Int32
X-coordinate of the position to test.Type: System.Int32
Y-coordinate of the position to test.Type: System.Int32 %
An integer value that receives an index of the item next to the insertion mark.Type: System.Boolean %
A Boolean value which specifies whether the insertion point should appear after the item (when the value is true) or before it (when the value is false).An insertion mark does not make sense for Details view.
Coordinates are interpreted relatively the control client area. It does not depend on the scrolling position, etc.