WinEdit Class
Represents an edit control to test the user interface (UI) of Windows Forms.
Inheritance Hierarchy
Object
Microsoft.VisualStudio.TestTools.UITesting.UITestControl
Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinControl
Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinEdit
Namespace: Microsoft.VisualStudio.TestTools.UITesting.WinControls
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
<CLSCompliantAttribute(True)> _
Public Class WinEdit _
Inherits WinControl
[CLSCompliantAttribute(true)]
public class WinEdit : WinControl
[CLSCompliantAttribute(true)]
public ref class WinEdit : public WinControl
[<CLSCompliantAttribute(true)>]
type WinEdit =
class
inherit WinControl
end
public class WinEdit extends WinControl
The WinEdit type exposes the following members.
Constructors
Name | Description | |
---|---|---|
WinEdit() | Initializes a new instance of the WinEdit class. | |
WinEdit(UITestControl) | Initializes a new instance of the WinEdit class by using the provided parent control. |
Top
Properties
Name | Description | |
---|---|---|
AccessibleDescription | Gets the description of the underlying IAccessible of this WinControl. (Inherited from WinControl.) | |
AccessKey | Gets the access key that is assigned to this control. (Inherited from WinControl.) | |
BoundingRectangle | (Inherited from UITestControl.) | |
ClassName | (Inherited from UITestControl.) | |
Container | (Inherited from UITestControl.) | |
ControlId | Gets the ID that is assigned to this control. (Inherited from WinControl.) | |
ControlName | Gets the name of this control. (Inherited from WinControl.) | |
ControlType | (Inherited from UITestControl.) | |
CopyPastedText | Gets or sets the text in the text box by using copy-paste. | |
CurrentLine | Gets the line number for the cursor position in a multiline edit control. | |
Enabled | (Inherited from UITestControl.) | |
Exists | (Inherited from UITestControl.) | |
FilterProperties | (Inherited from UITestControl.) | |
FriendlyName | (Inherited from UITestControl.) | |
HasFocus | (Inherited from UITestControl.) | |
Height | (Inherited from UITestControl.) | |
HelpText | Gets the help text that is assigned to this control. (Inherited from WinControl.) | |
InsertionIndexAbsolute | Gets or sets the character position of the caret that is relative to the first character in the control. | |
InsertionIndexLineRelative | Gets the column number of the caret position in the line that contains the caret. | |
IsPassword | Gets a value that indicates whether this edit control contains a password. | |
IsTopParent | (Inherited from UITestControl.) | |
Left | (Inherited from UITestControl.) | |
LineCount | Gets the number of lines in this edit control. | |
MaxLength | Gets the maximum number of characters that can be typed into this edit control. | |
Name | (Inherited from UITestControl.) | |
NativeElement | (Inherited from UITestControl.) | |
Password | Sets the encrypted text of this edit control. | |
ReadOnly | Gets a value that indicates whether this edit control is read-only. | |
SearchConfigurations | (Inherited from UITestControl.) | |
SearchProperties | (Inherited from UITestControl.) | |
SearchPropertiesSetExplicitly | (Inherited from UITestControl.) | |
SelectionEnd | Gets or sets the end point for selected text. | |
SelectionStart | Gets or sets the start point for selected text. | |
SelectionText | Gets or sets the content of the selected text. | |
State | (Inherited from UITestControl.) | |
TechnologyName | (Inherited from UITestControl.) | |
Text | Gets or sets the text in this edit control. | |
ToolTipText | (Inherited from WinControl.) | |
Top | (Inherited from UITestControl.) | |
TopParent | (Inherited from UITestControl.) | |
Width | (Inherited from UITestControl.) | |
WindowHandle | (Inherited from UITestControl.) | |
WindowTitles | (Inherited from UITestControl.) |
Top
Methods
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Microsoft.VisualStudio.TestTools.UITesting.WinControls Namespace