Skip to main content

PointerDeltaEventArgs Class

Definition

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

Inheritance: EventArgs -> RoutedEventArgs -> PointerEventArgs -> PointerDeltaEventArgs

Constructors

NameDescription
PointerDeltaEventArgsNo summary available.

PointerDeltaEventArgs Constructor

public PointerDeltaEventArgs(Avalonia.Interactivity.RoutedEvent routedEvent, object source, Avalonia.Input.IPointer pointer, Avalonia.Visual rootVisual, Avalonia.Point rootVisualPosition, ulong timestamp, Avalonia.Input.PointerPointProperties properties, Avalonia.Input.KeyModifiers modifiers, Avalonia.Vector delta)

Parameters

routedEvent Avalonia.Interactivity.RoutedEvent

source object

pointer Avalonia.Input.IPointer

rootVisual Avalonia.Visual

rootVisualPosition Avalonia.Point

timestamp ulong

properties Avalonia.Input.PointerPointProperties

modifiers Avalonia.Input.KeyModifiers

delta Avalonia.Vector

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
DeltaNo summary available.
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.

Delta Property

public Avalonia.Vector Delta { get; set; }