System.Windows.Automation非常慢.
我执行:
element.FindAll(TreeScope.Children, Condition.TrueCondition);
在非常快的计算机上获得仅30个子元素可能需要1000ms.
我甚至看到它在QT应用程序中获取Tree的子元素时永远挂起.
这是一个已知的问题吗?谷歌搜索后我找不到任何有用的答案.
c# com ui-automation
c# ×1
com ×1
ui-automation ×1