I am using UIAutomation
with the method
System.Windows.Automation.AutomationElement.FromPoint(System.Windows.Point)
to get the element by the mouse cursor, but I cannot find the type System.Windows.Point
. I looked up object library and it is still unseen.
I am using .Net Framework 4.5.
System.Windows.Point
is part of WPF, if you're trying to do this in a WinForms app, it's not supported. – Caseose