Represents a list 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.WpfList
Namespace:  Microsoft.VisualStudio.TestTools.UITesting.WpfControls
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
<CLSCompliantAttribute(True)> _
Public Class WpfList _
    Inherits WpfControl
[CLSCompliantAttribute(true)]
public class WpfList : WpfControl
[CLSCompliantAttribute(true)]
public ref class WpfList : public WpfControl
[<CLSCompliantAttribute(true)>]
type WpfList =  
    class 
        inherit WpfControl 
    end
public class WpfList extends WpfControl
The WpfList type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| .gif) | WpfList() | Initializes a new instance of the WpfList class. | 
| .gif) | WpfList(UITestControl) | Initializes a new instance of the WpfList class by using the provided parent control. | 
Top
Properties
| Name | Description | |
|---|---|---|
| .gif) | AcceleratorKey | (Inherited from WpfControl.) | 
| .gif) | AccessKey | (Inherited from WpfControl.) | 
| .gif) | AutomationId | (Inherited from WpfControl.) | 
| .gif) | BoundingRectangle | (Inherited from UITestControl.) | 
| .gif) | ClassName | (Inherited from UITestControl.) | 
| .gif) | Container | (Inherited from UITestControl.) | 
| .gif) | ControlType | (Inherited from UITestControl.) | 
| .gif) | Enabled | (Inherited from UITestControl.) | 
| .gif) | Exists | (Inherited from UITestControl.) | 
| .gif) | FilterProperties | (Inherited from UITestControl.) | 
| .gif) | Font | (Inherited from WpfControl.) | 
| .gif) | FrameworkId | (Inherited from WpfControl.) | 
| .gif) | FriendlyName | (Inherited from UITestControl.) | 
| .gif) | HasFocus | (Inherited from UITestControl.) | 
| .gif) | Height | (Inherited from UITestControl.) | 
| .gif) | HelpText | (Inherited from WpfControl.) | 
| .gif) | IsMultipleSelection | Gets a value that indicates whether this list control can have multiple selections. | 
| .gif) | IsTopParent | (Inherited from UITestControl.) | 
| .gif) | Items | Gets a collection of items in this list control. | 
| .gif) | ItemStatus | (Inherited from WpfControl.) | 
| .gif) | LabeledBy | (Inherited from WpfControl.) | 
| .gif) | Left | (Inherited from UITestControl.) | 
| .gif) | Name | (Inherited from UITestControl.) | 
| .gif) | NativeElement | (Inherited from UITestControl.) | 
| .gif) | SearchConfigurations | (Inherited from UITestControl.) | 
| .gif) | SearchProperties | (Inherited from UITestControl.) | 
| .gif) | SearchPropertiesSetExplicitly | (Inherited from UITestControl.) | 
| .gif) | SelectedIndices | Gets an array of indexes for the selected items in this list control. | 
| .gif) | SelectedItems | Gets or sets an array of the selected items in this list control. | 
| .gif) | SelectedItemsAsString | Gets or sets the selected items in this list control as a string. | 
| .gif) | State | (Inherited from UITestControl.) | 
| .gif) | TechnologyName | (Inherited from UITestControl.) | 
| .gif) | ToolTipText | (Inherited from WpfControl.) | 
| .gif) | Top | (Inherited from UITestControl.) | 
| .gif) | TopParent | (Inherited from UITestControl.) | 
| .gif) | Width | (Inherited from UITestControl.) | 
| .gif) | WindowHandle | (Inherited from UITestControl.) | 
| .gif) | 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
.gif)