New to Telerik UI for WinFormsStart a free 30-day trial

Supports methods for general binding of properties of two RadObject instances.

Definition

Namespace:Telerik.WinControls

Assembly:Telerik.WinControls.dll

Syntax:

C#
public class RadPropertyBinding : ITwoWayPropertyBinding, IPropertyBinding

Inheritance: objectRadPropertyBinding

Implements: IPropertyBindingITwoWayPropertyBinding

Constructors

Initializes a new instance of the RadPropertyBinding class.

C#
public RadPropertyBinding(RadObject bindingSourceObject, RadProperty fromProperty, RadProperty bindingSourceProperty, PropertyBindingOptions options)
Parameters:bindingSourceObjectRadObjectfromPropertyRadPropertybindingSourcePropertyRadPropertyoptionsPropertyBindingOptions

Properties

Gets the binding source.

C#
public RadObject BindingSourceObject { get; }

Methods

C#
public bool CanGetValueForProperty(RadProperty property)
Parameters:propertyRadPropertyReturns:

bool

Implements: IPropertyBinding.CanGetValueForProperty(RadProperty)

C#
public object GetValue()
Returns:

object

Implements: IPropertyBinding.GetValue()

Reset the bound properties

C#
public void ResetValue()

Updates the binding source property.

C#
public void UpdateBindingSourceProperty(RadProperty boundProperty, object newValue)
Parameters:boundPropertyRadPropertynewValueobject

Implements: ITwoWayPropertyBinding.UpdateBindingSourceProperty(RadProperty, object)