Share via


SetValueAction.PreferEdit Property

Gets or sets a value that indicates whether to use an edit operation for combo boxes instead of a select operation to set the value.

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

Syntax

'Declaration
Public Property PreferEdit As Boolean
public bool PreferEdit { get; set; }
public:
property bool PreferEdit {
    bool get ();
    void set (bool value);
}
member PreferEdit : bool with get, set
function get PreferEdit () : boolean 
function set PreferEdit (value : boolean)

Property Value

Type: Boolean
true to prefer edit; otherwise, false.

Remarks

Setting this property raises the PropertyChanged event.

.NET Framework Security

See Also

Reference

SetValueAction Class

Microsoft.VisualStudio.TestTools.UITest.Common Namespace

PropertyChanged