Table of Contents

Method LocationWithinDoubleClickSize

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

LocationWithinDoubleClickSize(PointD, AbstractControl)

Determines whether the specified location is within the system-defined double-click area relative to the current location.

public readonly bool LocationWithinDoubleClickSize(PointD newLocation, AbstractControl control)

Parameters

newLocation PointD

The location to compare, typically representing the position of a pointer or user interaction.

control AbstractControl

The control that provides context for the double-click area calculation. Cannot be null.

Returns

bool

true if the specified location is within the double-click area of the current location; otherwise, false.