UITestControl.PropertyNames Class

Represents the names of the common properties in all UITestControl objects.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.TestTools.UITesting.UITestControl.PropertyNames
    Microsoft.VisualStudio.TestTools.UITesting.HtmlControls.HtmlControl.PropertyNames
    Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinControl.PropertyNames
    Microsoft.VisualStudio.TestTools.UITesting.WpfControls.WpfControl.PropertyNames

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

Syntax

'Declaration
Public MustInherit Class PropertyNames
public abstract class PropertyNames
public ref class PropertyNames abstract
[<AbstractClass>]
type PropertyNames =  class end
public abstract class PropertyNames

The UITestControl.PropertyNames type exposes the following members.

Constructors

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

Top

Methods

  Name Description
Public method Equals(Object) Determines whether the provided object is equal to the current instance. (Overrides Object.Equals(Object).)
Public methodStatic member Equals(Object, Object) Determines whether the provided objects are equal.
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. (Overrides Object.GetHashCode().)
Public method GetType Returns the Type of the control.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public methodStatic member ReferenceEquals Determines whether the two provided object references refer to the same instance.
Public method ToString Returns a string representation of this instance. (Overrides Object.ToString().)

Top

Fields

  Name Description
Public fieldStatic member BoundingRectangle Returns "BoundingRectangle".
Public fieldStatic member ClassName Returns "ClassName".
Public fieldStatic member ControlType Returns "ControlType".
Public fieldStatic member Enabled Returns "Enabled".
Public fieldStatic member Exists Returns "Exists".
Public fieldStatic member FriendlyName Returns "FriendlyName".
Public fieldStatic member HasFocus Returns "HasFocus".
Public fieldStatic member Instance Returns "Instance".
Public fieldStatic member IsTopParent Returns "IsTopParent".
Public fieldStatic member MaxDepth Returns "MaxDepth".
Public fieldStatic member Name Returns "Name".
Public fieldStatic member NativeElement Returns "NativeElement".
Public fieldStatic member QueryId Returns "QueryId".
Public fieldStatic member TechnologyName Returns "TechnologyName".
Public fieldStatic member TopParent Returns "TopParent".
Public fieldStatic member UITechnologyElement Returns "UITechnologyElement".
Public fieldStatic member WindowHandle Returns "WindowHandle".

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 Namespace

UITestControl