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
originalTarget
AbstractControlControl on which event is originally fired.
timestamp
longEvent time.
changedButton
MouseButtonPressed button.
position
PointD?Mouse position.
handled
boolResult 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
AbstractControlThe control that was originally targeted by the mouse double-click event. Can be null.
timestamp
longThe timestamp of the event, typically in milliseconds since the application started.
changedButton
MouseButtonThe 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
boolWhen the method returns, contains true if the event was handled; otherwise, false.
deviceType
TouchDeviceTypeThe 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.