Method BubbleMouseDoubleClick
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
originalTargetAbstractControlControl on which event is originally fired.
timestamplongEvent time.
changedButtonMouseButtonPressed button.
positionPointD?Mouse position.
handledboolResult 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
originalTargetAbstractControlThe control that was originally targeted by the mouse double-click event. Can be null.
timestamplongThe timestamp of the event, typically in milliseconds since the application started.
changedButtonMouseButtonThe mouse button that triggered the double-click event.
positionPointD?The position of the mouse pointer at the time of the event, in device-independent coordinates. Can be null.
handledboolWhen the method returns, contains true if the event was handled; otherwise, false.
deviceTypeTouchDeviceTypeThe 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.