Class UiObjectDescriptionBase
The base description of all WPF test objects.
public class UiObjectDescriptionBase : Description, ICloneable, IDescription
- Inheritance
-
UiObjectDescriptionBase
- Implements
- Derived
- Inherited Members
Constructors
UiObjectDescriptionBase()
Constructs a new instance of UiObjectDescriptionBase.
public UiObjectDescriptionBase()
Properties
AbsoluteLocation
This object's absolute coordinates relative to the screen (in pixels). 0,0 is always the top-left corner of the (primary) monitor.
public LocationProperty AbsoluteLocation { get; set; }
Property Value
AttachedText
The static text that is attached to a control.
public StringProperty AttachedText { get; set; }
Property Value
CanFocus
Indicates whether this object can receive the focus
public bool? CanFocus { get; set; }
Property Value
- bool?
FullNamePath
The full hierarchy of ObjectName with all parent objects.
public StringProperty FullNamePath { get; set; }
Property Value
FullType
The full type name of this object.
public StringProperty FullType { get; set; }
Property Value
IsEnabled
Indicates whether this object is enabled.
public bool? IsEnabled { get; set; }
Property Value
- bool?
IsFocused
Indicates whether this object has the focus.
public bool? IsFocused { get; set; }
Property Value
- bool?
IsVisible
Indicates whether this object is visible.
public bool? IsVisible { get; set; }
Property Value
- bool?
Location
This object's coordinates relative to the parent window (in pixels).
public LocationProperty Location { get; set; }
Property Value
NativeClass
This object's window class name.
public StringProperty NativeClass { get; set; }
Property Value
ObjectName
This object's name as set by the developer.
public StringProperty ObjectName { get; set; }
Property Value
Size
This object's size (in pixels).
public SizeProperty Size { get; set; }
Property Value
Text
The text associated with this object.
public StringProperty Text { get; set; }
Property Value
WindowTitleRegExp
The constant part of this window title.
public StringProperty WindowTitleRegExp { get; set; }