-
Home
-
API
-
Avalonia.HeadlessTestingFramework
-
TreeXPathExtensions
-
Methods
-
SelectXPath(Visual, String)
SelectXPath(Visual, String) Method
Definition
Selects nodes using XPath expression from visual tree.
public static IEnumerable<T> SelectXPath<T>(this Visual root, string xpath)
where T : class
Type parameters
- T
- The type to cast results to.
Parameters
- xpath
- String
The XPath expression.
Returns