Skip to main content

PointerReleasedEventArgs Class

Definition

Namespace:Avalonia.Input
Assembly:Avalonia.Base
Package:Avalonia
public class PointerReleasedEventArgs

Inheritance: EventArgs -> RoutedEventArgs -> PointerEventArgs -> PointerReleasedEventArgs

Constructors

NameDescription
PointerReleasedEventArgsNo summary available.

PointerReleasedEventArgs Constructor

public PointerReleasedEventArgs(object source, Avalonia.Input.IPointer pointer, Avalonia.Visual rootVisual, Avalonia.Point rootVisualPosition, ulong timestamp, Avalonia.Input.PointerPointProperties properties, Avalonia.Input.KeyModifiers modifiers, Avalonia.Input.MouseButton initialPressMouseButton)

Parameters

source object

pointer Avalonia.Input.IPointer

rootVisual Avalonia.Visual

rootVisualPosition Avalonia.Point

timestamp ulong

properties Avalonia.Input.PointerPointProperties

modifiers Avalonia.Input.KeyModifiers

initialPressMouseButton Avalonia.Input.MouseButton

Methods

NameDescription
GetCurrentPointReturns the PointerPoint associated with the current event Inherited from PointerEventArgs.
GetIntermediatePointsReturns the PointerPoint associated with the current event Inherited from PointerEventArgs.
GetPositionGets the pointer position relative to a control. Inherited from PointerEventArgs.
PreventGestureRecognitionPrevents this event from being handled by other gesture recognizers in the route Inherited from PointerEventArgs.

Properties

NameDescription
InitialPressMouseButtonGets the mouse button that triggered the corresponding PointerPressed event
KeyModifiersGets a value that indicates which key modifiers were active at the time that the pointer event was initiated. Inherited from PointerEventArgs.
PointerGets specific pointer generated by input device. Inherited from PointerEventArgs.
PropertiesGets the state the pointer device had when this event occurred. Inherited from PointerEventArgs.
TimestampGets the time when the input occurred. Inherited from PointerEventArgs.
HandledGets or sets a value indicating whether the routed event has already been handled. Inherited from RoutedEventArgs.
RouteGets or sets the routing strategy (direct, bubbling, or tunneling) of the routed event. Inherited from RoutedEventArgs.
RoutedEventGets or sets the routed event associated with these event args. Inherited from RoutedEventArgs.
SourceGets or sets the source object that raised the routed event. Inherited from RoutedEventArgs.

InitialPressMouseButton Property

Gets the mouse button that triggered the corresponding PointerPressed event

public Avalonia.Input.MouseButton InitialPressMouseButton { get; set; }