InputExtensions Class
Provides extension methods for input-related types.
public static class InputExtensions
- Inheritance:
- object object
Methods
IsPointerOver(PointerEventArgs, Visual)
Returns whether the pointer is over the specified target Avalonia.Visual.
public static bool IsPointerOver(this PointerEventArgs e, Visual targetVisual)
Parameter | Type | Description |
---|---|---|
e | PointerEventArgs | The Avalonia.Input.PointerEventArgs to examine. |
targetVisual | Visual | The target Avalonia.Visual. |
Returns
- bool:
true
if the pointer is over the target Avalonia.Visual; otherwise,false
.