GetInputElementsAt(IInputElement, Point) Method
Returns the active input elements at a point on an IInputElement.
Definition
Namespace: Avalonia.Input
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public static IEnumerable<IInputElement> GetInputElementsAt(
this IInputElement element,
Point p
)
<ExtensionAttribute>
Public Shared Function GetInputElementsAt (
element As IInputElement,
p As Point
) As IEnumerable(Of IInputElement)
[<ExtensionAttribute>]
static member GetInputElementsAt :
element : IInputElement *
p : Point -> IEnumerable<IInputElement>
Parameters
- IInputElement
- The element to test.
- Point
- The point on element.
Return Value
IEnumerable(IInputElement)
The active input elements found at the point, ordered topmost first.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IInputElement. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also
Reference
InputExtensions Class
GetInputElementsAt Overload
Avalonia.Input Namespace