WinComboBox Class
Represents a combo box 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.WinComboBox
Namespace: Microsoft.VisualStudio.TestTools.UITesting.WinControls
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
<CLSCompliantAttribute(True)> _
Public Class WinComboBox _
Inherits WinControl
[CLSCompliantAttribute(true)]
public class WinComboBox : WinControl
[CLSCompliantAttribute(true)]
public ref class WinComboBox : public WinControl
[<CLSCompliantAttribute(true)>]
type WinComboBox =
class
inherit WinControl
end
public class WinComboBox extends WinControl
The WinComboBox type exposes the following members.
Constructors
Name | Description | |
---|---|---|
WinComboBox() | Initializes a new instance of the WinComboBox class. | |
WinComboBox(UITestControl) | Initializes a new instance of the WinComboBox 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.) | |
EditableItem | Gets or sets the name of the editable part of this combo box control. | |
Enabled | (Inherited from UITestControl.) | |
Exists | (Inherited from UITestControl.) | |
Expanded | Gets or sets a value that indicates whether the combo box control is expanded. | |
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.) | |
HorizontalScrollBar | Gets the horizontal scrollbar for the expanded part of the combo box control. | |
IsEditable | Gets a value that indicates whether this combo box control is editable. | |
IsTopParent | (Inherited from UITestControl.) | |
Items | Gets a collection of the items in the combo box control. | |
Left | (Inherited from UITestControl.) | |
Name | (Inherited from UITestControl.) | |
NativeElement | (Inherited from UITestControl.) | |
SearchConfigurations | (Inherited from UITestControl.) | |
SearchProperties | (Inherited from UITestControl.) | |
SearchPropertiesSetExplicitly | (Inherited from UITestControl.) | |
SelectedIndex | Gets or sets the index in the Items of the selected item. | |
SelectedItem | Gets or sets the selected item in this combo box control. | |
State | (Inherited from UITestControl.) | |
TechnologyName | (Inherited from UITestControl.) | |
ToolTipText | (Inherited from WinControl.) | |
Top | (Inherited from UITestControl.) | |
TopParent | (Inherited from UITestControl.) | |
VerticalScrollBar | Gets the vertical scroll bar for the expanded part of this combo box control. | |
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