0

AutomationElement が選択されているかどうかを確認します。次のコードを使用して AutomationElement オブジェクトを取得しました。

System.Windows.Point point = new System.Windows.Point(Cursor.Position.X, Cursor.Position.Y);
AutomationElement  element = AutomationElement.FromPoint(point);
//how to know element is selected or not
4

1 に答える 1