Table of Contents

Method GetHitTestRect

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

GetHitTestRect(AbstractControl, int)

Returns the hit test rectangle for the specified control and hit test result.

protected virtual RectD? GetHitTestRect(AbstractControl sender, int hitTest)

Parameters

sender AbstractControl

The control for which the hit test rectangle is being requested.

hitTest int

The hit test result that determines the area to be returned.

Returns

RectD?

A RectD representing the hit test area. Returns null if no hit test rectangle is available.