Relation Class
This ILocator helps distinguish an IAIObject that may appear multiple times in the application by its relation with respect to other objects in the view.

C# Syntax

public class Relation
Public Constructors
 NameDescription
Public ConstructorRelation Constructor

Constructs a new Relation that can be used to uniquely identify an IAIObject by its visual relation.

C# Syntax

public Relation ()
Public ConstructorRelation Constructor (Direction, int)

Constructs a new Relation that can be used to uniquely identify an IAIObject by its visual relation.

C# Syntax

public Relation (RelationType relationType, IAIObject anchor)

Parameters

relationType

The relation type with respect to the IAIObject.

anchor
The IAIObject which has a visual relation with respect to the object to be identified.
Top
Public Methods
 NameDescription
Public MethodGetProperties

Returns the inner properties of this property.  

C# Syntax

public IDictionary<string,object> GetProperties()
Top
Public Properties
 NameDescription
Public PropertyRelationType

The relation type with respect to the IAIObject.

C# Syntax

public RelationType RelationType {get; set;}
Public PropertyAnchor

The IAIObject which has a visual relation with respect to the object to be identified.

C# Syntax

public IAIObject Anchor {get; set;}
Top