WpfComboBox Class
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Represents a combo box control to test the user interface (UI) of Windows Presentation Foundation (WPF) applications.
Inheritance Hierarchy
Object
Microsoft.VisualStudio.TestTools.UITesting.UITestControl
Microsoft.VisualStudio.TestTools.UITesting.WpfControls.WpfControl
Microsoft.VisualStudio.TestTools.UITesting.WpfControls.WpfComboBox
Namespace: Microsoft.VisualStudio.TestTools.UITesting.WpfControls
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
<CLSCompliantAttribute(True)> _
Public Class WpfComboBox _
Inherits WpfControl
[CLSCompliantAttribute(true)]
public class WpfComboBox : WpfControl
[CLSCompliantAttribute(true)]
public ref class WpfComboBox : public WpfControl
[<CLSCompliantAttribute(true)>]
type WpfComboBox =
class
inherit WpfControl
end
public class WpfComboBox extends WpfControl
The WpfComboBox type exposes the following members.
Constructors
Name | Description | |
---|---|---|
WpfComboBox() | Initializes a new instance of the WpfComboBox class. | |
WpfComboBox(UITestControl) | Initializes a new instance of the WpfComboBox class by using the provided parent control. |
Top
Properties
Name | Description | |
---|---|---|
AcceleratorKey | (Inherited from WpfControl.) | |
AccessKey | (Inherited from WpfControl.) | |
AutomationId | (Inherited from WpfControl.) | |
BoundingRectangle | (Inherited from UITestControl.) | |
ClassName | (Inherited from UITestControl.) | |
Container | (Inherited from UITestControl.) | |
ControlType | (Inherited from UITestControl.) | |
EditableItem | Gets or sets the contents of the editable part of this combo box. | |
Enabled | (Inherited from UITestControl.) | |
Exists | (Inherited from UITestControl.) | |
Expanded | Gets or sets a value that indicates whether the list part of this combo box is expanded. | |
FilterProperties | (Inherited from UITestControl.) | |
Font | (Inherited from WpfControl.) | |
FrameworkId | (Inherited from WpfControl.) | |
FriendlyName | (Inherited from UITestControl.) | |
HasFocus | (Inherited from UITestControl.) | |
Height | (Inherited from UITestControl.) | |
HelpText | (Inherited from WpfControl.) | |
HorizontalScrollBar | Gets the horizontal scroll bar for this combo box control. | |
IsEditable | Gets a value that indicates whether this combo box is editable. | |
IsTopParent | (Inherited from UITestControl.) | |
Items | Gets a collection of items in the list part of this combo box. | |
ItemStatus | (Inherited from WpfControl.) | |
LabeledBy | (Inherited from WpfControl.) | |
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 of the selected item in the list part of this combo box. | |
SelectedItem | Gets or sets the contents of the selected item in the list part of this combo box. | |
State | (Inherited from UITestControl.) | |
TechnologyName | (Inherited from UITestControl.) | |
ToolTipText | (Inherited from WpfControl.) | |
Top | (Inherited from UITestControl.) | |
TopParent | (Inherited from UITestControl.) | |
VerticalScrollBar | Gets the vertical scroll bar for the list part of this combo box. | |
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.WpfControls Namespace