A reference to a property on an object.
Inheritance: PropertyDef
 public extern bool BindTo(PropertyRef source);
 /// <summary>Binds this property (the target) to the given property (the source).</summary>
 /// <param name="source">The source property to bind to.</param>
 /// <param name="mode">The binding mode.</param>
 /// <remarks>
 ///     The property can only be bound to one source.  
 ///     Calling this method with another source disposes of the original binding.
 /// </remarks>
 public void BindTo(PropertyRef source, BindingMode mode)
 {
     ClearBinding();
     propertyBinding = new PropertyBinding(source, this, mode);
 }
        /// <summary>Retrieves a singleton instance to the handle to the named property.</summary>
        /// <param name="propertyName">The name of the property to retrieve.</param>
        public PropertyRef GetPropertyRef(string propertyName)
        {
            // Return the the property-ref if an instance already exists.
            PropertyRef propertyRef = GetPropertyRefFromList(propertyName);
            if (propertyRef != null) return propertyRef;

            // Don't continue if the property does not exist.
            if (!Helper.Reflection.HasProperty(this, propertyName)) return null;

            // Create a new property-ref.
            propertyRef = new PropertyRef(this, propertyName);
            PropertyRefs.Add(propertyRef);

            // Finish up.
            return propertyRef;
        }