XPath(ILogical, Boolean) Method

Definition

Assembly HeadlessTestingFramework.dll

Creates an XPath query engine for the logical tree.

public static TreeXPath XPath(this ILogical root, bool useVisualTree = false)

Parameters

root
Avalonia.LogicalTree.ILogical

The root logical.

useVisualTree
Boolean

Whether to search visual tree instead.

Returns

TreeXPath
An XPath query engine.