WinList Class
Represents a list 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.WinList
Namespace: Microsoft.VisualStudio.TestTools.UITesting.WinControls
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
<CLSCompliantAttribute(True)> _
Public Class WinList _
Inherits WinControl
[CLSCompliantAttribute(true)]
public class WinList : WinControl
[CLSCompliantAttribute(true)]
public ref class WinList : public WinControl
[<CLSCompliantAttribute(true)>]
type WinList =
class
inherit WinControl
end
public class WinList extends WinControl
The WinList type exposes the following members.
Constructors
Name | Description | |
---|---|---|
WinList() | Initializes a new instance of the WinList class. | |
WinList(UITestControl) | Initializes a new instance of the WinList 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.) | |
CheckedIndices | Gets or sets an array of indexes for those items in the list that are selected. | |
CheckedItems | Gets or sets an array of list items that are checked. | |
ClassName | (Inherited from UITestControl.) | |
Columns | Gets the collection of columns in this list control. | |
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.) | |
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.) | |
HorizontalScrollBar | Gets or sets the horizontal scroll bar component of this list control. | |
IsCheckedList | Gets a value that indicates whether this list is a checked list. | |
IsIconView | Gets a value that indicates whether this list control is an icon-view. | |
IsListView | Gets a value that indicates whether this list is in list-view. | |
IsMultipleSelection | Gets a value that indicates whether this list is enabled for multiple selection. | |
IsReportView | Gets a value that indicates whether this list is in report view. | |
IsSmallIconView | Gets a value that indicates whether this list is in small icon-view. | |
IsTopParent | (Inherited from UITestControl.) | |
Items | Gets the collection of all items in this list. | |
Left | (Inherited from UITestControl.) | |
Name | (Inherited from UITestControl.) | |
NativeElement | (Inherited from UITestControl.) | |
SearchConfigurations | (Inherited from UITestControl.) | |
SearchProperties | (Inherited from UITestControl.) | |
SearchPropertiesSetExplicitly | (Inherited from UITestControl.) | |
SelectedIndices | Gets an array of indexes for the selected items in this list. | |
SelectedItems | Gets an array of the selected items in this list. | |
SelectedItemsAsString | Gets a string that contains a delimited list of all selected items in this list. | |
State | (Inherited from UITestControl.) | |
TechnologyName | (Inherited from UITestControl.) | |
ToolTipText | (Inherited from WinControl.) | |
Top | (Inherited from UITestControl.) | |
TopParent | (Inherited from UITestControl.) | |
VerticalScrollBar | Gets the vertical scrollbar component of this list. | |
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