Creates a TreeXPath query engine for a logical root.
public TreeXPath(ILogical root, bool useVisualTree = false)
The root logical.
Whether to search visual tree instead of logical.