UITestControl.HasFocus Property
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assemblies: Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (in Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll)
Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public Overridable ReadOnly Property HasFocus As Boolean
public virtual bool HasFocus { get; }
public:
virtual property bool HasFocus {
bool get ();
}
abstract HasFocus : bool with get
override HasFocus : bool with get
function get HasFocus () : boolean
Property Value
Type: Boolean
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.