MSDN Library
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SetValueAsEditBoxOptions Enumeration

 

Represents the flag values for configuring how to set the value of an EditBox.

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

[FlagsAttribute]
public enum SetValueAsEditBoxOptions

Member nameDescription
All

Because EditBox can use a mix of values from this enumeration and SetValueAsComboBoxOptions, this option helps by removing only SetValueAsComboBoxOptions values from the option.

DeleteContent

Ensure that the EditBox is empty before you set the value.

DoNotVerify

Do not verify the final value.

None

Use the default.

UseCopyPaste

Use the clipboard to set the value in text by using CTRL+{Insert} to paste the value into the EditBox.

UseProgrammatic

Set the value programmatically.

UseSendKeys

Use EditBox to set the value of the EditBox.

UseWindowMessage

Use Windows message WM_SETTEXT to set the value of the EditBox. This can only be used with windowed controls.

Because a ComboBox also has a EditBox component, these flags can be combined with OR by using the SetValueAsComboBoxOptions values.

Return to top
Show:
© 2016 Microsoft