Partager via


UITestControl.PropertyNames.State Field

Gets the state of the control.

Data type: ControlStates

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 Shared ReadOnly State As String
public static readonly string State
public:
static initonly String^ State
static val State: string
public static final var State : String

.NET Framework Security

See Also

Reference

UITestControl.PropertyNames Class

Microsoft.VisualStudio.TestTools.UITesting Namespace