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

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

Property Value

Type: System.Boolean

true to prefer edit; otherwise, false.

Remarks

Setting this property raises the PropertyChanged event.

See Also

PropertyChanged
SetValueAction Class
Microsoft.VisualStudio.TestTools.UITest.Common Namespace

Return to top