Skip to main content

Pointer Class

Definition​

Namespace:Avalonia.Input
Assembly:Avalonia.Base
Package:Avalonia
Source:Pointer.cs
public class Pointer

Inheritance: object -> Pointer

Implements: IPointer, IDisposable

Constructors​

NameDescription
PointerNo summary available.

Pointer Constructor​

public Pointer(int id, Avalonia.Input.PointerType type, bool isPrimary)

Parameters​

id int

type Avalonia.Input.PointerType

isPrimary bool

Methods​

NameDescription
CaptureNo summary available.
DisposeNo summary available.
GetNextFreeIdNo summary available.

Capture Method​

public void Capture(Avalonia.Input.IInputElement control)

Parameters​

control Avalonia.Input.IInputElement

Dispose Method​

public void Dispose()

GetNextFreeId Method​

public int GetNextFreeId()

Returns​

int

Properties​

NameDescription
CapturedNo summary available.
IdNo summary available.
IsGestureRecognitionSkippedNo summary available.
IsPrimaryNo summary available.
TypeNo summary available.

Captured Property​

public Avalonia.Input.IInputElement Captured { get; set; }

Id Property​

public int Id { get; set; }

IsGestureRecognitionSkipped Property​

public bool IsGestureRecognitionSkipped { get; set; }

IsPrimary Property​

public bool IsPrimary { get; set; }

Type Property​

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