Share via


WinList.PropertyNames Class

Contains a field for each property of the WinList user interface (UI) testing control where each field is named for, and returns, the name of the corresponding property.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.TestTools.UITesting.UITestControl.PropertyNames
    Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinControl.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinList.PropertyNames

Namespace:  Microsoft.VisualStudio.TestTools.UITesting.WinControls
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

Syntax

'Declaration
Public MustInherit Class PropertyNames _
    Inherits WinControl..::..PropertyNames
public abstract class PropertyNames : WinControl..::..PropertyNames
public ref class PropertyNames abstract : public WinControl..::..PropertyNames
[<AbstractClass>]
type PropertyNames =  
    class
        inherit WinControl..::..PropertyNames
    end
public abstract class PropertyNames extends WinControl..::..PropertyNames

The WinList.PropertyNames type exposes the following members.

Constructors

  Name Description
Protected method WinList.PropertyNames Initializes a new instance of the WinList.PropertyNames class.

Top

Methods

  Name Description
Public method Equals(Object) Determines whether the provided object is equal to the current instance. (Inherited from UITestControl.PropertyNames.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from UITestControl.PropertyNames.)
Public method GetType Returns the Type of the control. (Inherited from UITestControl.PropertyNames.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string representation of this instance. (Inherited from UITestControl.PropertyNames.)

Top

Fields

  Name Description
Public fieldStatic member CheckedIndices Returns "CheckedIndices".
Public fieldStatic member CheckedItems Returns "CheckedItems".
Public fieldStatic member Columns Returns "Columns".
Public fieldStatic member HorizontalScrollBar Returns "HorizontalScrollBar".
Public fieldStatic member IsCheckedList Returns "IsCheckedList".
Public fieldStatic member IsIconView Returns "IsIconView".
Public fieldStatic member IsListView Returns "IsListView".
Public fieldStatic member IsMultipleSelection Returns "IsMultipleSelection".
Public fieldStatic member IsReportView Returns "IsReportView".
Public fieldStatic member IsSmallIconView Returns "IsSmallIconView".
Public fieldStatic member Items Returns "Items".
Public fieldStatic member SelectedIndices Returns "SelectedIndices".
Public fieldStatic member SelectedItems Returns "SelectedItems".
Public fieldStatic member SelectedItemsAsString Returns "SelectedItemsAsString".
Public fieldStatic member VerticalScrollBar Returns "VerticalScrollBar".

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

WinList

WinControl.PropertyNames