Table of Contents

Method DoubleClickSizeForControl

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

DoubleClickSizeForControl(AbstractControl)

Returns the recommended double-click hit test size for the specified control, adjusted for its current scale factor.

public static SizeD DoubleClickSizeForControl(AbstractControl control)

Parameters

control AbstractControl

The control for which to calculate the double-click hit test size. Cannot be null.

Returns

SizeD

A SizeD representing the width and height, in device-independent pixels, of the double-click hit test area for the specified control.