InputExtensionsGetInputElementsAt(IInputElement, Point, Boolean) Method
Returns the active input elements at a point on an
IInputElement.
Namespace: Avalonia.InputAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public static IEnumerable<IInputElement> GetInputElementsAt(
this IInputElement element,
Point p,
bool enabledElementsOnly = true
)
<ExtensionAttribute>
Public Shared Function GetInputElementsAt (
element As IInputElement,
p As Point,
Optional enabledElementsOnly As Boolean = true
) As IEnumerable(Of IInputElement)
[<ExtensionAttribute>]
static member GetInputElementsAt :
element : IInputElement *
p : Point *
?enabledElementsOnly : bool
(* Defaults:
let _enabledElementsOnly = defaultArg enabledElementsOnly true
*)
-> IEnumerable<IInputElement>
- element IInputElement
- The element to test.
- p Point
- The point on element.
- enabledElementsOnly Boolean (Optional)
- Whether to only return elements for which IsEffectivelyEnabled is true.
IEnumerableIInputElement
The active input elements found at the point, ordered topmost first.
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).