Delen via


UITestControl.State Property

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

Syntax

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

Property Value

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

.NET Framework Security

See Also

Reference

UITestControl Class

Microsoft.VisualStudio.TestTools.UITesting Namespace