IPointer Interface
Not client implementable.
Note: This interface is not client implementable. You need to enable PrivateApi if you want to implement this interface.
Identifies specific pointer generated by input device.
Definition
Namespace: Avalonia.Input
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
[NotClientImplementableAttribute]
public interface IPointer
<NotClientImplementableAttribute>
Public Interface IPointer
[<NotClientImplementableAttribute>]
type IPointer = interface end
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. |