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
control
AbstractControlControl to check.
mousePosition
PointD?The position of the mouse pointer.