Share via


SetStateAction.States Property

Gets or sets the state settings.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Common
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)

Syntax

'Declaration
Public Property States As ControlStates
public ControlStates States { get; set; }
public:
property ControlStates States {
    ControlStates get ();
    void set (ControlStates value);
}
member States : ControlStates with get, set
function get States () : ControlStates 
function set States (value : ControlStates)

Property Value

Type: Microsoft.VisualStudio.TestTools.UITest.Extension.ControlStates
The state settings.

Remarks

Setting this property raises the PropertyChanged event.

.NET Framework Security

See Also

Reference

SetStateAction Class

Microsoft.VisualStudio.TestTools.UITest.Common Namespace

PropertyChanged

ControlStates