Class PropertyBinding
Represents a binding from a source property to a target property.
Namespace: ABB.Robotics.RobotStudio.Stations
Assembly: ABB.Robotics.RobotStudio.Stations.dll
Syntax
sistent("TPropertyBinding")]
public class PropertyBinding
Constructors
PropertyBinding(ProjectObject, String, ProjectObject, String)
Creates a new instance of the PropertyBinding class.
Declaration
public PropertyBinding(ProjectObject sourceObject, string sourceProperty, ProjectObject targetObject, string targetProperty)
Parameters
Type | Name | Description |
---|---|---|
ProjectObject | sourceObject | The object that contains the source property.
|
String | sourceProperty | The name of the source property. |
ProjectObject | targetObject | The object that contains the target property or signal. |
String | targetProperty | The name of the target property or signal.
|
PropertyBinding(ProjectObject, String, ProjectObject, String, Boolean)
Creates a new instance of the PropertyBinding class.
Declaration
public PropertyBinding(ProjectObject sourceObject, string sourceProperty, ProjectObject targetObject, string targetProperty, bool allowCycle)
Parameters
Type | Name | Description |
---|---|---|
ProjectObject | sourceObject | The object that contains the source property.
|
String | sourceProperty | The name of the source property. |
ProjectObject | targetObject | The object that contains the target property or signal. |
String | targetProperty | The name of the target property or signal.
|
Boolean | allowCycle | Indicates if the target property is allowed to be set twice in the same context. |
Properties
AllowCycle
Returns a value indicating if the target property is allowd to be set more than once in the same context
Declaration
public bool AllowCycle { get; }
Property Value
Type | Description |
---|---|
Boolean |
Parent
Declaration
public ProjectObject Parent { get; }
Property Value
Type | Description |
---|---|
ProjectObject |
SourceObject
Returns the object on which SourceProperty can be found
Declaration
public ProjectObject SourceObject { get; }
Property Value
Type | Description |
---|---|
ProjectObject |
SourceObjectName
Returns the name of the source object. Typically used for debugging if the object has been removed.
Declaration
public string SourceObjectName { get; set; }
Property Value
Type | Description |
---|---|
String |
SourceProperty
Returns the name of the property that acts as the binding source
Declaration
public string SourceProperty { get; }
Property Value
Type | Description |
---|---|
String |
TargetObject
Returns the object on which TargetProperty can be found
Declaration
public ProjectObject TargetObject { get; }
Property Value
Type | Description |
---|---|
ProjectObject |
TargetObjectName
Returns the name of the target object. Typically used for debugging if the object has been removed.
Declaration
public string TargetObjectName { get; set; }
Property Value
Type | Description |
---|---|
String |
TargetProperty
Returns the name of the property that acts as the binding target
Declaration
public string TargetProperty { get; }
Property Value
Type | Description |
---|---|
String |
Methods
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |
Overrides
Update()
Declaration
public void Update()