UITestControl.Enabled Property
Gets a value that indicates whether this control is enabled.
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public Overridable ReadOnly Property Enabled As Boolean
public virtual bool Enabled { get; }
public:
virtual property bool Enabled {
bool get ();
}
abstract Enabled : bool
override Enabled : bool
function get Enabled () : boolean
Property Value
Type: System.Boolean
true if this control is enabled; 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.