Class
RadPropertyBinding

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

Definition

Namespace:Telerik.WinControls

Assembly:Telerik.WinControls.dll

Syntax:

cs-api-definition
public class RadPropertyBinding : ITwoWayPropertyBinding, IPropertyBinding

Inheritance: objectRadPropertyBinding

Implements: IPropertyBindingITwoWayPropertyBinding

Constructors

RadPropertyBinding(RadObject, RadProperty, RadProperty, PropertyBindingOptions)

Initializes a new instance of the RadPropertyBinding class.

Declaration

cs-api-definition
public RadPropertyBinding(RadObject bindingSourceObject, RadProperty fromProperty, RadProperty bindingSourceProperty, PropertyBindingOptions options)

Parameters

bindingSourceObject

RadObject

fromProperty

RadProperty

bindingSourceProperty

RadProperty

options

PropertyBindingOptions

Properties

BindingSourceObject

Gets the binding source.

Declaration

cs-api-definition
public RadObject BindingSourceObject { get; }

Property Value

RadObject

Methods

CanGetValueForProperty(RadProperty)

Declaration

cs-api-definition
public bool CanGetValueForProperty(RadProperty property)

Parameters

property

RadProperty

Returns

bool

Implements IPropertyBinding.CanGetValueForProperty(RadProperty)

GetValue()

Declaration

cs-api-definition
public object GetValue()

Returns

object

Implements IPropertyBinding.GetValue()

ResetValue()

Reset the bound properties

Declaration

cs-api-definition
public void ResetValue()

UpdateBindingSourceProperty(RadProperty, object)

Updates the binding source property.

Declaration

cs-api-definition
public void UpdateBindingSourceProperty(RadProperty boundProperty, object newValue)

Parameters

boundProperty

RadProperty

newValue

object

Implements ITwoWayPropertyBinding.UpdateBindingSourceProperty(RadProperty, object)