Freigeben über


DirectUIControl.State-Eigenschaft

Ruft ab oder legt den Zustand des Steuerelements fest.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting.DirectUIControls
Assembly:  Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (in Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll)

Syntax

'Declaration
Public Overridable Property State As ControlStates
public virtual ControlStates State { get; set; }
public:
virtual property ControlStates State {
    ControlStates get ();
    void set (ControlStates value);
}
abstract State : ControlStates with get, set 
override State : ControlStates with get, set
function get State () : ControlStates 
function set State (value : ControlStates)

Eigenschaftswert

Typ: Microsoft.VisualStudio.TestTools.UITest.Extension.ControlStates

.NET Framework-Sicherheit

Siehe auch

Referenz

DirectUIControl Klasse

Microsoft.VisualStudio.TestTools.UITesting.DirectUIControls-Namespace