Method GetMouseTargetControl
GetMouseTargetControl(Control?)
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 Control? GetMouseTargetControl(Control? control)
Parameters
control
ControlControl to check.