The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
UITechnologyManagerProxy::GetFocusedElement Method (IntPtr)
Gets the focused element that is the element that will receive keyboard events at this instance.
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Parameters
- handle
-
Type:
System::IntPtr
The handle of the window which has the focus.
Return Value
Type: Microsoft.VisualStudio.TestTools.UITest.Extension::IUITechnologyElement^The element that has the focus or null if there is no element that has focus.
Show: