Class VisualRelation
Class representing Visual Relations Identifier (VRI) data. Each VisualRelation class contains a reference to a test object, and up to three possible relations: horizontal relation, vertical relation, and proximity relation.
public class VisualRelation : ICloneable
- Inheritance
-
VisualRelation
- Implements
- Inherited Members
Remarks
See the Help Center for for a diagram that illustrates how visual relations are interpreted and the boundaries that are used for determining in-line related objects.
Constructors
VisualRelation()
Initializes a new instance of the VisualRelation class with null values for all 3 relation elements.
public VisualRelation()
Properties
HorizontalRelation
The horizontal relation definition.
public HorizontalVisualRelation? HorizontalRelation { get; set; }
Property Value
ProximityRelation
The proximity relation definition.
public ProximityVisualRelation? ProximityRelation { get; set; }
Property Value
TestObject
The related test object.
public ITestObject TestObject { get; set; }
Property Value
VerticalRelation
The vertical relation definition.
public VerticalVisualRelation? VerticalRelation { get; set; }
Property Value
Methods
Clone()
Creates an exact copy of this object.
public object Clone()
Returns
- object
a deep copy of the instance.