This documentation is archived and is not being maintained.

UITestControl.PropertyNames Class

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

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

public abstract class PropertyNames

The UITestControl.PropertyNames type exposes the following members.

Protected methodUITestControl.PropertyNamesInitializes a new instance of the UITestControl.PropertyNames class.

Public methodEquals(Object)Determines whether the provided object is equal to the current instance. (Overrides Object.Equals(Object).)
Public methodStatic memberEquals(Object, Object)Determines whether the provided objects are equal.
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Overrides Object.GetHashCode.)
Public methodGetTypeReturns the Type of the control.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodStatic memberReferenceEqualsDetermines whether the two provided object references refer to the same instance.
Public methodToStringReturns a string representation of this instance. (Overrides Object.ToString.)

Public fieldStatic memberBoundingRectangleReturns "BoundingRectangle".
Public fieldStatic memberClassNameReturns "ClassName".
Public fieldStatic memberControlTypeReturns "ControlType".
Public fieldStatic memberEnabledReturns "Enabled".
Public fieldStatic memberExistsReturns "Exists".
Public fieldStatic memberFriendlyNameReturns "FriendlyName".
Public fieldStatic memberHasFocusReturns "HasFocus".
Public fieldStatic memberHeightGets the height of the control. Data type: System.Int32
Public fieldStatic memberInstanceReturns "Instance".
Public fieldStatic memberIsTopParentReturns "IsTopParent".
Public fieldStatic memberLeftGets the x-coordinate of the left edge of the control. Data type: System.Int32
Public fieldStatic memberMaxDepthReturns "MaxDepth".
Public fieldStatic memberNameReturns "Name".
Public fieldStatic memberNativeElementReturns "NativeElement".
Public fieldStatic memberQueryIdReturns "QueryId".
Public fieldStatic memberStateGets the state of the control. Data type: ControlStates
Public fieldStatic memberTechnologyNameReturns "TechnologyName".
Public fieldStatic memberTopGets the x-coordinate of the top edge of the control. Data type: System.Int32
Public fieldStatic memberTopParentReturns "TopParent".
Public fieldStatic memberUITechnologyElementReturns "UITechnologyElement".
Public fieldStatic memberWidthGets the width of the control. Data type: System.Int32
Public fieldStatic memberWindowHandleReturns "WindowHandle".

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.