Partager via


UITestControl.Enabled, propriété

Obtient une valeur qui indique si le contrôle est activé.

Espace de noms :  Microsoft.VisualStudio.TestTools.UITesting
Assembly :  Microsoft.VisualStudio.TestTools.UITesting (dans Microsoft.VisualStudio.TestTools.UITesting.dll)

Syntaxe

'Déclaration
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

Valeur de propriété

Type : System.Boolean
true si le contrôle est activé ; sinon, false.

Sécurité .NET Framework

Voir aussi

Référence

UITestControl Classe

Microsoft.VisualStudio.TestTools.UITesting, espace de noms