Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SetFocus Method

UITestControl.SetFocus Method

Sets the keyboard focus to the UITestControl.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

public virtual void SetFocus()

Show:
© 2015 Microsoft