ExistsXPath(Visual, String) Method

Definition

Assembly HeadlessTestingFramework.dll

Checks if any nodes match the XPath expression.

public static bool ExistsXPath(this Visual root, string xpath)

Parameters

root
Avalonia.Visual

The root visual.

xpath
String

The XPath expression.

Returns

Boolean
True if any nodes match.