Method GetMouseTargetControl
GetMouseTargetControl(ref AbstractControl?, ref PointD?)
Finds control which accepts mouse events (checks whether InputTransparent
property is true). Returns control specified as a parameter or one
of its parent controls.
public static AbstractControl? GetMouseTargetControl(ref AbstractControl? control, ref PointD? mousePosition)
Parameters
controlAbstractControlControl to check.
mousePositionPointD?The position of the mouse pointer.