Class Relation
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.
public class Relation : ILocator
- Inheritance
-
Relation
- Implements
- Inherited Members
Constructors
Relation()
Constructs a new Relation that can be used to uniquely identify an IAIObject by its visual relation.
public Relation()
Relation(RelationType, IAIObject)
Constructs a new Relation that can be used to uniquely identify an IAIObject by its visual relation.
public Relation(RelationType relationType, IAIObject anchor)
Parameters
relationTypeRelationTypeThe relation type with respect to the IAIObject.
anchorIAIObjectThe IAIObject which has a visual relation with respect to the object to be identified.
Properties
Anchor
The IAIObject which has a visual relation with respect to the object to be identified.
public IAIObject Anchor { get; set; }
Property Value
RelationType
The relation type with respect to the IAIObject.
public RelationType RelationType { get; set; }
Property Value
Methods
GetProperties()
Returns the inner properties of this property.
public IDictionary<string, object> GetProperties()