UtilFormsGetControlFromPoint(Form, Point) Method
Gets the corresponding control (if any) that is over the specified point.
Namespace: DevCase.Core.Application.FormsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
No code example is currently available or this language may not be supported.
- form Form
-
The source Form where to search for.
- pt Point
-
The mouse point, in non-relative screen coordinates.
Control
The resulting
Control, or
.
This is a code example.
No code example is currently available or this language may not be supported.
Dim ctrl As Control = GetControlFromPoint(Me, Cursor.Position)
If (ctrl IsNot Nothing) Then
Console.WriteLine(ctrl.Name)
End If
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.