UITestControl.PropertyNames Class
Represents the names of the common properties in all UITestControl objects.
Inheritance Hierarchy
Object
Microsoft.VisualStudio.TestTools.UITesting.UITestControl.PropertyNames
Microsoft.VisualStudio.TestTools.UITesting.DirectUIControls.DirectUIControl.PropertyNames
Microsoft.VisualStudio.TestTools.UITesting.HtmlControls.HtmlControl.PropertyNames
Microsoft.VisualStudio.TestTools.UITesting.WindowsRuntimeControls.XamlControl.PropertyNames
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assemblies: Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (in Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll)
Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
<CLSCompliantAttribute(True)> _
Public MustInherit Class PropertyNames
[CLSCompliantAttribute(true)]
public abstract class PropertyNames
[CLSCompliantAttribute(true)]
public ref class PropertyNames abstract
[<AbstractClass>]
[<CLSCompliantAttribute(true)>]
type PropertyNames = class end
public abstract class PropertyNames
The UITestControl.PropertyNames type exposes the following members.
Constructors
Name | Description | |
---|---|---|
UITestControl.PropertyNames | Initializes a new instance of the UITestControl.PropertyNames class. |
Top
Methods
Name | Description | |
---|---|---|
Equals(Object) | Determines whether the provided object is equal to the current instance. (Overrides Object.Equals(Object).) | |
Equals(Object, Object) | Determines whether the provided objects are equal. | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Overrides Object.GetHashCode.) | |
GetType | Returns the Type of the control. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ReferenceEquals | Determines whether the two provided object references refer to the same instance. | |
ToString | Returns a string representation of this instance. (Overrides Object.ToString.) |
Top
Fields
Name | Description | |
---|---|---|
BoundingRectangle | Returns "BoundingRectangle". | |
ClassName | Returns "ClassName". | |
ControlType | Returns "ControlType". | |
Enabled | Returns "Enabled". | |
Exists | Returns "Exists". | |
FriendlyName | Returns "FriendlyName". | |
HasFocus | Returns "HasFocus". | |
Height | Gets the height of the control. Data type: System.Int32 | |
Instance | Returns "Instance". | |
IsTopParent | Returns "IsTopParent". | |
Left | Gets the x-coordinate of the left edge of the control. Data type: System.Int32 | |
MaxDepth | Returns "MaxDepth". | |
Name | Returns "Name". | |
NativeElement | Returns "NativeElement". | |
QueryId | Returns "QueryId". | |
State | Gets the state of the control. Data type: ControlStates | |
TechnologyName | Returns "TechnologyName". | |
Top | Gets the x-coordinate of the top edge of the control. Data type: System.Int32 | |
TopParent | Returns "TopParent". | |
UITechnologyElement | Returns "UITechnologyElement". | |
Width | Gets the width of the control. Data type: System.Int32 | |
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.