Table of Contents

Field WinFormsDoubleClickSize

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

Specifies the default pixel size used to determine whether two consecutive mouse clicks are considered a double-click in Windows Forms applications.

public const int WinFormsDoubleClickSize = 4

Returns

int
Specifies the default pixel size used to determine whether two consecutive mouse clicks are considered a double-click in Windows Forms applications.

Remarks

This value represents the maximum distance, in pixels, that the mouse pointer can move between clicks for the clicks to be recognized as a double-click. It is typically used when implementing custom mouse handling logic that needs to match Windows Forms double-click behavior.