IPointer Interface

Identifies specific pointer generated by input device.

Definition

Namespace: Avalonia.Input
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
[NotClientImplementableAttribute]
public interface IPointer

Remarks

Some devices, for instance, touchscreen might generate a pointer on each physical contact.

Properties

Captured Gets the control that is currently capturing by the pointer, if any.
Id Gets a unique identifier for the input pointer.
IsPrimary Gets a value that indicates whether the input is from the primary pointer when multiple pointers are registered.
Type Gets the pointer device type.

Methods

Capture(IInputElement) Captures pointer input to the specified control.

See Also