Exemplo n.º 1
0
 public List <AutomationElement> Descendants(AutomationSearchCondition automationSearchCondition)
 {
     return(AutomationElement.FindAllDescendants(automationSearchCondition.Condition).ToList());
 }
Exemplo n.º 2
0
 public List <AutomationElement> Children(AutomationSearchCondition automationSearchCondition)
 {
     return(AutomationElement.FindAllChildren(automationSearchCondition.Condition).ToList());
 }
Exemplo n.º 3
0
 public AutomationElement Descendant(AutomationSearchCondition automationSearchCondition)
 {
     return(AutomationElement.FindFirstDescendant(automationSearchCondition.Condition));
 }
Exemplo n.º 4
0
 public AutomationElement Child(AutomationSearchCondition automationSearchCondition)
 {
     return(AutomationElement.FindFirstChild(automationSearchCondition.Condition));
 }