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 with get 
override Enabled : bool with get
function get Enabled () : boolean

Property Value

Type: Boolean
true if this control is enabled; otherwise, false.

.NET Framework Security

See Also

Reference

UITestControl Class

Microsoft.VisualStudio.TestTools.UITesting Namespace