public static AutomationElementCollection FindAll(this AutomationElement element, TreeScope treeScope, Condition condition) { return(element.FindAll(treeScope, condition)); }
public static AutomationElementCollection FindAllChildren(this AutomationElement element, Condition condition) { return(element.FindAll(TreeScope.Children, condition)); }