Table of Contents

Method GetMouseTargetControl

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

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 AbstractControl

Control to check.

mousePosition PointD?

The position of the mouse pointer.

Returns

AbstractControl