Skip to main content

XRBinding Members

A simple binding between the property value of an object and the property value of an instance of the XRControl class or one of its descendants.

Constructors

Name Description
XRBinding() Initializes a new instance of the XRBinding class with the default settings.
XRBinding(Parameter, String, String) Initializes a new instance of the XRBinding class with the specified parameter, property name and format string.
XRBinding(String, Object, String, String) Initializes a new instance of the XRBinding class with the specified property name, data source, data member and format string.
XRBinding(String, Object, String) Initializes a new instance of the XRBinding class with the specified property name, data source and data member.

Properties

Name Description
DataMember Gets a navigation path that resolves to the object’s property which is going to be bound to the control’s property.
DataSource Gets the data source for this binding.
FormatString Gets or sets the output format for the value bound to the control’s property.
Parameter For internal use. Gets the parameter for this binding.
PropertyName Gets the name of the control’s data-bound property.

Methods

Name Description
Assign(Object, String) Assigns the specified data source and a data member to the current data binding.
Create(String, Object, String, String) static Creates a new data binding object with the specified property name, data source, data member and format string.
Dispose() Disposes of the XRBinding object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns the textual representation of XRBinding.
See Also