Skip to main content

Pointer Class

Definition​

Namespace: Avalonia.Input
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public class Pointer : IPointer, IDisposable
View Source
InheritanceObject → Pointer
ImplementsIPointer, IDisposable

Constructors​

Pointer(Int32, PointerType, Boolean)Initializes a new instance of the Pointer class

Properties​

Captured 
Id 
IsGestureRecognitionSkipped 
IsPrimary 
Type 

Methods​

Capture(IInputElement) 
Dispose()Releases all resources used by the Pointer
Equals(Object)Determines whether the specified object is equal to the current object.
(Inherited from Object)
Finalize()Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCode()Serves as the default hash function.
(Inherited from Object)
GetNextFreeId() 
GetType()Gets the Type of the current instance.
(Inherited from Object)
MemberwiseClone()Creates a shallow copy of the current Object.
(Inherited from Object)
PlatformCapture(IInputElement) 
ToString()Returns a string that represents the current object.
(Inherited from Object)

See Also​

Reference​

Avalonia.Input Namespace