Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Gets a value that indicates whether this control currently has the focus in the user interface.
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assembly: 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
true if this control currently has the focus in the user interface; otherwise, false.
.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.