Skip to main content

HoldingRoutedEventArgs Class

Definition

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

Inheritance: EventArgs -> RoutedEventArgs -> HoldingRoutedEventArgs

Properties

NameDescription
HoldingStateGets the state of the Avalonia.Input.InputElement.HoldingEvent event.
PointerTypeGets the pointer type of the input source.
PositionGets the location of the touch, mouse, or pen/stylus contact.
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.

HoldingState Property

Gets the state of the Avalonia.Input.InputElement.HoldingEvent event.

public Avalonia.Input.HoldingState HoldingState { get; set; }

PointerType Property

Gets the pointer type of the input source.

public Avalonia.Input.PointerType PointerType { get; set; }

Position Property

Gets the location of the touch, mouse, or pen/stylus contact.

public Avalonia.Point Position { get; set; }