Пример #1
0
 public List <AutomationElement> Descendants(AutomationSearchCondition automationSearchCondition)
 {
     return(AutomationElement.FindAllDescendants(automationSearchCondition.Condition).ToList());
 }
Пример #2
0
 public List <AutomationElement> Children(AutomationSearchCondition automationSearchCondition)
 {
     return(AutomationElement.FindAllChildren(automationSearchCondition.Condition).ToList());
 }
Пример #3
0
 public AutomationElement Descendant(AutomationSearchCondition automationSearchCondition)
 {
     return(AutomationElement.FindFirstDescendant(automationSearchCondition.Condition));
 }
Пример #4
0
 public AutomationElement Child(AutomationSearchCondition automationSearchCondition)
 {
     return(AutomationElement.FindFirstChild(automationSearchCondition.Condition));
 }