DirectUIControl.State Property
Gets or sets the state of the control.
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)
Property Value
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.ControlStates
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.TestTools.UITesting.DirectUIControls Namespace