Table of Contents

Method BubbleMouseDoubleClick

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

BubbleMouseDoubleClick(AbstractControl?, long, MouseButton, PointD?, out bool)

Bubbles mouse double-click event with the specified parameters.

public static void BubbleMouseDoubleClick(AbstractControl? originalTarget, long timestamp, MouseButton changedButton, PointD? position, out bool handled)

Parameters

originalTarget AbstractControl

Control on which event is originally fired.

timestamp long

Event time.

changedButton MouseButton

Pressed button.

position PointD?

Mouse position.

handled bool

Result of the event processing.

BubbleMouseDoubleClick(AbstractControl?, long, MouseButton, PointD?, out bool, TouchDeviceType)

Raises a mouse double-click event for the specified control and propagates it to the appropriate target.

public static void BubbleMouseDoubleClick(AbstractControl? originalTarget, long timestamp, MouseButton changedButton, PointD? position, out bool handled, TouchDeviceType deviceType = TouchDeviceType.Mouse)

Parameters

originalTarget AbstractControl

The control that was originally targeted by the mouse double-click event. Can be null.

timestamp long

The timestamp of the event, typically in milliseconds since the application started.

changedButton MouseButton

The mouse button that triggered the double-click event.

position PointD?

The position of the mouse pointer at the time of the event, in device-independent coordinates. Can be null.

handled bool

When the method returns, contains true if the event was handled; otherwise, false.

deviceType TouchDeviceType

The type of input device that triggered the event. Defaults to Mouse.

Remarks

This method determines the appropriate target control for the mouse double-click event based on the original target and position. If no valid target is found, the method exits without raising the event.