Compartilhar via


WinControl.PropertyNames Class

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

Inheritance Hierarchy

Object
  Microsoft.VisualStudio.TestTools.UITesting.UITestControl.PropertyNames
    Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinControl.PropertyNames
      More...

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

Syntax

'Declaration
<CLSCompliantAttribute(True)> _
Public MustInherit Class PropertyNames _
    Inherits UITestControl.PropertyNames
[CLSCompliantAttribute(true)]
public abstract class PropertyNames : UITestControl.PropertyNames
[CLSCompliantAttribute(true)]
public ref class PropertyNames abstract : public UITestControl::PropertyNames
[<AbstractClass>]
[<CLSCompliantAttribute(true)>]
type PropertyNames =  
    class 
        inherit UITestControl.PropertyNames 
    end
public abstract class PropertyNames extends UITestControl.PropertyNames

The WinControl.PropertyNames type exposes the following members.

Constructors

  Name Description
Protected method WinControl.PropertyNames Initializes a new instance of the WinControl.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 the default hash function. (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 AccessibleDescription Gets the control's accessible description. Can be used for search. Data-Type: System.String
Public fieldStatic member AccessKey Returns "AccessKey".
Public fieldStatic member ControlId Returns "ControlId".
Public fieldStatic member ControlName Returns "ControlName".
Public fieldStatic member HelpText Returns "HelpText".

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

Inheritance Hierarchy

Object
  Microsoft.VisualStudio.TestTools.UITesting.UITestControl.PropertyNames
    Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinControl.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinButton.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinCalendar.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinCell.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinCheckBox.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinComboBox.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinDateTimePicker.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinEdit.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinHyperlink.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinList.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinListItem.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinMenu.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinMenuBar.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinMenuItem.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinProgressBar.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinRadioButton.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinRow.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinRowHeader.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinScrollBar.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinSlider.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinSpinner.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinStatusBar.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinTable.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinTabList.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinTabPage.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinText.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinTitleBar.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinToolBar.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinTree.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinTreeItem.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinWindow.PropertyNames